summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-12-19 12:46:30 +0000
committerabs <abs@pkgsrc.org>2002-12-19 12:46:30 +0000
commit35684ce0f99162351e1bba09ece2cba6d85fab2e (patch)
treee9e47af945690aca6c1002092e853ffaccc84399 /lang
parent591f119875d9cec18c34af6d43712a0c9611ac9a (diff)
downloadpkgsrc-35684ce0f99162351e1bba09ece2cba6d85fab2e.tar.gz
Initial buildlink2.mk for wonka - taken from kaffe
Diffstat (limited to 'lang')
-rw-r--r--lang/wonka/buildlink2.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/lang/wonka/buildlink2.mk b/lang/wonka/buildlink2.mk
new file mode 100644
index 00000000000..7142545642b
--- /dev/null
+++ b/lang/wonka/buildlink2.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/12/19 12:46:30 abs Exp $
+
+.if !defined(WONKA_BUILDLINK2_MK)
+WONKA_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= wonka
+BUILDLINK_PKGBASE.wonka?= wonka
+BUILDLINK_DEPENDS.wonka?= wonka-[0-9]*
+BUILDLINK_PKGSRCDIR.wonka?= ../../lang/wonka
+
+BUILDLINK_PREFIX.wonka= ${LOCALBASE}
+BUILDLINK_FILES_CMD.wonka= \
+ ${BUILDLINK_PLIST_CMD.wonka} | \
+ ${GREP} '\(include.*/\|lib.*/lib[^/]*$$\)' | \
+ ${SED} "s,^,$${pkg_prefix},"
+
+EVAL_PREFIX+= BUILDLINK_JAVA_PREFIX.wonka=wonka
+BUILDLINK_JAVA_PREFIX.wonka_DEFAULT= \
+ ${BUILDLINK_PREFIX.wonka}/java/wonka
+
+BUILDLINK_CPPFLAGS.wonka= \
+ -I${BUILDLINK_JAVA_PREFIX.wonka}/include \
+ -I${BUILDLINK_JAVA_PREFIX.wonka}/include/wonka
+
+BUILDLINK_TARGETS+= wonka-buildlink
+
+wonka-buildlink: _BUILDLINK_USE
+
+.endif # WONKA_BUILDLINK2_MK