Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2014 14:08:07 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348326 - head/mail/postfix-policyd-weight
Message-ID:  <201403151408.s2FE87cp008406@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Sat Mar 15 14:08:07 2014
New Revision: 348326
URL: http://svnweb.freebsd.org/changeset/ports/348326
QAT: https://qat.redports.org/buildarchive/r348326/

Log:
  - remove BL_NJABL (njabl.org)
  - add stage support
  - add LICENSE

Modified:
  head/mail/postfix-policyd-weight/Makefile

Modified: head/mail/postfix-policyd-weight/Makefile
==============================================================================
--- head/mail/postfix-policyd-weight/Makefile	Sat Mar 15 13:55:49 2014	(r348325)
+++ head/mail/postfix-policyd-weight/Makefile	Sat Mar 15 14:08:07 2014	(r348326)
@@ -3,7 +3,7 @@
 
 PORTNAME=	policyd-weight
 PORTVERSION=	0.1.15.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail
 MASTER_SITES=	http://www.policyd-weight.org/releases/ \
 		LOCAL/ohauer
@@ -12,41 +12,39 @@ PKGNAMEPREFIX=	postfix-
 MAINTAINER=	ohauer@FreeBSD.org
 COMMENT=	Weighted policy daemon for postfix
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	p5-Net-DNS>0:${PORTSDIR}/dns/p5-Net-DNS \
 		p5-Net-IP>0:${PORTSDIR}/net-mgmt/p5-Net-IP
 
 SUB_FILES=	pkg-message
-PLIST_FILES=	bin/${PORTNAME} etc/${PORTNAME}.conf.sample
+PLIST_FILES=	bin/${PORTNAME} etc/${PORTNAME}.conf.sample \
+		man/man5/policyd-weight.conf.5.gz \
+		man/man8/policyd-weight.8.gz \
 
 USERS=		polw
 GROUPS=		polw
 
 USE_RC_SUBR+=	policyd-weight
 USES=		perl5
+USE_PERL5=	run
 NO_BUILD=	yes
 
-MAN8+=	policyd-weight.8
-MAN5+=	policyd-weight.conf.5
-
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 post-patch:
 # really remove dead lists
 # SFNET bug ID: 2765629, 3400804
 # rfc-ignorant: all entrieys will be marked as deprecated starting on 2012-09-30
+# njabl.org: NJABL is offline
 	@${REINPLACE_CMD} -e '/DSBL_ORG/d' -e '/IPv6_RBL/d' -e '/rfc-ignorant/d' \
-		-e '/IX_MANITU/ s/,$$//' -e '/AHBL/ s/,$$//' \
+		-e '/BL_NJABL/d' -e '/IX_MANITU/ s/,$$//' -e '/AHBL/ s/,$$//' \
 		${WRKSRC}/policyd-weight ${WRKSRC}/policyd-weight.conf.sample
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${PREFIX}/etc/
-
-	${INSTALL_MAN} ${WRKSRC}/man/man5/${MAN5} ${PREFIX}/man/man5/
-	${INSTALL_MAN} ${WRKSRC}/man/man8/${MAN8} ${PREFIX}/man/man8/
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/
+	${INSTALL_MAN} ${WRKSRC}/man/man5/policyd-weight.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5/
+	${INSTALL_MAN} ${WRKSRC}/man/man8/policyd-weight.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
 
 .include <bsd.port.post.mk>



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