- New tables which was not include in original: + array30, array30-big, wubi-haifeng - Table removed from original version because of license issues: + zhengma, ziranma - Add package review ID - Add build tag for el6
35 lines
954 B
Makefile
35 lines
954 B
Makefile
# $NetBSD: Makefile,v 1.3 2010/12/06 05:16:14 obache Exp $
|
|
#
|
|
|
|
DISTNAME= ibus-table-chinese-1.3.0.20101206-Source
|
|
PKGNAME= ${DISTNAME:S/-Source//}
|
|
CATEGORIES= inputmethod chinese
|
|
MASTER_SITES= http://ibus.googlecode.com/files/
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= http://code.google.com/p/ibus/
|
|
COMMENT= Chinese tables for IBus-Table
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= pkg-config
|
|
|
|
# Illegal byte sequence in array30_ExtB.txt
|
|
CHECK_BUILTIN.iconv:= yes
|
|
.include "../../converters/libiconv/builtin.mk"
|
|
CHECK_BUILTIN.iconv:= no
|
|
.if ${ICONV_TYPE} != "gnu" || !exists(/usr/bin/iconv)
|
|
BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv
|
|
FIND_PREFIX:= ICONV_PREFIX=libiconv
|
|
.include "../../mk/find-prefix.mk"
|
|
.else
|
|
ICONV_PREFIX=/usr
|
|
.endif
|
|
|
|
CMAKE_ARGS+= -DICONV_CMD:PATH=${ICONV_PREFIX}/bin/iconv
|
|
|
|
.include "../../inputmethod/ibus-table/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|