aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-09-02 13:02:58 +0800
committerglewis <glewis@FreeBSD.org>2004-09-02 13:02:58 +0800
commit3e5b6692d3a6a8d4d0b7c4b11c7e9f522c348225 (patch)
tree35f5c74adc65553577da9b04851a8ee678578ee5 /Mk
parentc327c092de45872c12e3f2b8707a9c85bfdd5d94 (diff)
downloadfreebsd-ports-gnome-3e5b6692d3a6a8d4d0b7c4b11c7e9f522c348225.tar.gz
freebsd-ports-gnome-3e5b6692d3a6a8d4d0b7c4b11c7e9f522c348225.tar.zst
freebsd-ports-gnome-3e5b6692d3a6a8d4d0b7c4b11c7e9f522c348225.zip
. Take maintainership. Ernst doesn't currently have time and I've been
performing all of the recent changes. . Add to the header comment to document JAVASHAREDIR, JAVAJARDIR and JAVALIBDIR. . Add a definition for JAVALIBDIR. This is where other ports have installed their JAR files (a port should install in JAVAJARDIR but look for other JARs in JAVALIBDIR).
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.java.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/Mk/bsd.java.mk b/Mk/bsd.java.mk
index dffdd4a27156..2e2dcedd256b 100644
--- a/Mk/bsd.java.mk
+++ b/Mk/bsd.java.mk
@@ -15,7 +15,7 @@
.if !defined(Java_Include)
Java_Include= bsd.java.mk
-Java_Include_MAINTAINER= znerd@FreeBSD.org
+Java_Include_MAINTAINER= glewis@FreeBSD.org
#-------------------------------------------------------------------------------
# Variables that each port can define:
@@ -107,6 +107,13 @@ Java_Include_MAINTAINER= znerd@FreeBSD.org
# JDK 1.2 or later, this is ${JAVA_HOME}/jre/lib/rt.jar.
# Earlier JDK's use ${JAVA_HOME/lib/classes.zip.
#
+# JAVASHAREDIR The base directory for all shared Java resources.
+#
+# JAVAJARDIR The directory where a port should install JAR files.
+#
+# JAVALIBDIR The directory where JAR files installed by other ports
+# are located.
+#
#-------------------------------------------------------------------------------
# Porter's hints
#
@@ -138,6 +145,7 @@ Java_Include_MAINTAINER= znerd@FreeBSD.org
# in java/javavmwrapper/Makefile.
JAVASHAREDIR?= ${PREFIX}/share/java
JAVAJARDIR?= ${JAVASHAREDIR}/classes
+JAVALIBDIR?= ${LOCALBASE}/share/java/classes
# Add appropriate substitutions to PLIST_SUB
PLIST_SUB+= JAVASHAREDIR="${JAVASHAREDIR:S,^${PREFIX}/,,}" \