From 2c37f1b33c70cca2557c6674e8c818c7035a4866 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Wed, 21 Jun 2017 18:53:25 +0000 Subject: 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 --- mail/spamass-ixhash/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mail') 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}/ -- cgit