aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2004-09-02 05:02:58 +0000
committerGreg Lewis <glewis@FreeBSD.org>2004-09-02 05:02:58 +0000
commit58327a1eba0d7496b05aa0bbbe3171c3d963c1a1 (patch)
tree3fd3d8247298be9fa451b61591f7747506ea5e1e /Mk
parent7e7fff1a63b6f2349ed5e6b8bd6978b7c8b0fa9e (diff)
downloadports-58327a1eba0d7496b05aa0bbbe3171c3d963c1a1.tar.gz
ports-58327a1eba0d7496b05aa0bbbe3171c3d963c1a1.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).
Notes
Notes: svn path=/head/; revision=117890
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}/,,}" \