diff options
author | alane <alane@FreeBSD.org> | 2002-09-16 22:41:31 +0800 |
---|---|---|
committer | alane <alane@FreeBSD.org> | 2002-09-16 22:41:31 +0800 |
commit | 0622ac4bb28b93f236c9f73cfe0968b6259bbfb1 (patch) | |
tree | bf633d30238822e72033c877da154f6ab59a069c | |
parent | f944d2fd52eafb8b03373426f268b5dfcea8e787 (diff) | |
download | freebsd-ports-gnome-0622ac4bb28b93f236c9f73cfe0968b6259bbfb1.tar.gz freebsd-ports-gnome-0622ac4bb28b93f236c9f73cfe0968b6259bbfb1.tar.zst freebsd-ports-gnome-0622ac4bb28b93f236c9f73cfe0968b6259bbfb1.zip |
Install examples and docs.
PR: ports/42824
Submitted by: Sergei Kolobov <sergei@kolobov.com>
-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 |