From bd86ec3e61465ca97b7b989762701dcde8d811c8 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Sat, 24 May 2014 20:55:30 +0000 Subject: Cleanup: - Add LICENSE (GPLv2) - Replace DISTFILES with DISTNAME - Use tar:bzip2 - Use ${STRIP_CMD} --- mail/dovecot2-antispam-plugin/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mail/dovecot2-antispam-plugin') diff --git a/mail/dovecot2-antispam-plugin/Makefile b/mail/dovecot2-antispam-plugin/Makefile index 48964a8eac02..f76081c89f68 100644 --- a/mail/dovecot2-antispam-plugin/Makefile +++ b/mail/dovecot2-antispam-plugin/Makefile @@ -7,11 +7,13 @@ PORTREVISION= 6 CATEGORIES= mail MASTER_SITES= http://olgeni.olgeni.com/~olgeni/distfiles/ \ LOCAL/olgeni -DISTFILES= dovecot-antispam-plugin-${DISTVERSION}${EXTRACT_SUFX} +DISTNAME= dovecot-antispam-plugin-${DISTVERSION} MAINTAINER= olgeni@FreeBSD.org COMMENT= Dovecot 2.x plugin for spam systems training +LICENSE= GPLv2 + BUILD_DEPENDS= dovecot2>=2.2.0:${PORTSDIR}/mail/dovecot2 \ gawk:${PORTSDIR}/lang/gawk RUN_DEPENDS= dovecot2>=2.2.0:${PORTSDIR}/mail/dovecot2 @@ -19,9 +21,8 @@ RUN_DEPENDS= dovecot2>=2.2.0:${PORTSDIR}/mail/dovecot2 CONFLICTS= dovecot-antispam-1.* WRKSRC= ${WRKDIR}/dovecot-antispam-plugin-5ebc6aae4d7c -USES= gmake +USES= gmake tar:bzip2 USE_AUTOTOOLS= aclocal autoheader autoconf -USE_BZIP2= yes USE_LDCONFIG= ${PREFIX}/lib/dovecot ACLOCAL_ARGS= -I m4 @@ -31,6 +32,6 @@ PLIST_FILES= lib/dovecot/lib90_antispam_plugin.so \ PLIST_DIRSTRY= lib/dovecot post-install: - ${FIND} ${STAGEDIR}${PREFIX}/lib/ -name \*.so | ${XARGS} strip + ${FIND} ${STAGEDIR}${PREFIX}/lib/ -name \*.so | ${XARGS} ${STRIP_CMD} .include -- cgit v1.2.3