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/blackdown-jre13 | |
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/blackdown-jre13')
-rw-r--r-- | lang/blackdown-jre13/buildlink2.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lang/blackdown-jre13/buildlink2.mk b/lang/blackdown-jre13/buildlink2.mk new file mode 100644 index 00000000000..9dfee6fc2f3 --- /dev/null +++ b/lang/blackdown-jre13/buildlink2.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink2.mk,v 1.1 2002/10/13 07:51:39 jlam Exp $ + +.if !defined(BLACKDOWN_JRE13_BUILDLINK2_MK) +BLACKDOWN_JRE13_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= blackdown-jre13 +BUILDLINK_PKGBASE.blackdown-jre13?= blackdown-jre13 +BUILDLINK_DEPENDS.blackdown-jre13?= blackdown-jre13-[0-9]* +BUILDLINK_PKGSRCDIR.blackdown-jre13?= ../../lang/blackdown-jre13 + +BUILDLINK_PREFIX.blackdown-jre13= ${LOCALBASE} +BUILDLINK_FILES_CMD.blackdown-jre13= \ + ${BUILDLINK_PLIST_CMD.blackdown-jre13} | \ + ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \ + ${SED} "s,^,$${pkg_prefix}," + +EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.blackdown-jre13=blackdown-jre13 +BUILDLINK_JAVA_PREFIX.blackdown-jre13_DEFAULT= \ + ${BUILDLINK_PREFIX.blackdown-jre13}/java/sun-1.3.1 + +BUILDLINK_TARGETS+= blackdown-jre13-buildlink + +blackdown-jre13-buildlink: _BUILDLINK_USE + +.endif # BLACKDOWN_JRE13_BUILDLINK2_MK |