diff options
author | lioux <lioux@FreeBSD.org> | 2002-03-28 22:48:49 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-03-28 22:48:49 +0800 |
commit | c2483dc412efc4d34bd8dbdd6e64d4fdc9d1bac5 (patch) | |
tree | 86c7a9479a7bdf7158a907c149a1246e8a6b5629 /net/jift | |
parent | 74975d58e8fdbca81298140cb8e7916056f22cdb (diff) | |
download | freebsd-ports-gnome-c2483dc412efc4d34bd8dbdd6e64d4fdc9d1bac5.tar.gz freebsd-ports-gnome-c2483dc412efc4d34bd8dbdd6e64d4fdc9d1bac5.tar.zst freebsd-ports-gnome-c2483dc412efc4d34bd8dbdd6e64d4fdc9d1bac5.zip |
Update to new java infrastructure, deploy USE_JAVA
Diffstat (limited to 'net/jift')
-rw-r--r-- | net/jift/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/net/jift/Makefile b/net/jift/Makefile index 07991cacabc8..b808af31cc5c 100644 --- a/net/jift/Makefile +++ b/net/jift/Makefile @@ -13,22 +13,15 @@ MASTER_SITE_SUBDIR= ${PORTNAME:L} 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 - BROKEN= 'Does not currently work' +USE_JAVA= 1.2+ USE_ZIP= yes NO_WRKSUBDIR= yes BUILD_WRKSRC= ${WRKSRC}/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 @@ -52,9 +45,9 @@ post-patch: do-build: @${MKDIR} ${BUILD_WRKSRC} .for dir in ${CLASS_SRCDIRS} - @${JAVAC_CMD} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} -sourcepath ${WRKDIR} ${WRKDIR}/${CLASS_PACKAGE}/${dir}/*.java + @${JAVAC} -d ${BUILD_WRKSRC} -classpath ${BUILD_WRKSRC} -sourcepath ${WRKDIR} ${WRKDIR}/${CLASS_PACKAGE}/${dir}/*.java .endfor - @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} |