aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-31 20:20:43 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-31 20:20:43 +0800
commitaa49778b6bf8b1ebfcf3e832a19c5f1690e597cf (patch)
tree3154001ea9bbf246cb9cdded93f64f712e37835e /mail
parentfb73e81fefe24887b9ff7b7f747f9eeefdd73e58 (diff)
downloadfreebsd-ports-gnome-aa49778b6bf8b1ebfcf3e832a19c5f1690e597cf.tar.gz
freebsd-ports-gnome-aa49778b6bf8b1ebfcf3e832a19c5f1690e597cf.tar.zst
freebsd-ports-gnome-aa49778b6bf8b1ebfcf3e832a19c5f1690e597cf.zip
- Fix LICENSE
- Add LICENSE_FILE - Add NO_ARCH - Don't install examples as docs - Switch to options helpers
Diffstat (limited to 'mail')
-rw-r--r--mail/pm-lib/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/mail/pm-lib/Makefile b/mail/pm-lib/Makefile
index 80376be4d936..24198b190410 100644
--- a/mail/pm-lib/Makefile
+++ b/mail/pm-lib/Makefile
@@ -11,25 +11,33 @@ DISTNAME= procmail-lib-2009.1202
MAINTAINER= ports@FreeBSD.org
COMMENT= Collection of procmail plug-in modules
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/doc/license/COPYING.GNU-GPL
RUN_DEPENDS= procmail:mail/procmail
NO_BUILD= yes
+NO_ARCH= yes
+
PORTDOCS= *
+PORTEXAMPLES= *
PORTDATA= *
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/lib/pm-*.rc ${STAGEDIR}${DATADIR}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/lib/ChangeLog ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/article/index.txt \
${STAGEDIR}${DOCSDIR}/README.txt
${INSTALL_DATA} ${WRKSRC}/doc/manual/index.txt \
${STAGEDIR}${DOCSDIR}/manual.txt
- cd ${WRKSRC}/doc/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
+ @cd ${WRKSRC}/doc/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>