summaryrefslogtreecommitdiff
path: root/inputmethod/m17n-im-config/buildlink3.mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2008-02-27 14:07:46 +0000
committerobache <obache@pkgsrc.org>2008-02-27 14:07:46 +0000
commit7c41a822af01fbdaa42520b3787c77cd053b6d8c (patch)
treea45a6dcc6aac044ec5f64875727868778b5f4038 /inputmethod/m17n-im-config/buildlink3.mk
parent4d33578845ae2f85f331e512b15b42bda5d64a7c (diff)
downloadpkgsrc-7c41a822af01fbdaa42520b3787c77cd053b6d8c.tar.gz
Import m17n-im-config version 0.9.0.
The m17n-im-config package provides a C library (libm17n-im-config.so) to create a GTK+ widget for per-user configuration of input methods provided by the m17n library, and a standalone GTK+ program (m17n-im-config) that uses the above widget.
Diffstat (limited to 'inputmethod/m17n-im-config/buildlink3.mk')
-rw-r--r--inputmethod/m17n-im-config/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/inputmethod/m17n-im-config/buildlink3.mk b/inputmethod/m17n-im-config/buildlink3.mk
new file mode 100644
index 00000000000..363e590b8e3
--- /dev/null
+++ b/inputmethod/m17n-im-config/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/27 14:07:46 obache Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+M17N_IM_CONFIG_BUILDLINK3_MK:= ${M17N_IM_CONFIG_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= m17n-im-config
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nm17n-im-config}
+BUILDLINK_PACKAGES+= m17n-im-config
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}m17n-im-config
+
+.if ${M17N_IM_CONFIG_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.m17n-im-config+= m17n-im-config>=0.9.0
+BUILDLINK_PKGSRCDIR.m17n-im-config?= ../../inputmethod/m17n-im-config
+.endif # M17N_IM_CONFIG_BUILDLINK3_MK
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/m17n-lib/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}