aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-09 16:55:26 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-09 16:55:26 +0800
commit03ded515b5beb943b6e9f33cf81f8c3e11ccb392 (patch)
tree29ea4f1fb3f919952d8cf9e01315441df4c8413d /net-p2p
parent3e06e38cab049633029f23807a372858732bcc5e (diff)
downloadfreebsd-ports-gnome-03ded515b5beb943b6e9f33cf81f8c3e11ccb392.tar.gz
freebsd-ports-gnome-03ded515b5beb943b6e9f33cf81f8c3e11ccb392.tar.zst
freebsd-ports-gnome-03ded515b5beb943b6e9f33cf81f8c3e11ccb392.zip
Stagify.
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/bitflu/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/net-p2p/bitflu/Makefile b/net-p2p/bitflu/Makefile
index e4437ff4fa1f..3aff5ddf034f 100644
--- a/net-p2p/bitflu/Makefile
+++ b/net-p2p/bitflu/Makefile
@@ -29,7 +29,6 @@ PORTDOCS= ChangeLog.txt README.txt README_IPv6.txt
OPTIONS_DEFINE= IPV6 EXAMPLES DOCS
OPTIONS_DEFAULT= IPV6
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIPV6}
@@ -39,24 +38,24 @@ RUN_DEPENDS+= p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6
post-patch:
@${REINPLACE_CMD} -e 's|'\''.bitflu.config'\''|"$$ENV{HOME}/.bitflu.config"|; \
s|\./plugins|${PREFIX}/${PLUGINSDIR_BASE}|; \
+ s|/usr/bin/perl|${PERL}|; \
s|\./workdir|$$ENV{HOME}/.bitflu.workdir|; \
s|--config=\.bitflu.config|--config=~/.bitflu.config|' \
${WRKSRC}/bitflu.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
- ${PREFIX}/bin/${PORTNAME}
- ${MKDIR} ${PREFIX}/${PLUGINSDIR}
- ${INSTALL_DATA} ${WRKSRC}/plugins/Bitflu/*.pm ${PREFIX}/${PLUGINSDIR}/
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/plugins/Bitflu/*.pm ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/
.if ${PORT_OPTIONS:MEXAMPLES}
- ${INSTALL} -d ${EXAMPLESDIR}/
+ ${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.config.example \
- ${EXAMPLESDIR}/${PORTNAME}.config
+ ${STAGEDIR}${EXAMPLESDIR}/${PORTNAME}.config
.endif
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>