diff options
-rw-r--r-- | mail/archivemail/Makefile | 13 | ||||
-rw-r--r-- | mail/archivemail/pkg-plist | 8 |
2 files changed, 21 insertions, 0 deletions
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile index 33d4d78300ab..8998daa9b3c0 100644 --- a/mail/archivemail/Makefile +++ b/mail/archivemail/Makefile @@ -7,6 +7,7 @@ PORTNAME= archivemail PORTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,5 +18,17 @@ USE_PYTHON= yes USE_PYDISTUTILS=yes MAN1= archivemail.1 +DOCS= CHANGELOG FAQ README TODO + +post-install: + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/archivemail_all ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/test_archivemail.py ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif .include <bsd.port.mk> diff --git a/mail/archivemail/pkg-plist b/mail/archivemail/pkg-plist index edf9549516fa..185972d7dfce 100644 --- a/mail/archivemail/pkg-plist +++ b/mail/archivemail/pkg-plist @@ -1 +1,9 @@ bin/archivemail +%%PORTDOCS%%share/doc/archivemail/CHANGELOG +%%PORTDOCS%%share/doc/archivemail/FAQ +%%PORTDOCS%%share/doc/archivemail/README +%%PORTDOCS%%share/doc/archivemail/TODO +%%PORTDOCS%%@dirrm share/doc/archivemail +share/examples/archivemail/archivemail_all +share/examples/archivemail/test_archivemail.py +@dirrm share/examples/archivemail |