aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/xnap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/xnap/Makefile')
-rw-r--r--net-p2p/xnap/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/net-p2p/xnap/Makefile b/net-p2p/xnap/Makefile
index dfc815818afd..ada98dd21820 100644
--- a/net-p2p/xnap/Makefile
+++ b/net-p2p/xnap/Makefile
@@ -26,7 +26,6 @@ PLIST_FILES= \
bin/${PORTNAME:tl} \
%%JAVAJARDIR%%/${PORTNAME:tl}.jar
-NO_STAGE= yes
post-patch:
@${SED} -e "s|%%JAVAJARDIR%%|${JAVAJARDIR:S,^${PREFIX}/,,}|; \
s|%%JAVAVM%%|${JAVAVM}|; \
@@ -36,12 +35,12 @@ post-patch:
do-install:
@${INSTALL_DATA} ${WRKSRC}/xnap.jar \
- ${JAVAJARDIR}/${PORTNAME:tl}.jar
- @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${PORTNAME:tl}
+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME:tl}.jar
+ @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME:tl}
.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.endif