aboutsummaryrefslogtreecommitdiffstats
path: root/mail/postfix-postfwd/Makefile
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-07-07 04:18:05 +0800
committeritetcu <itetcu@FreeBSD.org>2009-07-07 04:18:05 +0800
commit439f42efb16a45962bb0b5d473f017c435042c6a (patch)
treeab0ef6c13b90de410978b553ded243fcb68413c5 /mail/postfix-postfwd/Makefile
parent3d046dfde2069077cb8dfa273c61f4777d914d7a (diff)
downloadfreebsd-ports-gnome-439f42efb16a45962bb0b5d473f017c435042c6a.tar.gz
freebsd-ports-gnome-439f42efb16a45962bb0b5d473f017c435042c6a.tar.zst
freebsd-ports-gnome-439f42efb16a45962bb0b5d473f017c435042c6a.zip
- update underlying software to 1.13
- misc. refinements in Makefile and files/pkg-message.in PR: 135906 Submitted by: Sahil Tandon (maintainer)
Diffstat (limited to 'mail/postfix-postfwd/Makefile')
-rw-r--r--mail/postfix-postfwd/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/mail/postfix-postfwd/Makefile b/mail/postfix-postfwd/Makefile
index 814c11464543..45398497f492 100644
--- a/mail/postfix-postfwd/Makefile
+++ b/mail/postfix-postfwd/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= postfwd
-DISTVERSION= 1.10.8b
+PORTVERSION= 1.13
CATEGORIES= mail
-MASTER_SITES= http://www.postfwd.org/old/
+MASTER_SITES= http://www.${PORTNAME}.org/old/
PKGNAMEPREFIX= postfix-
-DISTNAME= postfwd-1.10pre8b
MAINTAINER= sahil@tandon.net
COMMENT= A postfix firewall policy daemon
@@ -18,33 +17,33 @@ COMMENT= A postfix firewall policy daemon
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \
${SITE_PERL}/IO/Multiplex.pm:${PORTSDIR}/devel/p5-IO-Multiplex
-PORTDOCS= CHANGELOG postfwd.html postfwd.txt
+PORTDOCS= CHANGELOG ${PORTNAME}.html ${PORTNAME}.txt
PORTEXAMPLES= request.sample
-PLIST_FILES= bin/postfwd etc/postfwd.conf.sample
+PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample
SUB_FILES= pkg-message
-USE_RC_SUBR= postfwd
+USE_RC_SUBR= ${PORTNAME}
USE_PERL5_RUN= yes
NO_BUILD= yes
-MAN8= postfwd.8
+MAN8= ${PORTNAME}.8
.include <bsd.port.pre.mk>
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${PREFIX}/bin/
- @${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf ${PREFIX}/etc/${PORTNAME}.conf.sample
+ @${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${PREFIX}/etc/${PORTNAME}.conf.sample
@${INSTALL_MAN} ${WRKSRC}/man/man8/${MAN8} ${MANPREFIX}/man/man8/
post-install:
.if !defined(NOPORTDOCS)
- @${INSTALL} -d ${DOCSDIR}
+ @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
- @${INSTALL} -d ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${EXAMPLESDIR}
+ @${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/tools/${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
@${CAT} ${PKGMESSAGE}