summaryrefslogtreecommitdiffstats
path: root/textproc/ibus/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-06 19:56:38 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-06 19:56:38 +0800
commit325aa7e8e88ecb199c046b332000e6efcca17714 (patch)
tree96255da188cb25915662af74059dec331edbc41f /textproc/ibus/Makefile
parentba7b4e2ec2de6aacf45de83bd053d23282f02946 (diff)
downloadmarcuscom-ports-325aa7e8e88ecb199c046b332000e6efcca17714.tar
marcuscom-ports-325aa7e8e88ecb199c046b332000e6efcca17714.tar.gz
marcuscom-ports-325aa7e8e88ecb199c046b332000e6efcca17714.tar.bz2
marcuscom-ports-325aa7e8e88ecb199c046b332000e6efcca17714.tar.lz
marcuscom-ports-325aa7e8e88ecb199c046b332000e6efcca17714.tar.xz
marcuscom-ports-325aa7e8e88ecb199c046b332000e6efcca17714.tar.zst
marcuscom-ports-325aa7e8e88ecb199c046b332000e6efcca17714.zip
Add USES=pkgconfig where needed, update to new port rules, incl stage support.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18771 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/ibus/Makefile')
-rw-r--r--textproc/ibus/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/textproc/ibus/Makefile b/textproc/ibus/Makefile
index 1b3669923..da16da835 100644
--- a/textproc/ibus/Makefile
+++ b/textproc/ibus/Makefile
@@ -15,17 +15,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.83.0:${PORTSDIR}/devel/py-dbus \
vapigen:${PORTSDIR}/lang/vala-vapigen \
librsvg2>=2.0:${PORTSDIR}/graphics/librsvg2
+LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
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:${PORTSDIR}/devel/dbus-glib
USE_PYTHON= yes
-NO_STAGE= yes
USE_LDCONFIG= yes
-USES= gmake
+USES= gmake pkgconfig
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
GLIB_SCHEMAS= org.freedesktop.ibus.gschema.xml
@@ -72,7 +71,7 @@ PLIST_SUB+= VALA="@comment "
.endif
.if ${PORT_OPTIONS:MGINTRO}
-USE_GNOME+= introspection
+USE_GNOME+= introspection:build
CONFIGURE_ARGS+= --enable-introspection=yes
PLIST_SUB+= GINTRO=""
.else
@@ -93,13 +92,8 @@ post-patch:
${WRKSRC}/ui/gtk3/Makefile.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}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/autostart
+ @${INSTALL_DATA} ${WRKSRC}/bus/ibus.desktop ${STAGEDIR}${PREFIX}/etc/xdg/autostart
@${ECHO} To display this message again, type ${PKG_INFO} -D ${PKGNAME}
.include <bsd.port.mk>