aboutsummaryrefslogtreecommitdiff
path: root/mail/scam-backscatter
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-24 11:49:48 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-24 11:49:48 +0000
commitf89d96542abca7945e1c6e90f83ea23ff06cc1e8 (patch)
treeb0dc10f6df6fb2ad1c519084f129661ac1bca3f9 /mail/scam-backscatter
parentf4a709cfe097c32a3e0c4e3cc529e7fbb0f0b428 (diff)
downloadports-f89d96542abca7945e1c6e90f83ea23ff06cc1e8.tar.gz
ports-f89d96542abca7945e1c6e90f83ea23ff06cc1e8.zip
Notes
Diffstat (limited to 'mail/scam-backscatter')
-rw-r--r--mail/scam-backscatter/Makefile17
-rw-r--r--mail/scam-backscatter/pkg-plist2
2 files changed, 11 insertions, 8 deletions
diff --git a/mail/scam-backscatter/Makefile b/mail/scam-backscatter/Makefile
index 08c6c90ac213..75bd63f69c11 100644
--- a/mail/scam-backscatter/Makefile
+++ b/mail/scam-backscatter/Makefile
@@ -7,17 +7,20 @@ CATEGORIES= mail
MASTER_SITES= http://www.elandsys.com/scam/scam-backscatter/ \
http://dist.epipe.com/mirrors/scam-backscatter/
DISTNAME= scamback-${PORTVERSION}
-EXTRACT_SUFX= .tgz
+
+LICENSE= BSD4CLAUSE
+LICENSE_FILE= ${WRKSRC}/License
MAINTAINER= snabb@epipe.com
COMMENT= Address verification milter to prevent spam backscatter
+USES= tar:tgz
WRKSRC= ${WRKDIR}/scamback
USE_RC_SUBR= scam-backscatter
SUB_FILES= pkg-message
MAKEFILE= Makefile.freebsd
-ALL_TARGET=
+ALL_TARGET= # empty
OPTIONS_DEFINE= ALLDOMAINS EHLO USEMAILERTABLE DOCS
ALLDOMAINS_DESC= Verify any domain with the backend
@@ -51,11 +54,13 @@ post-patch:
${WRKSRC}/scam-back.c
do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail
${INSTALL_PROGRAM} ${WRKSRC}/scam-back ${STAGEDIR}${PREFIX}/libexec/scam-back
${INSTALL_DATA} ${WRKSRC}/scam.conf ${STAGEDIR}${PREFIX}/etc/mail/scam-back.conf.sample
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/License ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/License ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/mail/scam-backscatter/pkg-plist b/mail/scam-backscatter/pkg-plist
index c93dbe765d12..8b9caa3bd220 100644
--- a/mail/scam-backscatter/pkg-plist
+++ b/mail/scam-backscatter/pkg-plist
@@ -2,6 +2,4 @@ libexec/scam-back
etc/mail/scam-back.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/License
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrmtry etc/mail
@unexec [ -f /var/scam-back/backscatter.txt ] || rmdir /var/scam-back 2>/dev/null || true