summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-24 10:32:42 +0000
committerjlam <jlam@pkgsrc.org>2002-09-24 10:32:42 +0000
commitee0f22a270de39221ee01913ea9df5f6c0f1ac2e (patch)
tree5aa0c52d0b343cdc0a023b3b607524b4e309ac7d /devel
parente9d80ae385f615908dbf1c75cae409981afcbb3a (diff)
downloadpkgsrc-ee0f22a270de39221ee01913ea9df5f6c0f1ac2e.tar.gz
Add a buildlink2.mk for use by other packages.
Diffstat (limited to 'devel')
-rw-r--r--devel/g-wrap/buildlink2.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/g-wrap/buildlink2.mk b/devel/g-wrap/buildlink2.mk
new file mode 100644
index 00000000000..08fa7e15b6b
--- /dev/null
+++ b/devel/g-wrap/buildlink2.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/24 10:32:42 jlam Exp $
+
+.if !defined(G_WRAP_BUILDLINK2_MK)
+G_WRAP_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= g-wrap
+BUILDLINK_DEPENDS.g-wrap?= g-wrap>=1.2.1
+BUILDLINK_PKGSRCDIR.g-wrap?= ../../devel/g-wrap
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.g-wrap=g-wrap
+BUILDLINK_PREFIX.g-wrap_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.g-wrap+= include/g-wrap-runtime-guile.h
+BUILDLINK_FILES.g-wrap+= lib/libg-wrap-runtime-guile.*
+
+.include "../../lang/guile/buildlink2.mk"
+
+BUILDLINK_TARGETS+= g-wrap-buildlink
+
+g-wrap-buildlink: _BUILDLINK_USE
+
+.endif # G_WRAP_BUILDLINK2_MK