aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-01-26 01:38:05 +0800
committerantoine <antoine@FreeBSD.org>2014-01-26 01:38:05 +0800
commit0a48f3050d4d0c994e23c7ecfc383f2e3475422c (patch)
treea4da3387552e90096282f1116aecd3082a6ad8f1 /textproc
parent6ddafa4baccbc8d785a6fa45eccbf34f1e05f759 (diff)
downloadfreebsd-ports-gnome-0a48f3050d4d0c994e23c7ecfc383f2e3475422c.tar.gz
freebsd-ports-gnome-0a48f3050d4d0c994e23c7ecfc383f2e3475422c.tar.zst
freebsd-ports-gnome-0a48f3050d4d0c994e23c7ecfc383f2e3475422c.zip
- Fix a broken RUN_DEPENDS
- While here, add stage support
Diffstat (limited to 'textproc')
-rw-r--r--textproc/nux/Makefile22
1 files changed, 7 insertions, 15 deletions
diff --git a/textproc/nux/Makefile b/textproc/nux/Makefile
index 44d2992f75ee..b7ddd790bd18 100644
--- a/textproc/nux/Makefile
+++ b/textproc/nux/Makefile
@@ -23,12 +23,10 @@ JAVA_VERSION= 1.6+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXQUERY_TOOL}
-RUN_DEPENDS+= ${JAVALIBDIR}/getopt.jar:${PORTSDIR}/java/java-getopt \
+RUN_DEPENDS+= ${JAVALIBDIR}/java-getopt.jar:${PORTSDIR}/java/java-getopt \
classpath:${PORTSDIR}/java/javavmwrapper
.endif
@@ -46,20 +44,14 @@ SUB_FILES= fire-xquery.sh
.endif
do-install:
- @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
- @${MKDIR} ${JAVAJARDIR}
- @${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}.jar ${JAVAJARDIR}/
- @${ECHO_MSG} " [ DONE ]"
+ @${MKDIR} ${STAGEDIR}${JAVAJARDIR}
+ ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}
.if ${PORT_OPTIONS:MXQUERY_TOOL}
- @${ECHO_MSG} -n ">> Installing XQuery command-line tool as ${PREFIX}/bin/fire-xquery..."
- @${INSTALL_SCRIPT} ${WRKDIR}/fire-xquery.sh ${PREFIX}/bin/fire-xquery
- @${ECHO_MSG} " [ DONE ]"
+ ${INSTALL_SCRIPT} ${WRKDIR}/fire-xquery.sh ${STAGEDIR}${PREFIX}/bin/fire-xquery
.endif
.if ${PORT_OPTIONS:MDOCS}
- @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
- @cd ${WRKSRC}/doc/ && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
- @cd ${WRKSRC}/doc/ && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
- @${ECHO_MSG} " [ DONE ]"
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>