Lines 6-16
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= postfwd |
8 |
PORTNAME= postfwd |
9 |
DISTVERSION= 1.10.8b |
9 |
PORTVERSION= 1.11 |
10 |
CATEGORIES= mail |
10 |
CATEGORIES= mail |
11 |
MASTER_SITES= http://www.postfwd.org/old/ |
11 |
MASTER_SITES= http://www.${PORTNAME}.org/old/ |
12 |
PKGNAMEPREFIX= postfix- |
12 |
PKGNAMEPREFIX= postfix- |
13 |
DISTNAME= postfwd-1.10pre8b |
|
|
14 |
|
13 |
|
15 |
MAINTAINER= sahil@tandon.net |
14 |
MAINTAINER= sahil@tandon.net |
16 |
COMMENT= A postfix firewall policy daemon |
15 |
COMMENT= A postfix firewall policy daemon |
Lines 18-50
Link Here
|
18 |
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \ |
17 |
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS \ |
19 |
${SITE_PERL}/IO/Multiplex.pm:${PORTSDIR}/devel/p5-IO-Multiplex |
18 |
${SITE_PERL}/IO/Multiplex.pm:${PORTSDIR}/devel/p5-IO-Multiplex |
20 |
|
19 |
|
21 |
PORTDOCS= CHANGELOG postfwd.html postfwd.txt |
20 |
PORTDOCS= CHANGELOG ${PORTNAME}.html ${PORTNAME}.txt |
22 |
PORTEXAMPLES= request.sample |
21 |
PORTEXAMPLES= request.sample |
23 |
PLIST_FILES= bin/postfwd etc/postfwd.conf.sample |
22 |
PLIST_FILES= bin/${PORTNAME} etc/${PORTNAME}.conf.sample |
24 |
|
23 |
|
25 |
SUB_FILES= pkg-message |
24 |
SUB_FILES= pkg-message |
26 |
|
25 |
|
27 |
USE_RC_SUBR= postfwd |
26 |
USE_RC_SUBR= ${PORTNAME} |
28 |
USE_PERL5_RUN= yes |
27 |
USE_PERL5_RUN= yes |
29 |
NO_BUILD= yes |
28 |
NO_BUILD= yes |
30 |
|
29 |
|
31 |
MAN8= postfwd.8 |
30 |
MAN8= ${PORTNAME}.8 |
32 |
|
31 |
|
33 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.pre.mk> |
34 |
|
33 |
|
35 |
do-install: |
34 |
do-install: |
36 |
@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${PREFIX}/bin/ |
35 |
@${INSTALL_SCRIPT} ${WRKSRC}/sbin/${PORTNAME} ${PREFIX}/bin/ |
37 |
@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf ${PREFIX}/etc/${PORTNAME}.conf.sample |
36 |
@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.cf.sample ${PREFIX}/etc/${PORTNAME}.conf.sample |
38 |
@${INSTALL_MAN} ${WRKSRC}/man/man8/${MAN8} ${MANPREFIX}/man/man8/ |
37 |
@${INSTALL_MAN} ${WRKSRC}/man/man8/${MAN8} ${MANPREFIX}/man/man8/ |
39 |
|
38 |
|
40 |
post-install: |
39 |
post-install: |
41 |
.if !defined(NOPORTDOCS) |
40 |
.if !defined(NOPORTDOCS) |
42 |
@${INSTALL} -d ${DOCSDIR} |
41 |
@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR} |
43 |
@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} |
42 |
@cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} |
44 |
.endif |
43 |
.endif |
45 |
.if !defined(NOPORTEXAMPLES) |
44 |
.if !defined(NOPORTEXAMPLES) |
46 |
@${INSTALL} -d ${EXAMPLESDIR} |
45 |
@${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR} |
47 |
@${INSTALL_DATA} ${WRKSRC}/tools/request.sample ${EXAMPLESDIR} |
46 |
@${INSTALL_DATA} ${WRKSRC}/tools/${PORTEXAMPLES} ${EXAMPLESDIR} |
48 |
.endif |
47 |
.endif |
49 |
@${CAT} ${PKGMESSAGE} |
48 |
@${CAT} ${PKGMESSAGE} |
50 |
|
49 |
|