aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2003-02-17 21:08:24 +0800
committersobomax <sobomax@FreeBSD.org>2003-02-17 21:08:24 +0800
commit9b6983dc3e42ce2c13ea0f66606bc27750af3693 (patch)
tree421cba88e2ded37c4488c8061aa66ab5745df535 /java
parent6e506e1fa183b74b37d0f27a7e0b4421dece5521 (diff)
downloadfreebsd-ports-gnome-9b6983dc3e42ce2c13ea0f66606bc27750af3693.tar.gz
freebsd-ports-gnome-9b6983dc3e42ce2c13ea0f66606bc27750af3693.tar.zst
freebsd-ports-gnome-9b6983dc3e42ce2c13ea0f66606bc27750af3693.zip
Use USE_JAVA.
Diffstat (limited to 'java')
-rw-r--r--java/forte/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/java/forte/Makefile b/java/forte/Makefile
index 98773fa07f31..ff7456e50fb2 100644
--- a/java/forte/Makefile
+++ b/java/forte/Makefile
@@ -16,11 +16,8 @@ EXTRACT_ONLY=
MAINTAINER= sobomax@FreeBSD.org
-BUILD_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/linux-sun-jdk13
-RUN_DEPENDS= ${JAVAVM}:${PORTSDIR}/java/linux-sun-jdk13
-
-JDK13DIR?= ${LOCALBASE}/linux-sun-jdk1.3.1
-JAVAVM= ${JDK13DIR}/bin/java
+USE_JAVA= 1.3+
+JAVAVM= ${JAVA_HOME}/bin/java
RESTRICTED= "Restrictive license"
USE_XLIB= yes
@@ -33,7 +30,7 @@ IGNORE= You must manually fetch the source distribution (${DISTFILES}) from http
.endif
do-configure:
- @${SED} "s|%%JDK13DIR%%|${JDK13DIR}|g" \
+ @${SED} "s|%%JDK13DIR%%|${JAVA_HOME}|g" \
${FILESDIR}/forte.sh > ${WRKDIR}/forte.sh
pre-install: