freebsd-ports/mail/postfix-policyd-weight/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Robert Felber <robtone@ek-muc.de>
# $FreeBSD$
PORTNAME= policyd-weight
PORTVERSION= 0.1.15.2
PORTREVISION= 6
CATEGORIES= mail
MASTER_SITES= http://www.policyd-weight.org/releases/ \
LOCAL/ohauer
PKGNAMEPREFIX= postfix-
MAINTAINER= ports@FreeBSD.org
COMMENT= Weighted policy daemon for postfix
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= p5-Net-DNS>=0.72:dns/p5-Net-DNS \
p5-Net-IP>0: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 shebangfix
USE_PERL5= run
NO_BUILD= yes
NO_ARCH= yes
SHEBANG_FILES= ${WRKSRC}/policyd-weight
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>