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/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/inputmethod/ibus-chewing/Makefile b/inputmethod/ibus-chewing/Makefile
index d2443db2a8f..8274826d927 100644
--- a/inputmethod/ibus-chewing/Makefile
+++ b/inputmethod/ibus-chewing/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2012/06/14 07:45:12 sbd Exp $
+# $NetBSD: Makefile,v 1.15 2012/08/13 11:50:45 obache Exp $
#
-DISTNAME= ibus-chewing-1.3.10-Source
+DISTNAME= ibus-chewing-1.4.0-Source
PKGNAME= ${DISTNAME:S/-Source//}
-PKGREVISION= 4
CATEGORIES= inputmethod chinese
MASTER_SITES= http://ibus.googlecode.com/files/
@@ -14,7 +13,6 @@ LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
-BUILD_DEPENDS+= cmake-fedora-[0-9]*:../../devel/cmake-fedora
BUILD_DEPENDS+= gob2-[0-9]*:../../devel/gob2
USE_CMAKE= yes
@@ -23,7 +21,7 @@ USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgmerge pkg-config
SUBST_CLASSES+= msgctxt
-SUBST_STAGE.msgctxt= post-extract
+SUBST_STAGE.msgctxt= post-patch
SUBST_FILES.msgctxt= po/*.po po/*.pot
SUBST_FILTER_CMD.msgctxt= ${STRIP_CMD.${MSGFMT_STRIP_MSGCTXT}}
STRIP_CMD.yes= ${AWK} -f ${PKGSRCDIR}/mk/tools/msgfmt-msgctxt.awk
@@ -32,15 +30,9 @@ STRIP_CMD.no= ${CAT}
GCONF_SCHEMAS= ibus-chewing.schemas
CMAKE_ARGS+= -DGCONF_SCHEMAS_INSTALLED_DIR=${GCONF_SCHEMAS_DIR}
+# missing in archive
post-extract:
- find ${WRKDIR} -type d -name PaxHeader | xargs rm -rf
-
-# avoid regen files
-post-patch:
- touch -r ${WRKSRC}/src/IBusChewingEngine-input-events.c.orig \
- ${WRKSRC}/src/IBusChewingEngine-input-events.c
- touch -r ${WRKSRC}/src/IBusChewingEngine.gob.orig \
- ${WRKSRC}/src/IBusChewingEngine.gob
+ ${TOUCH} ${WRKSRC}/po/ibus-chewing.pot
.include "../../devel/GConf/schemas.mk"
.include "../../inputmethod/ibus/buildlink3.mk"