diff options
author | olgeni <olgeni@FreeBSD.org> | 2014-05-25 04:55:30 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2014-05-25 04:55:30 +0800 |
commit | 07cf75d94d4d81ee190ac1b49bd26eb2fcb446f7 (patch) | |
tree | 85c3a251287b8bd43c226c458a37d780a12e5e59 /mail/dovecot2-antispam-plugin | |
parent | f867942d23dd098613b4a33da8556eb8ec7c3256 (diff) | |
download | freebsd-ports-gnome-07cf75d94d4d81ee190ac1b49bd26eb2fcb446f7.tar.gz freebsd-ports-gnome-07cf75d94d4d81ee190ac1b49bd26eb2fcb446f7.tar.zst freebsd-ports-gnome-07cf75d94d4d81ee190ac1b49bd26eb2fcb446f7.zip |
Cleanup:
- Add LICENSE (GPLv2)
- Replace DISTFILES with DISTNAME
- Use tar:bzip2
- Use ${STRIP_CMD}
Diffstat (limited to 'mail/dovecot2-antispam-plugin')
-rw-r--r-- | mail/dovecot2-antispam-plugin/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
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 <bsd.port.mk> |