Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2014 20:55:31 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355088 - head/mail/dovecot2-antispam-plugin
Message-ID:  <201405242055.s4OKtVLB003701@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405242055.s4OKtVLB003701>