diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-03-28 14:48:49 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-03-28 14:48:49 +0000 |
commit | dc2fbbac16f970b328a8b5de99a3ec04b500206c (patch) | |
tree | 4304537aca69450fcca4e05659f7e452cdab9786 /net-p2p/javadc/Makefile | |
parent | Update to 2.10-pl2, which fixes a cross-site scripting vulnerability (diff) |
Update to new java infrastructure, deploy USE_JAVA
Diffstat (limited to 'net-p2p/javadc/Makefile')
-rw-r--r-- | net-p2p/javadc/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/net-p2p/javadc/Makefile b/net-p2p/javadc/Makefile index c31bc8549da4..eb764bc11756 100644 --- a/net-p2p/javadc/Makefile +++ b/net-p2p/javadc/Makefile @@ -13,19 +13,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= lioux@FreeBSD.org -BUILD_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/jar:${PORTSDIR}/java/jdk12-beta -RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/javavmwrapper \ - ${LOCALBASE}/etc/javavms:${PORTSDIR}/java/jre \ - ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk12-beta - +USE_JAVA= 1.2+ WRKSRC= ${WRKDIR}/DirectConnect${PORTVERSION} BUILD_WRKSRC= ${WRKDIR}/classes PLIST_SUB= JAR_DIR=${JAR_DIR} \ JAR_FILE=${JAR_FILE} -JDK_VERSION= 1.2.2 -JAVAC_CMD= ${LOCALBASE}/jdk${JDK_VERSION}/bin/javac -JAR_CMD= ${LOCALBASE}/jdk${JDK_VERSION}/bin/jar JAVAVM= ${LOCALBASE}/bin/javavm JAR_DIR= share/java/jar/${PORTNAME} JAR_MANIFEST= ${FILESDIR}/manifest @@ -41,9 +34,9 @@ post-patch: # as far as build goes... ;) do-build: @${MKDIR} ${BUILD_WRKSRC} - @${JAVAC_CMD} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} ${CLASS_SRCDIR}/*.java 2>/dev/null + @${JAVAC} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} ${CLASS_SRCDIR}/*.java 2>/dev/null @${CP} ${CLASS_SRCDIR}/*.txt ${BUILD_WRKSRC} - @cd ${BUILD_WRKSRC} && ${JAR_CMD} -cmf ${JAR_MANIFEST} ${WRKDIR}/${JAR_FILE} * + @cd ${BUILD_WRKSRC} && ${JAR} -cmf ${JAR_MANIFEST} ${WRKDIR}/${JAR_FILE} * do-install: @${MKDIR} ${PREFIX}/${JAR_DIR} |