blob: ee280c36bbe383d7d2da16e01a1704822aeb2bde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $NetBSD: Makefile,v 1.41 2015/03/15 18:46:55 hiramatsu Exp $
#
DISTNAME= ibus-chewing-1.4.12-Source
PKGNAME= ${DISTNAME:S/-Source//}
CATEGORIES= inputmethod chinese
MASTER_SITES= https://github.com/definite/ibus-chewing/releases/download/${PKGVERSION_NOREV}/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/ibus/
COMMENT= Chewing engine for IBus input platform
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= gob2-[0-9]*:../../devel/gob2
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt pkg-config
TOOLS_NOOP+= msgmerge xgettext
BUILD_TARGET= all translations
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"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|