Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.26 2013/06/06 12:54:37 wiz Exp $
# $NetBSD: Makefile,v 1.35 2014/01/17 07:54:54 obache Exp $
#
DISTNAME= ibus-chewing-1.4.3-Source
DISTNAME= ibus-chewing-1.4.7-Source
PKGNAME= ${DISTNAME:S/-Source//}
PKGREVISION= 4
CATEGORIES= inputmethod chinese
MASTER_SITES= http://ibus.googlecode.com/files/
@@ -17,22 +16,14 @@ BUILD_DEPENDS+= gob2-[0-9]*:../../devel/gob2
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgmerge pkg-config
SUBST_CLASSES+= msgctxt
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
STRIP_CMD.no= ${CAT}
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=${GCONF_SCHEMAS_DIR}
CMAKE_ARGS+= -DGCONF_SCHEMAS_INSTALLED_DIR:PATH=${GCONF_SCHEMAS_DIR}
# missing in archive
post-extract:
${TOUCH} ${WRKSRC}/po/ibus-chewing.pot
BUILD_TARGET= all translations
.include "../../devel/GConf/schemas.mk"
.include "../../inputmethod/ibus/buildlink3.mk"