summaryrefslogtreecommitdiff
path: root/textproc/sublib/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/sublib/buildlink3.mk')
-rw-r--r--textproc/sublib/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/textproc/sublib/buildlink3.mk b/textproc/sublib/buildlink3.mk
new file mode 100644
index 00000000000..49e892983ef
--- /dev/null
+++ b/textproc/sublib/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/01/06 08:54:21 kefren Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SUBLIB_BUILDLINK3_MK:= ${SUBLIB_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= sublib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsublib}
+BUILDLINK_PACKAGES+= sublib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sublib
+
+.if ${SUBLIB_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.sublib+= sublib>=0.9
+BUILDLINK_PKGSRCDIR.sublib?= ../../textproc/sublib
+.endif # SUBLIB_BUILDLINK3_MK
+
+.include "../../lang/mono/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}