Fixup fromcvs/togit conversion
[pkgsrcv2.git] / inputmethod / scim-python / Makefile
1 # $NetBSD: Makefile,v 1.15 2012/10/06 14:25:17 asau Exp $
2 #
3
4 DISTNAME=       scim-python-0.1.13rc1
5 PKGREVISION=    15
6 CATEGORIES=     inputmethod python
7 MASTER_SITES=   http://scim-python.googlecode.com/files/
8 DISTFILES=      ${DEFAULT_DISTFILES} ${DBTAR}
9
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
14
15 DEPENDS+=       ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
16 DEPENDS+=       ${PYPKGPREFIX}-enchant-[0-9]*:../../textproc/py-enchant
17
18 GNU_CONFIGURE=          yes
19 USE_LIBTOOL=            yes
20 USE_PKGLOCALEDIR=       yes
21 USE_LANGUAGES=          c c++
22 USE_TOOLS+=             pkg-config msgfmt
23
24 # taken from ${WRKSRC}/python/engine/PinYin/Makefile.in
25 DBVER=                  0.1.10.5
26 DBTAR=                  pinyin-database-${DBVER}.tar.bz2
27
28 post-extract:
29         ${TOUCH} ${WRKSRC}/python/engine/PinYin/${DBTAR}
30         ${CP} ${WRKDIR}/py.db ${WRKSRC}/python/engine/PinYin/py.db
31
32 PY_PATCHPLIST=          yes
33
34 REPLACE_PYTHON+=        python/engine/XingMa/XMCreateDB.py
35
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"