summaryrefslogtreecommitdiff
path: root/devel/libthai/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libthai/buildlink3.mk')
-rw-r--r--devel/libthai/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/libthai/buildlink3.mk b/devel/libthai/buildlink3.mk
new file mode 100644
index 00000000000..da5bea668f5
--- /dev/null
+++ b/devel/libthai/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/11 02:20:44 obache Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBTHAI_BUILDLINK3_MK:= ${LIBTHAI_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libthai
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibthai}
+BUILDLINK_PACKAGES+= libthai
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libthai
+
+.if ${LIBTHAI_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libthai+= libthai>=0.1.9
+BUILDLINK_PKGSRCDIR.libthai?= ../../devel/libthai
+.endif # LIBTHAI_BUILDLINK3_MK
+
+.include "../../devel/libdatrie/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}