svn commit: r355088 - head/mail/dovecot2-antispam-plugin

Jimmy Olgeni olgeni at FreeBSD.org
Sat May 24 20:55:31 UTC 2014


Author: olgeni
Date: Sat May 24 20:55:30 2014
New Revision: 355088
URL: http://svnweb.freebsd.org/changeset/ports/355088
QAT: https://qat.redports.org/buildarchive/r355088/

Log:
  Cleanup:
  
  - Add LICENSE (GPLv2)
  - Replace DISTFILES with DISTNAME
  - Use tar:bzip2
  - Use ${STRIP_CMD}

Modified:
  head/mail/dovecot2-antispam-plugin/Makefile

Modified: head/mail/dovecot2-antispam-plugin/Makefile
==============================================================================
--- head/mail/dovecot2-antispam-plugin/Makefile	Sat May 24 20:55:16 2014	(r355087)
+++ head/mail/dovecot2-antispam-plugin/Makefile	Sat May 24 20:55:30 2014	(r355088)
@@ -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 at 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}
 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_
 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>


More information about the svn-ports-all mailing list