aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-06-22 02:53:25 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-06-22 02:53:25 +0800
commit2c37f1b33c70cca2557c6674e8c818c7035a4866 (patch)
tree1ce3b7433b72a675175f9632c51b998512783f24 /mail
parent9be5ad116f65fe1564979a880ac5d00e02db9365 (diff)
downloadfreebsd-ports-gnome-2c37f1b33c70cca2557c6674e8c818c7035a4866.tar.gz
freebsd-ports-gnome-2c37f1b33c70cca2557c6674e8c818c7035a4866.tar.zst
freebsd-ports-gnome-2c37f1b33c70cca2557c6674e8c818c7035a4866.zip
Remove Perl core modules
- While I'm here: - Add NO_ARCH - Use USES=tar:tgz - Convert to options target helper - Bump PORTREVISION for dependency change With hat: perl
Diffstat (limited to 'mail')
-rw-r--r--mail/spamass-ixhash/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/spamass-ixhash/Makefile b/mail/spamass-ixhash/Makefile
index 128f9f79960d..4a78dc8acdb7 100644
--- a/mail/spamass-ixhash/Makefile
+++ b/mail/spamass-ixhash/Makefile
@@ -3,11 +3,10 @@
PORTNAME= iXhash
PORTVERSION= 1.5.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= SF/ixhash/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
PKGNAMEPREFIX= spamass-
-EXTRACT_SUFX= .tgz
MAINTAINER= michael@ranner.eu
COMMENT= Plugin for SpamAssassin supporting iXhash
@@ -16,11 +15,12 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= spamc:mail/spamassassin \
- p5-Digest-MD5>=0:security/p5-Digest-MD5 \
p5-Net-DNS>=0.63:dns/p5-Net-DNS
OPTIONS_DEFINE= DOCS
+NO_ARCH= yes
NO_BUILD= yes
+USES= tar:tgz
post-patch:
@${REINPLACE_CMD} -e "s,/etc/mail,${LOCALBASE}/etc/mail," \
@@ -30,6 +30,8 @@ do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mail/spamassassin
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.cf ${STAGEDIR}${PREFIX}/etc/mail/spamassassin/iXhash.cf.sample
${INSTALL_DATA} ${WRKSRC}/iXhash/iXhash.pm ${STAGEDIR}${PREFIX}/etc/mail/spamassassin
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in CHANGELOG LICENSE WHERE_ARE_THE_OTHER_FILES INSTALL README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/