blob: dd8812e9fd00ab862c037834c12b8e1a4c35e7db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.1.1.1 2010/08/07 01:50:52 obache Exp $
#
DISTNAME= ibus-anthy-1.2.1
CATEGORIES= inputmethod japanese
MASTER_SITES= http://ibus.googlecode.com/files/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://code.google.com/p/ibus/
COMMENT= Anthy engine for IBus input platform
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= kasumi>=2.1:../../inputmethod/kasumi
DEPENDS+= ibus>=1.2.0.20100111:../../inputmethod/ibus
DEPENDS+= ${PYPKGPREFIX}-gtk2>=1.15.2:../../x11/py-gtk2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c
USE_TOOLS+= pkg-config msgfmt gmake intltool
FIND_PREFIX:= KASUMI_DIR=kasumi
.include "../../mk/find-prefix.mk"
CONFIGURE_ARGS+= --with-kasumi-exec=${KASUMI_DIR}/bin/kasumi
CONFIGURE_ARGS+= --with-kasumi-icon=${KASUMI_DIR}/share/pixmaps/kasumi.png
SUBST_CLASSES+= epython
SUBST_STAGE.epython= pre-configure
SUBST_FILES.epython= engine/ibus-engine-anthy.in setup/ibus-setup-anthy.in
SUBST_SED.epython= -e 's;exec python;exec ${PYTHONBIN};g'
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/swig/buildlink3.mk"
PY_PATCHPLIST= yes
.include "../../lang/python/extension.mk"
.include "../../inputmethod/anthy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|