aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postgrey/Makefile
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-09-01 19:03:48 +0800
committerleeym <leeym@FreeBSD.org>2006-09-01 19:03:48 +0800
commit0e35ef30cbc444f6f759dcc62820fdd422531564 (patch)
treeda82f2346584c332a55117a782e6dc8fb0af0ce2 /mail/postgrey/Makefile
parenta605dd84d80cf2a796509e2fbcf57889a2d12eb3 (diff)
downloadfreebsd-ports-gnome-0e35ef30cbc444f6f759dcc62820fdd422531564.tar.gz
freebsd-ports-gnome-0e35ef30cbc444f6f759dcc62820fdd422531564.tar.zst
freebsd-ports-gnome-0e35ef30cbc444f6f759dcc62820fdd422531564.zip
- Update to 1.27
- Utilize USE_RC_SUBR and SUB_FILES PR: 100291 Submitted by: leeym Approved by: maintainer
Diffstat (limited to 'mail/postgrey/Makefile')
-rw-r--r--mail/postgrey/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/postgrey/Makefile b/mail/postgrey/Makefile
index 7bc9cd8a0175..07cad159d478 100644
--- a/mail/postgrey/Makefile
+++ b/mail/postgrey/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= postgrey
-PORTVERSION= 1.24
+PORTVERSION= 1.27
CATEGORIES= mail
MASTER_SITES= http://isg.ee.ethz.ch/tools/postgrey/pub/
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${SITE_PERL}/Net/Server.pm:${PORTSDIR}/net/p5-Net-Server \
${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB
USE_PERL5_RUN= yes
-USE_RC_SUBR= yes
+USE_RC_SUBR= postgrey
NO_BUILD= yes
ETCFILES= whitelist_clients whitelist_recipients
@@ -44,8 +44,6 @@ post-patch:
${REINPLACE_CMD} -e "s#/etc/#${PREFIX}/etc/#" ${WRKSRC}/postgrey
pre-install:
- ${SED} -e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%RC_SUBR%%#${RC_SUBR}#g' \
- ${FILESDIR}/postgrey.sh > ${WRKDIR}/postgrey.sh
${SED} -e 's#%%USER%%#${PGY_USERNAME}#g' -e 's#%%UID%%#${PGY_USERID}#g' \
-e 's#%%GROUP%%#${PGY_GROUPNAME}#g' -e 's#%%GID%%#${PGY_GROUPID}#g' \
-e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%ETCFILES%%#${ETCFILES}#g' \
@@ -56,7 +54,6 @@ pre-install:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/contrib/postgreyreport ${PREFIX}/sbin
- ${INSTALL_SCRIPT} ${WRKDIR}/postgrey.sh ${PREFIX}/etc/rc.d
${MKDIR} ${PREFIX}/etc/postfix
.for i in ${ETCFILES}
${INSTALL_DATA} ${WRKSRC}/postgrey_${i} ${PREFIX}/etc/postfix/dist-postgrey_${i}