aboutsummaryrefslogtreecommitdiff
path: root/textproc/xincluder
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xincluder')
-rw-r--r--textproc/xincluder/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/textproc/xincluder/Makefile b/textproc/xincluder/Makefile
index a2ebf498c236..30dc6629dbc1 100644
--- a/textproc/xincluder/Makefile
+++ b/textproc/xincluder/Makefile
@@ -28,25 +28,24 @@ PORTDOCS= apidoc index.html
.endif
SUB_FILES= xincluder.sh
-NO_STAGE= yes
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
- @${MKDIR} ${JAVAJARDIR}
- @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${JAVAJARDIR}/
+ @${MKDIR} ${STAGEDIR}${JAVAJARDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} -n ">> Installing scripts in ${PREFIX}/bin..."
@${ECHO_MSG} -n " xincluder"
- @${INSTALL_SCRIPT} ${WRKDIR}/xincluder.sh ${PREFIX}/bin/xincluder
+ @${INSTALL_SCRIPT} ${WRKDIR}/xincluder.sh ${STAGEDIR}${PREFIX}/bin/xincluder
.for suffix in ${SUFFIXES}
@${ECHO_MSG} -n " xincluder${suffix}"
- @${LN} ${PREFIX}/bin/xincluder ${PREFIX}/bin/xincluder${suffix}
+ @${LN} -s xincluder ${STAGEDIR}${PREFIX}/bin/xincluder${suffix}
.endfor
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@cd ${WRKSRC} \
- && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
- && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+ && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
+ && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.endif