aboutsummaryrefslogtreecommitdiff
path: root/mail/annoyance-filter/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-04-05 16:27:13 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-04-05 16:27:13 +0000
commit07d76bdb5652a7fd49840f1c8fa2e4ed6f4bd20f (patch)
treead77831c93002b44f36673abc3f5be7bc6c2c8fb /mail/annoyance-filter/Makefile
parent01f1eb976a0e56ce213b3fd920ef80259dd3a433 (diff)
downloadports-07d76bdb5652a7fd49840f1c8fa2e4ed6f4bd20f.tar.gz
ports-07d76bdb5652a7fd49840f1c8fa2e4ed6f4bd20f.zip
Notes
Diffstat (limited to 'mail/annoyance-filter/Makefile')
-rw-r--r--mail/annoyance-filter/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/mail/annoyance-filter/Makefile b/mail/annoyance-filter/Makefile
index 9dc116eac9f4..d0e6ff8d5b50 100644
--- a/mail/annoyance-filter/Makefile
+++ b/mail/annoyance-filter/Makefile
@@ -11,12 +11,19 @@ MASTER_SITES= SF/annoyancefilter/annoyancefilter/${PORTVERSION} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Adaptive Bayesian Junk Mail Filter
+LICENSE= PD GPLv2+
+LICENSE_COMB= multi
+LICENSE_FILE_PD= ${WRKSRC}/COPYING
+LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GNU
+
USE_GCC= yes
GNU_CONFIGURE= yes
-DOCS= COPYING INSTALL README *.pdf
+PORTDOCS= INSTALL README *.pdf
-CFLAGS= ${CPPFLAGS}
+PLIST_FILES= bin/annoyance-filter \
+ bin/annoyance-filter-run \
+ man/man1/annoyance-filter.1.gz
OPTIONS_DEFINE= DOCS
@@ -24,7 +31,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-run ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>