aboutsummaryrefslogtreecommitdiff
path: root/comms/java-commapi-freebsd
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-29 11:44:09 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-29 11:44:09 +0000
commit3f7212d8a5cdcb538e9859fac60c1ea002ca6480 (patch)
tree112d2b6d43ac630a176962e17f57c355894bb4ce /comms/java-commapi-freebsd
parent2f4eff9be7756451f6a8ae237f11015a0224d7fb (diff)
downloadports-3f7212d8a5cdcb538e9859fac60c1ea002ca6480.tar.gz
ports-3f7212d8a5cdcb538e9859fac60c1ea002ca6480.zip
Notes
Diffstat (limited to 'comms/java-commapi-freebsd')
-rw-r--r--comms/java-commapi-freebsd/Makefile13
-rw-r--r--comms/java-commapi-freebsd/pkg-plist8
2 files changed, 12 insertions, 9 deletions
diff --git a/comms/java-commapi-freebsd/Makefile b/comms/java-commapi-freebsd/Makefile
index 342fe7f3d37a..3e821fd90b0e 100644
--- a/comms/java-commapi-freebsd/Makefile
+++ b/comms/java-commapi-freebsd/Makefile
@@ -14,12 +14,15 @@ DISTNAME= freebsd-commapi-0.2
MAINTAINER= ari.suutari@syncrontech.com
COMMENT= Java Communication API for FreeBSD
-BUILD_DEPENDS= ${JDKDIR}/bin/javac:${PORTSDIR}/java/jdk13 \
- ${JDKDIR}/jre/lib/ext/comm.jar:${PORTSDIR}/comms/java-commapi
-RUN_DEPENDS= ${JDKDIR}/bin/java:${PORTSDIR}/java/jdk13 \
- ${JDKDIR}/jre/lib/ext/comm.jar:${PORTSDIR}/comms/java-commapi
+BUILD_DEPENDS= ${JDKDIR}/jre/lib/ext/comm.jar:${PORTSDIR}/comms/java-commapi
+RUN_DEPENDS= ${JDKDIR}/jre/lib/ext/comm.jar:${PORTSDIR}/comms/java-commapi
+
+USE_JAVA= 1.1+
+
+JDKDIR= ${JAVA_HOME}
-JDKDIR= ${LOCALBASE}/jdk1.3.1
MAKE_ENV= JAVA_HOME=${JDKDIR}
+PLIST_SUB+= JAVA_HOME=${JAVA_HOME:S/${PREFIX}\///}
+
.include <bsd.port.mk>
diff --git a/comms/java-commapi-freebsd/pkg-plist b/comms/java-commapi-freebsd/pkg-plist
index 39cd27844688..9729ac00e701 100644
--- a/comms/java-commapi-freebsd/pkg-plist
+++ b/comms/java-commapi-freebsd/pkg-plist
@@ -1,4 +1,4 @@
-jdk1.3.1/jre/lib/ext/CommDriver.jar
-jdk1.3.1/jre/lib/i386/libSerial.so
-jdk1.3.1/jre/lib/i386/libParallel.so
-jdk1.3.1/jre/lib/javax.comm.properties
+%%JAVA_HOME%%/jre/lib/ext/CommDriver.jar
+%%JAVA_HOME%%/jre/lib/i386/libSerial.so
+%%JAVA_HOME%%/jre/lib/i386/libParallel.so
+%%JAVA_HOME%%/jre/lib/javax.comm.properties