blob: 68f7dd8a73a6a8272eb70755e8d82ed8dc939da1 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# $NetBSD: Makefile,v 1.6 2010/11/15 22:57:32 abs Exp $
#
DISTNAME= ibus-1.3.8
PKGREVISION= 1
CATEGORIES= inputmethod
MASTER_SITES= http://ibus.googlecode.com/files/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://code.google.com/p/ibus/
COMMENT= Intelligent Input Bus
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
DEPENDS+= ${PYPKGPREFIX}-notify>=0.1.1nb3:../../sysutils/py-notify
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config intltool msgfmt gmake
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
GCONF_SCHEMAS+= ibus.schemas
PKGCONFIG_OVERRIDE+= ibus-1.0.pc.in
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
BUILD_DEFS+= PKG_SYSCONFBASE
EXAMPLESDIR= ${PREFIX}/share/examples/ibus
INSTALL_MAKE_FLAGS+= sysconfdir=${EXAMPLESDIR}
MAKE_DIRS+= ${PKG_SYSCONFBASE}/xdg/autostart
CONF_FILES+= ${EXAMPLESDIR}/xdg/autostart/ibus.desktop \
${PKG_SYSCONFBASE}/xdg/autostart/ibus.desktop
SUBST_CLASSES+= epython
SUBST_STAGE.epython= pre-configure
SUBST_FILES.epython= setup/ibus-setup.in ui/gtk/ibus-ui-gtk.in
SUBST_SED.epython= -e 's;exec python;exec ${PYTHONBIN};g'
.include "bad-env-usage.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
PY_PATCHPLIST= yes
.include "../../lang/python/extension.mk"
BUILDLINK_API_DEPENDS.dbus-glib+= dbus-glib>=0.74
.include "../../sysutils/dbus-glib/buildlink3.mk"
BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.83.0
.include "../../sysutils/py-dbus/buildlink3.mk"
.include "../../textproc/iso-codes/buildlink3.mk"
GTK2_IMMODULES= yes
.include "../../x11/gtk2/modules.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
|