summaryrefslogtreecommitdiff
path: root/inputmethod/ibus-chewing/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/ibus-chewing/Makefile')
-rw-r--r--inputmethod/ibus-chewing/Makefile20
1 files changed, 12 insertions, 8 deletions
diff --git a/inputmethod/ibus-chewing/Makefile b/inputmethod/ibus-chewing/Makefile
index b02371437bc..80c371e3dc8 100644
--- a/inputmethod/ibus-chewing/Makefile
+++ b/inputmethod/ibus-chewing/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2014/10/07 16:47:27 adam Exp $
+# $NetBSD: Makefile,v 1.40 2014/12/13 06:33:15 obache Exp $
#
-DISTNAME= ibus-chewing-1.4.10.1-Source
+DISTNAME= ibus-chewing-1.4.12-Source
PKGNAME= ${DISTNAME:S/-Source//}
-PKGREVISION= 1
CATEGORIES= inputmethod chinese
MASTER_SITES= https://github.com/definite/ibus-chewing/releases/download/${PKGVERSION_NOREV}/
@@ -20,13 +19,18 @@ USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt pkg-config
TOOLS_NOOP+= msgmerge xgettext
-GCONF_SCHEMAS= ibus-chewing.schemas
-CMAKE_ARGS+= -DLIBEXEC_DIR=${PREFIX}/libexec
-CMAKE_ARGS+= -DGCONF_SCHEMAS_INSTALLED_DIR:PATH=${GCONF_SCHEMAS_DIR}
-
BUILD_TARGET= all translations
-.include "../../devel/GConf/schemas.mk"
+SUBST_CLASSES+= libexecdir
+SUBST_STAGE.libexecdir= post-configure
+SUBST_FILES.libexecdir= data/ibus-setup-chewing.desktop
+SUBST_SED.libexecdir= -e 's,/usr/libexec/,${PREFIX}/libexec/,g'
+
+TEST_TARGET= test
+
+.include "../../devel/glib2/schemas.mk"
+
+.include "../../devel/glib2/buildlink3.mk"
.include "../../inputmethod/ibus/buildlink3.mk"
.include "../../inputmethod/libchewing/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"