aboutsummaryrefslogtreecommitdiffstats
path: root/mail/archivemail
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-08 17:01:30 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-08 17:01:30 +0800
commit10bd31ceecff5d3f17d16b08ea9bf44b3ae8325a (patch)
tree11be40d76a18854970701da4796c2a5c02193b0d /mail/archivemail
parente0d523c057cfe1bc986bf8a83fc9145b8db4f739 (diff)
downloadfreebsd-ports-gnome-10bd31ceecff5d3f17d16b08ea9bf44b3ae8325a.tar.gz
freebsd-ports-gnome-10bd31ceecff5d3f17d16b08ea9bf44b3ae8325a.tar.zst
freebsd-ports-gnome-10bd31ceecff5d3f17d16b08ea9bf44b3ae8325a.zip
- Add LICENSE
- Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'mail/archivemail')
-rw-r--r--mail/archivemail/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/archivemail/Makefile b/mail/archivemail/Makefile
index d31f71943bcf..fde62a32c1d4 100644
--- a/mail/archivemail/Makefile
+++ b/mail/archivemail/Makefile
@@ -10,8 +10,12 @@ MASTER_SITES= SF/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Archive or delete mail older than N days
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= python
NO_BUILD= yes
+NO_ARCH= yes
DOCS= CHANGELOG FAQ NEWS README TODO
EXAMPLES= test_archivemail examples/archivemail_all
@@ -21,8 +25,12 @@ OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/archivemail ${STAGEDIR}${PREFIX}/bin/archivemail
${INSTALL_MAN} ${WRKSRC}/archivemail.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_SCRIPT} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}