summaryrefslogtreecommitdiff
path: root/devel/nbitools/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/nbitools/buildlink3.mk')
-rw-r--r--devel/nbitools/buildlink3.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/nbitools/buildlink3.mk b/devel/nbitools/buildlink3.mk
new file mode 100644
index 00000000000..b3ef29f4b96
--- /dev/null
+++ b/devel/nbitools/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/05 19:09:22 minskim Exp $
+#
+# This Makefile fragment is included by packages that use nbitools.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+NBITOOLS_BUILDLINK3_MK:= ${NBITOOLS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= nbitools
+.endif
+
+.if !empty(NBITOOLS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= nbitools
+BUILDLINK_DEPENDS.nbitools+= nbitools>=6.3
+BUILDLINK_PKGSRCDIR.nbitools?= ../../devel/nbitools
+BUILDLINK_DEPMETHOD.nbitools?= build
+
+BUILDLINK_FILES.nbitools+= lib/itools/X11/config/*
+
+XMKMF_CMD= ${BUILDLINK_PREFIX.nbitools}/libexec/itools/xmkmf
+
+.endif # NBITOOLS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}