- Update to 0.6.2

- Install script via port's Makefile instead of USE_PYDISTUTILS
- Manual page is no longer included in the distribution;
  building it from SGML source requires Jade and docbook2man;
  in order to avoid adding quite heavy dependecies for this simple
  utility, we now install SGML and associated Makefile to DOCSDIR
  for those who want to build the man page manually
This commit is contained in:
Sergei Kolobov 2006-09-22 08:08:12 +00:00
parent 357ccbe2f0
commit feaba1c5d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173579
4 changed files with 13 additions and 25 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= archivemail
PORTVERSION= 0.6.1
PORTREVISION= 1
PORTVERSION= 0.6.2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -16,20 +15,18 @@ MAINTAINER= sergei@FreeBSD.org
COMMENT= Search mailbox files and archive or delete mail older than N days
USE_PYTHON= yes
USE_PYDISTUTILS=yes
NO_BUILD= yes
MAN1= archivemail.1
DOCS= CHANGELOG FAQ README TODO
DOCS= CHANGELOG FAQ Makefile README TODO archivemail.sgml
EXAMPLES= test_archivemail.py examples/archivemail_all
post-install:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/archivemail.py ${PREFIX}/bin/archivemail
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/archivemail_all ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test_archivemail.py ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (archivemail-0.6.1.tar.gz) = aaf071effc9576cc14f3b0eee1d2321e
SHA256 (archivemail-0.6.1.tar.gz) = a2f7fa9cf021ca266850f9ef2700fe7d8d01550f17930f479d17e304b94c610a
SIZE (archivemail-0.6.1.tar.gz) = 34874
MD5 (archivemail-0.6.2.tar.gz) = 1675f76b6415b046b85cff4e7ce69a3d
SHA256 (archivemail-0.6.2.tar.gz) = 70d44fef33290679b461b5475445ab33e55f8700e1d20d842b861eddb845d359
SIZE (archivemail-0.6.2.tar.gz) = 34995

View file

@ -1,11 +0,0 @@
--- archivemail.orig Wed Mar 17 01:31:23 2004
+++ archivemail Wed Mar 17 01:46:48 2004
@@ -757,7 +757,7 @@
# files in the maildir 'cur' directory are no longer new,
# they are the same as messages with 'Status: O' headers in mbox
- (None, last_dir) = os.path.split(os.path.dirname(message.fp.name))
+ (foo, last_dir) = os.path.split(os.path.dirname(message.fp.name))
if last_dir == "cur":
status = status + "O"

View file

@ -2,8 +2,10 @@
bin/archivemail
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/Makefile
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/archivemail.sgml
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%EXAMPLESDIR%%/archivemail_all
%%EXAMPLESDIR%%/test_archivemail.py