| @@ -1,19 +1,18 @@ | | | @@ -1,19 +1,18 @@ |
1 | # $NetBSD: Makefile,v 1.5 2010/11/15 22:57:32 abs Exp $ | | 1 | # $NetBSD: Makefile,v 1.6 2010/12/03 08:56:39 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ibus-chewing-1.3.7.20100910-Source | | 4 | DISTNAME= ibus-chewing-1.3.9.2-Source |
5 | PKGNAME= ${DISTNAME:S/-Source//} | | 5 | PKGNAME= ${DISTNAME:S/-Source//} |
6 | PKGREVISION= 2 | | | |
7 | CATEGORIES= inputmethod chinese | | 6 | CATEGORIES= inputmethod chinese |
8 | MASTER_SITES= http://ibus.googlecode.com/files/ | | 7 | MASTER_SITES= http://ibus.googlecode.com/files/ |
9 | | | 8 | |
10 | MAINTAINER= obache@NetBSD.org | | 9 | MAINTAINER= obache@NetBSD.org |
11 | HOMEPAGE= http://code.google.com/p/ibus/ | | 10 | HOMEPAGE= http://code.google.com/p/ibus/ |
12 | COMMENT= Chewing engine for IBus input platform | | 11 | COMMENT= Chewing engine for IBus input platform |
13 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
14 | | | 13 | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 15 | |
17 | BUILD_DEPENDS+= gob2-[0-9]*:../../devel/gob2 | | 16 | BUILD_DEPENDS+= gob2-[0-9]*:../../devel/gob2 |
18 | | | 17 | |
19 | USE_CMAKE= yes | | 18 | USE_CMAKE= yes |
| @@ -21,22 +20,19 @@ USE_LANGUAGES= c c++ | | | @@ -21,22 +20,19 @@ USE_LANGUAGES= c c++ |
21 | USE_PKGLOCALEDIR= yes | | 20 | USE_PKGLOCALEDIR= yes |
22 | USE_TOOLS+= msgmerge pkg-config | | 21 | USE_TOOLS+= msgmerge pkg-config |
23 | | | 22 | |
24 | SUBST_CLASSES+= msgctxt | | 23 | SUBST_CLASSES+= msgctxt |
25 | SUBST_STAGE.msgctxt= post-extract | | 24 | SUBST_STAGE.msgctxt= post-extract |
26 | SUBST_FILES.msgctxt= po/*.po po/*.pot | | 25 | SUBST_FILES.msgctxt= po/*.po po/*.pot |
27 | SUBST_FILTER_CMD.msgctxt= ${STRIP_CMD.${MSGFMT_STRIP_MSGCTXT}} | | 26 | SUBST_FILTER_CMD.msgctxt= ${STRIP_CMD.${MSGFMT_STRIP_MSGCTXT}} |
28 | STRIP_CMD.yes= ${AWK} -f ${PKGSRCDIR}/mk/tools/msgfmt-msgctxt.awk | | 27 | STRIP_CMD.yes= ${AWK} -f ${PKGSRCDIR}/mk/tools/msgfmt-msgctxt.awk |
29 | STRIP_CMD.no= ${CAT} | | 28 | STRIP_CMD.no= ${CAT} |
30 | | | 29 | |
31 | GCONF_SCHEMAS= ibus-chewing.schemas | | 30 | GCONF_SCHEMAS= ibus-chewing.schemas |
32 | CMAKE_ARGS+= -DGCONF_SCHEMAS_INSTALLED_DIR=${GCONF_SCHEMAS_DIR} | | 31 | CMAKE_ARGS+= -DGCONF_SCHEMAS_INSTALLED_DIR=${GCONF_SCHEMAS_DIR} |
33 | | | 32 | |
34 | # Not used, but checkd | | | |
35 | TOOLS_NOOP+= rpmbuild rpmbuild-md5 | | | |
36 | | | | |
37 | .include "../../devel/GConf/schemas.mk" | | 33 | .include "../../devel/GConf/schemas.mk" |
38 | .include "../../inputmethod/ibus/buildlink3.mk" | | 34 | .include "../../inputmethod/ibus/buildlink3.mk" |
39 | .include "../../inputmethod/libchewing/buildlink3.mk" | | 35 | .include "../../inputmethod/libchewing/buildlink3.mk" |
40 | .include "../../x11/gtk2/buildlink3.mk" | | 36 | .include "../../x11/gtk2/buildlink3.mk" |
41 | .include "../../x11/libXtst/buildlink3.mk" | | 37 | .include "../../x11/libXtst/buildlink3.mk" |
42 | .include "../../mk/bsd.pkg.mk" | | 38 | .include "../../mk/bsd.pkg.mk" |