aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-24 19:49:48 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-24 19:49:48 +0800
commit53f0a294a4b32fedec787c466725e3a5c3c6a25a (patch)
treeb0dc10f6df6fb2ad1c519084f129661ac1bca3f9
parentf2e0191b542abf735abb451623772eaee6c82416 (diff)
downloadfreebsd-ports-gnome-53f0a294a4b32fedec787c466725e3a5c3c6a25a.tar.gz
freebsd-ports-gnome-53f0a294a4b32fedec787c466725e3a5c3c6a25a.tar.zst
freebsd-ports-gnome-53f0a294a4b32fedec787c466725e3a5c3c6a25a.zip
- Add LICENSE
- Switch to USES=tar - Cosmetic fixes - Drop @dirrm* from plist - Switch to options helpers Approved by: portmgr blanket
-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