summaryrefslogtreecommitdiffstats
path: root/net-im/libtelepathy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/libtelepathy/Makefile')
-rw-r--r--net-im/libtelepathy/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/net-im/libtelepathy/Makefile b/net-im/libtelepathy/Makefile
new file mode 100644
index 000000000..b9ef52ad1
--- /dev/null
+++ b/net-im/libtelepathy/Makefile
@@ -0,0 +1,30 @@
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= libtelepathy
+PORTVERSION= 0.3.3
+PORTREVISION= 1
+CATEGORIES= net-im devel
+MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Flexible Communications Framework
+
+LIB_PC_DEPENDS= dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
+
+LIB_DEPENDS= libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib
+
+BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
+RUN_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
+
+USE_PYTHON_BUILD= yes
+USES= gmake libtool pathfix pkgconfig
+USE_LDCONFIG= yes
+USE_GNOME= glib20 libxslt:build
+GNU_CONFIGURE= yes
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -lglib-2.0 `pkg-config --libs telepathy-glib`
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtelepathy.so.2.*
+.include <bsd.port.mk>