aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-11 20:46:09 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-11 20:46:09 +0800
commit8730c447a84dab3795867be26798cc9d964742cf (patch)
treea1719f169aa7847acfb9fc95e9bc4c37c567bc45 /textproc
parentf9ac1b8425749d419c8222fdcf46d8d9b3cf6674 (diff)
downloadfreebsd-ports-gnome-8730c447a84dab3795867be26798cc9d964742cf.tar.gz
freebsd-ports-gnome-8730c447a84dab3795867be26798cc9d964742cf.tar.zst
freebsd-ports-gnome-8730c447a84dab3795867be26798cc9d964742cf.zip
Stagify.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xt/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/textproc/xt/Makefile b/textproc/xt/Makefile
index 8ac63c39418d..70bcba1cf727 100644
--- a/textproc/xt/Makefile
+++ b/textproc/xt/Makefile
@@ -26,30 +26,29 @@ PORTDOCS= ${OTHERDOCS} api
SAMPLES= date.xsl nxml.xsl slides.xml slides.xsl sort-uniq.xml \
sort-uniq.xsl split.xml split.xsl textfile.xml textfile.xsl
-NO_STAGE= yes
do-configure:
${SED} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${FILESDIR}/xt.sh > ${WRKSRC}/xt
do-install:
@${ECHO_MSG} ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
- ${MKDIR} ${JAVAJARDIR}
- ${INSTALL_DATA} ${WRKSRC}/xt.jar ${JAVAJARDIR}/
+ ${MKDIR} ${STAGEDIR}${JAVAJARDIR}
+ ${INSTALL_DATA} ${WRKSRC}/xt.jar ${STAGEDIR}${JAVAJARDIR}/
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} ">> Installing scripts in ${PREFIX}/bin/..."
- ${INSTALL_SCRIPT} ${WRKSRC}/xt ${PREFIX}/bin/
- cd ${PREFIX}/bin && ${LN} xt xt-xp
- cd ${PREFIX}/bin && ${LN} xt xt-xml4j
+ ${INSTALL_SCRIPT} ${WRKSRC}/xt ${STAGEDIR}${PREFIX}/bin/
+ ${LN} -sf xt ${STAGEDIR}${PREFIX}/bin/xt-xp
+ ${LN} -sf xt ${STAGEDIR}${PREFIX}/bin/xt-xml4j
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} ">> Installing samples in ${EXAMPLESDIR}..."
- ${MKDIR} ${EXAMPLESDIR}
- cd ${WRKSRC}/demo && ${INSTALL_DATA} ${SAMPLES} ${EXAMPLESDIR}/
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/demo && ${INSTALL_DATA} ${SAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} ">> Installing documentation in ${DOCSDIR}..."
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${FIND} api \
- | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
- cd ${WRKSRC} && ${INSTALL_DATA} ${OTHERDOCS} ${DOCSDIR}/
+ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
+ cd ${WRKSRC} && ${INSTALL_DATA} ${OTHERDOCS} ${STAGEDIR}${DOCSDIR}/
@${ECHO_MSG} " [ DONE ]"
.endif