diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2004-09-02 05:02:58 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2004-09-02 05:02:58 +0000 |
commit | 58327a1eba0d7496b05aa0bbbe3171c3d963c1a1 (patch) | |
tree | 3fd3d8247298be9fa451b61591f7747506ea5e1e /Mk/bsd.java.mk | |
parent | Use the new PHP infrastructure to depend on php-gd. Get rid of warning (diff) |
. 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/bsd.java.mk')
-rw-r--r-- | Mk/bsd.java.mk | 10 |
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}/,,}" \ |