2012-12-22 09:58:14 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2012/12/22 08:58:14 obache Exp $
|
2010-08-07 04:18:29 +02:00
|
|
|
#
|
|
|
|
|
2012-12-22 09:58:14 +01:00
|
|
|
DISTNAME= ibus-table-chinese-1.4.6-Source
|
2012-09-10 13:53:40 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/-Source//}
|
2010-08-07 04:18:29 +02:00
|
|
|
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
|
|
|
|
|
2010-12-03 13:14:29 +01:00
|
|
|
USE_CMAKE= yes
|
|
|
|
USE_LANGUAGES= c c++
|
2010-08-07 04:18:29 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
2012-02-18 06:34:23 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2010-12-06 06:16:14 +01:00
|
|
|
# Illegal byte sequence in array30_ExtB.txt
|
2012-02-18 06:34:23 +01:00
|
|
|
. if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
|
2010-12-03 13:14:29 +01:00
|
|
|
BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv
|
|
|
|
FIND_PREFIX:= ICONV_PREFIX=libiconv
|
|
|
|
.include "../../mk/find-prefix.mk"
|
|
|
|
|
|
|
|
CMAKE_ARGS+= -DICONV_CMD:PATH=${ICONV_PREFIX}/bin/iconv
|
2012-02-18 06:34:23 +01:00
|
|
|
.endif
|
2010-08-07 04:18:29 +02:00
|
|
|
|
|
|
|
.include "../../inputmethod/ibus-table/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|