1 # $NetBSD: Makefile,v 1.15 2012/10/06 14:25:17 asau Exp $
4 DISTNAME= scim-python-0.1.13rc1
6 CATEGORIES= inputmethod python
7 MASTER_SITES= http://scim-python.googlecode.com/files/
8 DISTFILES= ${DEFAULT_DISTFILES} ${DBTAR}
10 MAINTAINER= obache@NetBSD.org
11 HOMEPAGE= http://code.google.com/p/scim-python/
12 COMMENT= Python wrapper for Smart Common Input Method platform
13 LICENSE= gnu-lgpl-v2 AND gnu-gpl-v2
15 DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
16 DEPENDS+= ${PYPKGPREFIX}-enchant-[0-9]*:../../textproc/py-enchant
22 USE_TOOLS+= pkg-config msgfmt
24 # taken from ${WRKSRC}/python/engine/PinYin/Makefile.in
26 DBTAR= pinyin-database-${DBVER}.tar.bz2
29 ${TOUCH} ${WRKSRC}/python/engine/PinYin/${DBTAR}
30 ${CP} ${WRKDIR}/py.db ${WRKSRC}/python/engine/PinYin/py.db
34 REPLACE_PYTHON+= python/engine/XingMa/XMCreateDB.py
36 .include "../../inputmethod/scim/buildlink3.mk"
37 .include "../../x11/py-gtk2/buildlink3.mk"
38 .include "../../lang/python/extension.mk"
39 .include "../../lang/python/application.mk"
40 .include "../../mk/bsd.pkg.mk"