aboutsummaryrefslogtreecommitdiff
path: root/mail/archivemail
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-09-16 14:41:31 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-09-16 14:41:31 +0000
commit1dc703cb56f0d3ff06e399537c2224cd73cd1293 (patch)
treede31f0a064566350a436088bb3994f17d93b9f90 /mail/archivemail
parent39d5845adfc47c87e9379f0dfbbe10f083d85c26 (diff)
downloadports-1dc703cb56f0d3ff06e399537c2224cd73cd1293.tar.gz
ports-1dc703cb56f0d3ff06e399537c2224cd73cd1293.zip
Notes
Diffstat (limited to 'mail/archivemail')
-rw-r--r--mail/archivemail/Makefile13
-rw-r--r--mail/archivemail/pkg-plist8
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