diff options
Diffstat (limited to 'mail/archivemail/Makefile')
-rw-r--r-- | mail/archivemail/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile index 5b4929d7e463..67caf522d554 100644 --- a/mail/archivemail/Makefile +++ b/mail/archivemail/Makefile @@ -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> |