diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-04-05 15:56:36 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-04-05 15:56:36 +0000 |
commit | b3e385368155b83d5e4ed28de13d507b4b873d8a (patch) | |
tree | 05931a304ac9d1af1989051ba895633fdea2b109 /mail/anomy-sanitizer | |
parent | 7e89a59162d9a79fddc819583b61c8c964ba43a5 (diff) | |
download | ports-b3e385368155b83d5e4ed28de13d507b4b873d8a.tar.gz ports-b3e385368155b83d5e4ed28de13d507b4b873d8a.zip |
Notes
Diffstat (limited to 'mail/anomy-sanitizer')
-rw-r--r-- | mail/anomy-sanitizer/Makefile | 16 | ||||
-rw-r--r-- | mail/anomy-sanitizer/pkg-plist | 4 |
2 files changed, 9 insertions, 11 deletions
diff --git a/mail/anomy-sanitizer/Makefile b/mail/anomy-sanitizer/Makefile index 25cb76afacae..cc38f00b9316 100644 --- a/mail/anomy-sanitizer/Makefile +++ b/mail/anomy-sanitizer/Makefile @@ -10,11 +10,16 @@ MASTER_SITES= http://mailtools.anomy.net/dist/ MAINTAINER= ports@FreeBSD.org COMMENT= Sanitize and clean incoming/outgoing mail +LICENSE= GPLv2+ + USES= perl5 shebangfix SHEBANG_FILES= bin/sanitizer.pl bin/simplify.pl NO_BUILD= yes +NO_ARCH= yes WRKSRC= ${WRKDIR}/anomy -DOCS= CHANGELOG.sanitizer CREDITS README.sanitizer sanitizer.html + +PORTDOCS= CHANGELOG.sanitizer CREDITS README.sanitizer sanitizer.html UNICODE.TXT + OPTIONS_DEFINE= DOCS do-install: @@ -29,13 +34,10 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/bin/Anomy/Sanitizer/Scoring.pm ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/Anomy/Sanitizer/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/sanitizer.pl ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/simplify.pl ${STAGEDIR}${PREFIX}/bin - -post-install: ${INSTALL_DATA} ${FILESDIR}/sanitizer.cfg.sample ${STAGEDIR}${PREFIX}/etc/ - @${ECHO_MSG} "" - @${ECHO_MSG} "Sample config installed at ${PREFIX}/etc/sanitizer.cfg.sample" - @${ECHO_MSG} "" + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/mail/anomy-sanitizer/pkg-plist b/mail/anomy-sanitizer/pkg-plist index 5e90a8900f97..10fb366729c2 100644 --- a/mail/anomy-sanitizer/pkg-plist +++ b/mail/anomy-sanitizer/pkg-plist @@ -9,7 +9,3 @@ bin/simplify.pl %%SITE_PERL%%/Anomy/Sanitizer/FileTypes.pm %%SITE_PERL%%/Anomy/Sanitizer/MacroScanner.pm %%SITE_PERL%%/Anomy/Sanitizer/Scoring.pm -%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.sanitizer -%%PORTDOCS%%%%DOCSDIR%%/CREDITS -%%PORTDOCS%%%%DOCSDIR%%/README.sanitizer -%%PORTDOCS%%%%DOCSDIR%%/sanitizer.html |