freebsd-ports/mail/postfix-policyd-weight/Makefile
Olli Hauer ea6554f44f - remove dead rhsbl.ahbl.org [1]
- install policyd-weight.conf with the @sample macro
- alert user if any of this deprecated lists is found in policyd-weight.conf
   dnsbl.njabl.org
   rbl.ipv6-world.net
   rhsbl.ahbl.org
   dsn.rfc-ignorant.org
   postmaster.rfc-ignorant.org
   abuse.rfc-ignorant.org

[1] Noted by: Herbert J. Skuhra

MFH:		2015Q1
2015-01-09 20:59:09 +00:00

40 lines
1 KiB
Makefile

# Created by: Robert Felber <robtone@ek-muc.de>
# $FreeBSD$
PORTNAME= policyd-weight
PORTVERSION= 0.1.15.2
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://www.policyd-weight.org/releases/ \
LOCAL/ohauer
PKGNAMEPREFIX= postfix-
MAINTAINER= ohauer@FreeBSD.org
COMMENT= Weighted policy daemon for postfix
LICENSE= GPLv2
RUN_DEPENDS= p5-Net-DNS>=0.72:${PORTSDIR}/dns/p5-Net-DNS \
p5-Net-IP>0:${PORTSDIR}/net-mgmt/p5-Net-IP
SUB_FILES= pkg-message pkg-install
PLIST_FILES= bin/${PORTNAME} \
"@sample 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
do-install:
${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.mk>