| @@ -1,56 +1,57 @@ | | | @@ -1,56 +1,57 @@ |
1 | # $NetBSD: Makefile,v 1.14 2012/04/22 13:57:30 obache Exp $ | | 1 | # $NetBSD: Makefile,v 1.15 2012/05/02 09:11:43 obache Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= ibus-1.4.1 | | 4 | DISTNAME= ibus-1.4.1 |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= inputmethod | | 6 | CATEGORIES= inputmethod |
6 | MASTER_SITES= http://ibus.googlecode.com/files/ | | 7 | MASTER_SITES= http://ibus.googlecode.com/files/ |
7 | | | 8 | |
8 | MAINTAINER= obache@NetBSD.org | | 9 | MAINTAINER= obache@NetBSD.org |
9 | HOMEPAGE= http://code.google.com/p/ibus/ | | 10 | HOMEPAGE= http://code.google.com/p/ibus/ |
10 | COMMENT= Intelligent Input Bus | | 11 | COMMENT= Intelligent Input Bus |
11 | LICENSE= gnu-lgpl-v2.1 | | 12 | LICENSE= gnu-lgpl-v2.1 |
12 | | | 13 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 15 | |
15 | DEPENDS+= ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg | | 16 | DEPENDS+= ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg |
16 | DEPENDS+= ${PYPKGPREFIX}-notify>=0.1.1nb3:../../sysutils/py-notify | | 17 | DEPENDS+= ${PYPKGPREFIX}-notify>=0.1.1nb3:../../sysutils/py-notify |
17 | | | 18 | |
18 | GNU_CONFIGURE= yes | | 19 | GNU_CONFIGURE= yes |
19 | USE_LIBTOOL= yes | | 20 | USE_LIBTOOL= yes |
20 | USE_TOOLS+= pkg-config intltool msgfmt gmake | | 21 | USE_TOOLS+= pkg-config intltool msgfmt gmake |
21 | USE_LANGUAGES= c c++ | | 22 | USE_LANGUAGES= c c++ |
22 | USE_PKGLOCALEDIR= yes | | 23 | USE_PKGLOCALEDIR= yes |
23 | | | 24 | |
24 | GCONF_SCHEMAS+= ibus.schemas | | 25 | GCONF_SCHEMAS+= ibus.schemas |
25 | PKGCONFIG_OVERRIDE+= ibus-1.0.pc.in | | 26 | PKGCONFIG_OVERRIDE+= ibus-1.0.pc.in |
26 | | | 27 | |
27 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} | | 28 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR} |
28 | CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale | | 29 | CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale |
29 | CONFIGURE_ARGS+= --enable-gtk2 | | 30 | CONFIGURE_ARGS+= --enable-gtk2 |
30 | CONFIGURE_ARGS+= --disable-gtk3 | | 31 | CONFIGURE_ARGS+= --disable-gtk3 |
31 | CONFIGURE_ARGS+= --enable-surrounding-text | | 32 | CONFIGURE_ARGS+= --enable-surrounding-text |
32 | | | 33 | |
33 | SUBST_CLASSES+= dbus | | 34 | SUBST_CLASSES+= dbus |
34 | SUBST_STAGE.dbus= post-configure | | 35 | SUBST_STAGE.dbus= post-configure |
35 | SUBST_FILES.dbus= src/ibusshare.c | | 36 | SUBST_FILES.dbus= src/ibusshare.c |
36 | SUBST_SED.dbus= -e 's,/var/lib/dbus/machine-id,${VARBASE}/db/dbus/machine-id,g' | | 37 | SUBST_SED.dbus= -e 's,/var/lib/dbus/machine-id,${VARBASE}/db/dbus/machine-id,g' |
37 | | | 38 | |
38 | BUILD_DEFS+= PKG_SYSCONFBASE VARBASE | | 39 | BUILD_DEFS+= PKG_SYSCONFBASE VARBASE |
39 | | | 40 | |
40 | BUILDLINK_API_DEPENDS.GConf+= GConf>=2.12 | | 41 | BUILDLINK_API_DEPENDS.GConf+= GConf>=2.12 |
41 | .include "../../devel/GConf/schemas.mk" | | 42 | .include "../../devel/GConf/schemas.mk" |
42 | .include "../../devel/gettext-lib/buildlink3.mk" | | 43 | .include "../../devel/gettext-lib/buildlink3.mk" |
43 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0 | | 44 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0 |
44 | .include "../../devel/glib2/buildlink3.mk" | | 45 | .include "../../devel/glib2/buildlink3.mk" |
45 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 46 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
46 | PY_PATCHPLIST= yes | | 47 | PY_PATCHPLIST= yes |
47 | .include "../../lang/python/extension.mk" | | 48 | .include "../../lang/python/extension.mk" |
48 | BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.83.0 | | 49 | BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.83.0 |
49 | .include "../../sysutils/py-dbus/buildlink3.mk" | | 50 | .include "../../sysutils/py-dbus/buildlink3.mk" |
50 | .include "../../textproc/iso-codes/buildlink3.mk" | | 51 | .include "../../textproc/iso-codes/buildlink3.mk" |
51 | GTK2_IMMODULES= yes | | 52 | GTK2_IMMODULES= yes |
52 | .include "../../x11/gtk2/modules.mk" | | 53 | .include "../../x11/gtk2/modules.mk" |
53 | .include "../../x11/py-gtk2/buildlink3.mk" | | 54 | .include "../../x11/py-gtk2/buildlink3.mk" |
54 | .include "../../x11/libX11/buildlink3.mk" | | 55 | .include "../../x11/libX11/buildlink3.mk" |
55 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 56 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
56 | .include "../../mk/bsd.pkg.mk" | | 57 | .include "../../mk/bsd.pkg.mk" |