aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-11-05 12:36:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-11-05 12:36:25 +0000
commit065c026fe5e21a269bbaae0ce69307c7308acbea (patch)
tree9cbf2a263e7841be76898ae832e7bfb273d3fd08 /java
parent6d6314e20da82ad66b7b278eee92373caa9ab746 (diff)
downloadports-065c026fe5e21a269bbaae0ce69307c7308acbea.tar.gz
ports-065c026fe5e21a269bbaae0ce69307c7308acbea.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/eclipse-ecj/Makefile4
-rw-r--r--java/eclipse-pydev/Makefile4
-rw-r--r--java/javavmwrapper/Makefile14
-rw-r--r--java/jtiger/Makefile12
4 files changed, 17 insertions, 17 deletions
diff --git a/java/eclipse-ecj/Makefile b/java/eclipse-ecj/Makefile
index f8816dc3ff6d..886cf167dff1 100644
--- a/java/eclipse-ecj/Makefile
+++ b/java/eclipse-ecj/Makefile
@@ -16,7 +16,7 @@ LICENSE= EPL
EXTRACT_CMD= ${TAR}
EXTRACT_BEFORE_ARGS= xf
-EXTRACT_AFTER_ARGS= -C ${WRKDIR}
+EXTRACT_AFTER_ARGS= -C ${WRKSRC}
USE_ANT= yes
USE_JAVA= yes
@@ -31,7 +31,7 @@ PLIST_FILES= bin/${PORTNAME}.sh \
do-install:
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
- ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar
${INSTALL_SCRIPT} ${WRKDIR}/ecj.sh ${STAGEDIR}/${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/java/eclipse-pydev/Makefile b/java/eclipse-pydev/Makefile
index 61cc0f423edb..3809ff0719d5 100644
--- a/java/eclipse-pydev/Makefile
+++ b/java/eclipse-pydev/Makefile
@@ -37,10 +37,10 @@ RUN_DEPENDS+= jython:${PORTSDIR}/lang/jython
pre-install:
@${ECHO_MSG} "===> Creating bundles.info"
- @PLUGINS=$$(ls -1 ${WRKDIR}/plugins); \
+ @PLUGINS=$$(ls -1 ${WRKSRC}/plugins); \
for d in $${PLUGINS}; do \
(${ECHO_CMD} "$${d},../../${PLUGINDIR}/$${d}/,4,false" | \
- ${SED} -e 's/_\([0-9]\)/,\1/1' -e '/templates/d') >> ${WRKDIR}/plugins/bundles.info; \
+ ${SED} -e 's/_\([0-9]\)/,\1/1' -e '/templates/d') >> ${WRKSRC}/plugins/bundles.info; \
done
@# ignore javashell.py file, because there is a syntax error
@# see http://goo.gl/E4epH
diff --git a/java/javavmwrapper/Makefile b/java/javavmwrapper/Makefile
index bc7ae8a05c01..32ffaffedc40 100644
--- a/java/javavmwrapper/Makefile
+++ b/java/javavmwrapper/Makefile
@@ -25,7 +25,7 @@ do-configure:
.for _script in ${SCRIPTS}
${SED} -e 's|%%PREFIX%%|${PREFIX}|;' \
-e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|;' \
- ${SRC}/${_script}.sh >${WRKDIR}/${_script}.sh
+ ${SRC}/${_script}.sh >${WRKSRC}/${_script}.sh
.endfor
${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|;' \
${FILESDIR}/pkg-install.in > ${PKGINSTALL}
@@ -33,20 +33,20 @@ do-configure:
${SED} -e 's|%%PREFIX%%|${PREFIX}|;' \
-e 's|%%LOCALBASE%%|${LOCALBASE}|;' \
-e 's|%%PORTSDIR%%|${PORTSDIR}|;' \
- ${SRC}/${_man} > ${WRKDIR}/${_man}
+ ${SRC}/${_man} > ${WRKSRC}/${_man}
.endfor
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/classpath.sh ${STAGEDIR}${PREFIX}/bin/classpath
- ${INSTALL_SCRIPT} ${WRKDIR}/javavmwrapper.sh ${STAGEDIR}${PREFIX}/bin/javavm
+ ${INSTALL_SCRIPT} ${WRKSRC}/classpath.sh ${STAGEDIR}${PREFIX}/bin/classpath
+ ${INSTALL_SCRIPT} ${WRKSRC}/javavmwrapper.sh ${STAGEDIR}${PREFIX}/bin/javavm
${LN} -sf javavm ${STAGEDIR}${PREFIX}/bin/checkvms
${LN} -sf javavm ${STAGEDIR}${PREFIX}/bin/manvm
${LN} -sf javavm ${STAGEDIR}${PREFIX}/bin/registervm
${LN} -sf javavm ${STAGEDIR}${PREFIX}/bin/unregistervm
- ${INSTALL_MAN} ${WRKDIR}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKDIR}/registervm.1 \
+ ${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/registervm.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1/unregistervm.1
- ${INSTALL_MAN} ${WRKDIR}/*.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/*.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
${INSTALL_DATA} ${FILESDIR}/javavm_opts.conf.dist \
${STAGEDIR}${PREFIX}/etc/javavm_opts.conf.dist
diff --git a/java/jtiger/Makefile b/java/jtiger/Makefile
index 07f97e655219..835898519207 100644
--- a/java/jtiger/Makefile
+++ b/java/jtiger/Makefile
@@ -18,14 +18,14 @@ SRCFILES= src test-src
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
- ${INSTALL_DATA} ${WRKDIR}/jtiger.jar ${STAGEDIR}${JAVAJARDIR}/jtiger.jar
+ ${INSTALL_DATA} ${WRKSRC}/jtiger.jar ${STAGEDIR}${JAVAJARDIR}/jtiger.jar
${MKDIR} ${STAGEDIR}${DATADIR}
- cd ${WRKDIR} && ${COPYTREE_SHARE} "${SRCFILES}" ${STAGEDIR}${DATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} "${SRCFILES}" ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKDIR}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/changes.html ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKDIR}/cpl-v10.html ${STAGEDIR}${DOCSDIR}
- cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/changes.html ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/cpl-v10.html ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>