aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-03-18 22:49:04 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-03-18 22:49:04 +0800
commit8459cdb944f64687a2db77e69b769abe1e58d445 (patch)
tree47ba386754bec7f484b0408520f7497087e9c920 /dns
parent33f4e9a2e621f3df1e637c23e0d2520c5062e253 (diff)
downloadfreebsd-ports-gnome-8459cdb944f64687a2db77e69b769abe1e58d445.tar.gz
freebsd-ports-gnome-8459cdb944f64687a2db77e69b769abe1e58d445.tar.zst
freebsd-ports-gnome-8459cdb944f64687a2db77e69b769abe1e58d445.zip
- Support staging
- Use shebangfix - Define DOCS option
Diffstat (limited to 'dns')
-rw-r--r--dns/rbllookup-ng/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/dns/rbllookup-ng/Makefile b/dns/rbllookup-ng/Makefile
index 741969b46179..868212c63227 100644
--- a/dns/rbllookup-ng/Makefile
+++ b/dns/rbllookup-ng/Makefile
@@ -14,24 +14,24 @@ BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
p5-Term-ANSIColor>=0:${PORTSDIR}/devel/p5-Term-ANSIColor
NO_BUILD= yes
-USES= perl5
+USES= perl5 shebangfix
PLIST_FILES= bin/rbllookup bin/getmoensted etc/rbllookup.conf-sample
PORTDOCS= CHANGELOG INSTALL NOTES README TODO gpg.asc
+SHEBANG_FILES= rbllookup.pl
CONFLICTS= rbllookup-0.*
-NO_STAGE= yes
-post-patch:
- ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/rbllookup.pl
+OPTIONS_DEFINE= DOCS
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/rbllookup.pl ${PREFIX}/bin/rbllookup
- ${INSTALL_SCRIPT} ${WRKSRC}/getmoensted.pl ${PREFIX}/bin/getmoensted
- ${INSTALL_DATA} ${WRKSRC}/rbllookup.conf ${PREFIX}/etc/rbllookup.conf-sample
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/rbllookup.pl \
+ ${STAGEDIR}${PREFIX}/bin/rbllookup
+ ${INSTALL_SCRIPT} ${WRKSRC}/getmoensted.pl \
+ ${STAGEDIR}${PREFIX}/bin/getmoensted
+ ${INSTALL_DATA} ${WRKSRC}/rbllookup.conf \
+ ${STAGEDIR}${PREFIX}/etc/rbllookup.conf-sample
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>