pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Brought the comment into "pkgsrc comment normal form".
details: https://anonhg.NetBSD.org/pkgsrc/rev/65451d74d9be
branches: trunk
changeset: 521076:65451d74d9be
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Nov 04 21:02:57 2006 +0000
description:
Brought the comment into "pkgsrc comment normal form".
diffstat:
mk/java-vm.mk | 50 +++++++++++++++++++++++++++++++++-----------------
1 files changed, 33 insertions(+), 17 deletions(-)
diffs (67 lines):
diff -r 1051b72a661b -r 65451d74d9be mk/java-vm.mk
--- a/mk/java-vm.mk Sat Nov 04 18:37:28 2006 +0000
+++ b/mk/java-vm.mk Sat Nov 04 21:02:57 2006 +0000
@@ -1,30 +1,46 @@
-# $NetBSD: java-vm.mk,v 1.47 2006/05/15 19:44:06 tv Exp $
+# $NetBSD: java-vm.mk,v 1.48 2006/11/04 21:02:57 rillig Exp $
#
# This Makefile fragment handles Java dependencies and make variables,
# and is meant to be included by packages that require Java either at
-# build-time or at run-time. java-vm.mk will:
+# build-time or at run-time.
#
-# * set PKG_JVM and PKG_JAVA_HOME to the name of the JVM used and
-# to the directory in which the JVM is installed, respectively;
+# User-settable variables:
+#
+# PKG_JVM_DEFAULT
+# The JVM that should be used if nothing particular is specified.
#
-# * add a full dependency on the JRE and possibly a build dependency
-# on the JDK.
+# Possible values: jdk sun-jdk13 blackdown-jdk13 kaffe
+# sun-jdk14 jdk14 sun-jdk15 scsl-jdk15
+# Default value: (platform-dependent)
+#
+# Package-settable variables:
#
-# There are four variables used to tweak the JVM selection:
+# USE_JAVA
+# When set to "yes", a build-time dependency on the JDK is added.
+# When set to "run", a run-time dependency on the JRE is added.
+#
+# Possible values: yes run
+# Default value: yes
#
-# USE_JAVA is used to note whether a build-time dependency on the JDK is
-# added (the default). If USE_JAVA is set to "run", then we _don't_
-# add the dependency on the JDK. The default value is "yes".
+# USE_JAVA2
+# When the package needs a Java 2 implementation, this variable
+# should be set to "yes". It can also be set to "1.4" or "1.5" to
+# require an even more recent implementation.
+#
+# Possible values: (undefined) yes 1.4 1.5
+# Default value: (undefined)
#
-# USE_JAVA2 is used to note that the package requires a Java2 implementation.
-# It's undefined by default, but may be set to "yes" or to one of
-# 1.4 or 1.5
+# PKG_JVMS_ACCEPTED
+# The list of JVMs that may be used as possible implementations.
+#
+# Variables set by this file:
#
-# PKG_JVM_DEFAULT is a user-settable variable whose value is the default
-# JVM to use.
+# PKG_JVM
+# The name of the selected Java implementation.
#
-# PKG_JVMS_ACCEPTED is a package-settable list of JVMs that may be used as
-# possible dependencies for the package.
+# PKG_JAVA_HOME
+# The directory where the JVM is installed.
+#
.if !defined(JAVA_VM_MK)
JAVA_VM_MK= # defined
Home |
Main Index |
Thread Index |
Old Index