diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-13 07:51:34 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-13 07:51:34 +0000 |
commit | 5c4953978d44bb8a532ec4c5addc9c96a21dac2c (patch) | |
tree | 3efae8cacbee8052c6ce241723b007c1a09a0d67 /lang/sun-jre13/buildlink2.mk | |
parent | de232f34b8c9a0090fca6bd7dea131acbd8bfd11 (diff) | |
download | pkgsrc-5c4953978d44bb8a532ec4c5addc9c96a21dac2c.tar.gz |
Add buildlink2.mk files for use by other package Makefiles. Each JVM
buildlink2.mk file creates a public variable "BUILDLINK_JAVA_PREFIX.<pkg>"
that may be used as the JAVA_HOME for that package.
Diffstat (limited to 'lang/sun-jre13/buildlink2.mk')
-rw-r--r-- | lang/sun-jre13/buildlink2.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/sun-jre13/buildlink2.mk b/lang/sun-jre13/buildlink2.mk new file mode 100644 index 00000000000..b1a2fb4003c --- /dev/null +++ b/lang/sun-jre13/buildlink2.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:39 jlam Exp $ + +.if !defined(SUN_JRE13_BUILDLINK2_MK) +SUN_JRE13_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= sun-jre13 +BUILDLINK_PKGBASE.sun-jre13?= sun-jre13 +BUILDLINK_DEPENDS.sun-jre13?= sun-jre13-[0-9]* +BUILDLINK_PKGSRCDIR.sun-jre13?= ../../lang/sun-jre13 + +BUILDLINK_PREFIX.sun-jre13= ${LOCALBASE} +BUILDLINK_FILES_CMD.sun-jre13= \ + ${BUILDLINK_PLIST_CMD.sun-jre13} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.sun-jre13=sun-jre13 +BUILDLINK_JAVA_PREFIX.sun-jre13_DEFAULT= \ + ${BUILDLINK_PREFIX.sun-jre13}/java/sun-1.3.1 + +BUILDLINK_TARGETS+= sun-jre13-buildlink + +sun-jre13-buildlink: _BUILDLINK_USE + +.endif # SUN_JRE13_BUILDLINK2_MK |