summaryrefslogtreecommitdiff
path: root/devel/gtl/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gtl/buildlink2.mk')
-rw-r--r--devel/gtl/buildlink2.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/gtl/buildlink2.mk b/devel/gtl/buildlink2.mk
new file mode 100644
index 00000000000..4cf4db55a9a
--- /dev/null
+++ b/devel/gtl/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.1 2003/01/07 11:47:29 uebayasi Exp $
+#
+# This Makefile fragment is included by packages that use gtl.
+#
+
+.if !defined(GTL_BUILDLINK2_MK)
+GTL_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gtl
+BUILDLINK_DEPENDS.gtl?= gtl>=0.3.3
+BUILDLINK_PKGSRCDIR.gtl?= ../../devel/gtl
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gtl=gtl
+BUILDLINK_PREFIX.gtl_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.gtl+= include/GTL/*
+BUILDLINK_FILES.gtl+= lib/libGTL.*
+
+
+BUILDLINK_TARGETS+= gtl-buildlink
+
+gtl-buildlink: _BUILDLINK_USE
+
+.endif # GTL_BUILDLINK2_MK