aboutsummaryrefslogtreecommitdiff
path: root/textproc/ibus
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-01-04 23:27:58 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-01-04 23:27:58 +0000
commit7f55a2faa988e0bee4b144712abed7f0a7e5de7f (patch)
tree5094821d4832268b6a38be61f91d1a9645a988e9 /textproc/ibus
parent808417cacbc6e2d2a221750f5e818dbfab2303f3 (diff)
downloadports-7f55a2faa988e0bee4b144712abed7f0a7e5de7f.tar.gz
ports-7f55a2faa988e0bee4b144712abed7f0a7e5de7f.zip
Notes
Diffstat (limited to 'textproc/ibus')
-rw-r--r--textproc/ibus/Makefile13
-rw-r--r--textproc/ibus/pkg-plist8
2 files changed, 7 insertions, 14 deletions
diff --git a/textproc/ibus/Makefile b/textproc/ibus/Makefile
index d57a1e6fd27b..772a1692caf0 100644
--- a/textproc/ibus/Makefile
+++ b/textproc/ibus/Makefile
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.0:${PORTSDIR}/devel/py-dbus \
${PYTHON_SITELIBDIR}/gtk-2.0/pynotify/__init__.py:${PORTSDIR}/devel/py-notify \
${PYTHON_SITELIBDIR}/xdg/__init__.py:${PORTSDIR}/devel/py-xdg \
librsvg2>=2.0:${PORTSDIR}/graphics/librsvg2
-LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
USE_PYTHON= yes
USE_GNOME= pygtk2 gconf2
@@ -37,7 +37,6 @@ GTK3_DESC= Install GTK3 client
VALA_DESC= Install vala binding
GINTRO_DESC= Install GObject Introspection data
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MISOCODES}
@@ -91,13 +90,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|/var/lib/dbus|/var/db/dbus|g' ${WRKSRC}/src/ibusshare.c #devel/dbus/files/dbus.in
post-install:
- @${MKDIR} ${PREFIX}/etc/xdg/autostart
- @${INSTALL_DATA} ${WRKSRC}/bus/ibus.desktop ${PREFIX}/etc/xdg/autostart
-. if ${PORT_OPTIONS:MGTK3}
- @${LOCALBASE}/bin/gtk-query-immodules-3.0 > ${LOCALBASE}/lib/gtk-3.0/${GTK3_VERSION}/immodules.cache
-. endif
- @${LOCALBASE}/bin/gtk-query-immodules-2.0 > ${LOCALBASE}/etc/gtk-2.0/gtk.immodules
- @${CAT} ${PKGMESSAGE}
- @${ECHO} To display this message again, type ${PKG_INFO} -D ${PKGNAME}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/autostart
+ @${INSTALL_DATA} ${WRKSRC}/bus/ibus.desktop ${STAGEDIR}${PREFIX}/etc/xdg/autostart
.include <bsd.port.mk>
diff --git a/textproc/ibus/pkg-plist b/textproc/ibus/pkg-plist
index b672ece6efcf..d07e7825980b 100644
--- a/textproc/ibus/pkg-plist
+++ b/textproc/ibus/pkg-plist
@@ -327,7 +327,7 @@ share/icons/hicolor/scalable/apps/ibus.svg
@dirrm include/ibus-1.0
@dirrmtry etc/xdg/autostart
@dirrmtry etc/xdg
-%%GTK3%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 > %D/lib/gtk-3.0/%%GTK3_VERSION%%/immodules.cache
-@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
-%%GTK3%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 > %D/lib/gtk-3.0/%%GTK3_VERSION%%/immodules.cache
-@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
+%%GTK3%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
+@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache
+%%GTK3%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache
+@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache