summaryrefslogtreecommitdiff
path: root/net-im/telepathy-glib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telepathy-glib/Makefile')
-rw-r--r--net-im/telepathy-glib/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/net-im/telepathy-glib/Makefile b/net-im/telepathy-glib/Makefile
index e43c712f3c1b..1a36953a3750 100644
--- a/net-im/telepathy-glib/Makefile
+++ b/net-im/telepathy-glib/Makefile
@@ -3,10 +3,10 @@
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/net-im/telepathy-glib/Makefile,v 1.4 2008/03/20 02:57:19 marcus Exp $
+# $MCom: ports/net-im/telepathy-glib/Makefile,v 1.15 2010/10/21 17:35:24 kwm Exp $
PORTNAME= telepathy-glib
-PORTVERSION= 0.10.7
+PORTVERSION= 0.12.1
CATEGORIES= net-im
MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/
@@ -16,10 +16,13 @@ COMMENT= GLib utility library for the Telepathy framework
LIB_PC_DEPENDS= gobject-2.0.pc:${PORTSDIR}/devel/glib20 \
dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
-BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
+BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
+ vapigen-0.10:${PORTSDIR}/lang/vala-vapigen \
+ g-ir-scanner:${PORTSDIR}/devel/gobject-introspection
BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
-RUN_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
+RUN_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g} \
+ vapigen-0.10:${PORTSDIR}/lang/vala-vapigen
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
@@ -27,9 +30,12 @@ USE_LDCONFIG= yes
USE_GNOME= gnomehack pkgconfig glib20 ltverhack
USE_PYTHON_BUILD= yes
MAKE_JOBS_UNSAFE= yes
+CONFIGURE_ARGS= --enable-vala-bindings
post-patch:
@${REINPLACE_CMD} -e 's|\(^pkgconfigdir =\).*|\1 ${PREFIX}/libdata/pkgconfig|' \
${WRKSRC}/telepathy-glib/Makefile.in
+ @${REINPLACE_CMD} -e 's|datarootdir)/vala/vapi|datarootdir)/vala-0.10/vapi|g' \
+ ${WRKSRC}/vala/Makefile.in
.include <bsd.port.mk>