From 07d76bdb5652a7fd49840f1c8fa2e4ed6f4bd20f Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 5 Apr 2016 16:27:13 +0000 Subject: - Add LICENSE - Switch to options helpers - Regenerate patches with `make makepatch` --- mail/annoyance-filter/Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'mail/annoyance-filter/Makefile') 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 -- cgit v1.2.3