aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-03-01 00:20:51 +0800
committermiwi <miwi@FreeBSD.org>2014-03-01 00:20:51 +0800
commit8a43230c328b2567ac0d31fb0657bffd5b84eff5 (patch)
treeddde435dd9933294991c5f19bc071ed6009f68fe /textproc
parent62340dd8f932a4754d993bffa29133a0d128f6d3 (diff)
downloadfreebsd-ports-gnome-8a43230c328b2567ac0d31fb0657bffd5b84eff5.tar.gz
freebsd-ports-gnome-8a43230c328b2567ac0d31fb0657bffd5b84eff5.tar.zst
freebsd-ports-gnome-8a43230c328b2567ac0d31fb0657bffd5b84eff5.zip
- Stage support
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xp/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/textproc/xp/Makefile b/textproc/xp/Makefile
index 2087cad92d68..21a027b76b2c 100644
--- a/textproc/xp/Makefile
+++ b/textproc/xp/Makefile
@@ -18,26 +18,22 @@ NO_WORKSUBDIR= yes
NO_BUILD= yes
USE_ZIP= yes
-.if !defined(NOPORTDOCS)
PORTDOCS= api copying.txt index.html
-.endif
+
JARFILE= ${PORTNAME}.jar
PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
-NO_STAGE= yes
do-install:
@${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
- @${MKDIR} ${JAVAJARDIR}
- @${INSTALL_DATA} ${WRKDIR}/${JARFILE} ${JAVAJARDIR}/
+ @${MKDIR} ${STAGEDIR}${JAVAJARDIR}
+ @${INSTALL_DATA} ${WRKDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR}/
@${ECHO_CMD} " [ DONE ]"
-.if !defined(NOPORTDOCS)
@${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for DOCFILE in ${PORTDOCS}
- @${CP} -r ${WRKDIR}/docs/${DOCFILE} ${DOCSDIR}/
+ @${CP} -r ${WRKDIR}/docs/${DOCFILE} ${STAGEDIR}${DOCSDIR}/
@${ECHO_CMD} -n " ${DOCFILE}"
.endfor
@${ECHO_CMD} " [ DONE ]"
-.endif
.include <bsd.port.mk>