summaryrefslogtreecommitdiff
path: root/textproc/hunspell/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/hunspell/buildlink3.mk')
-rw-r--r--textproc/hunspell/buildlink3.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/textproc/hunspell/buildlink3.mk b/textproc/hunspell/buildlink3.mk
new file mode 100644
index 00000000000..db19d102924
--- /dev/null
+++ b/textproc/hunspell/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/09/11 17:48:06 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+HUNSPELL_BUILDLINK3_MK:= ${HUNSPELL_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= hunspell
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhunspell}
+BUILDLINK_PACKAGES+= hunspell
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hunspell
+
+.if ${HUNSPELL_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.hunspell+= hunspell>=1.1.12.2
+BUILDLINK_PKGSRCDIR.hunspell?= ../../textproc/hunspell
+.endif # HUNSPELL_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}