summaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-idle/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-17 14:57:16 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-01-17 14:57:16 +0800
commit9ea43d167cf1962e6242e05f70aa9f23124a1deb (patch)
tree7234a99a4b8bf3ede3022cca6c4f405d23725bd6 /net-im/telepathy-idle/Makefile
parentab0a2ff4e999eebad89f8a25ef4c29be52770329 (diff)
downloadmarcuscom-ports-9ea43d167cf1962e6242e05f70aa9f23124a1deb.tar
marcuscom-ports-9ea43d167cf1962e6242e05f70aa9f23124a1deb.tar.gz
marcuscom-ports-9ea43d167cf1962e6242e05f70aa9f23124a1deb.tar.bz2
marcuscom-ports-9ea43d167cf1962e6242e05f70aa9f23124a1deb.tar.lz
marcuscom-ports-9ea43d167cf1962e6242e05f70aa9f23124a1deb.tar.xz
marcuscom-ports-9ea43d167cf1962e6242e05f70aa9f23124a1deb.tar.zst
marcuscom-ports-9ea43d167cf1962e6242e05f70aa9f23124a1deb.zip
Update to 0.1.2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10145 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im/telepathy-idle/Makefile')
-rw-r--r--net-im/telepathy-idle/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/net-im/telepathy-idle/Makefile b/net-im/telepathy-idle/Makefile
new file mode 100644
index 000000000..74f76b1a8
--- /dev/null
+++ b/net-im/telepathy-idle/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: telepathy-idle
+# Date created: Apr 19 2007
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= telepathy-idle
+PORTVERSION= 0.1.2
+CATEGORIES= net-im
+MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= IRC Connection Manager for Telepathy Framework
+
+LIB_PC_DEPENDS= gobject-2.0.pc:${PORTSDIR}/devel/glib20 \
+ dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib \
+ telepathy-glib.pc:${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}
+
+LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
+
+GNU_CONFIGURE= yes
+USE_OPENSSL= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack pkgconfig glib20
+
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_OPENSSL_BASE)
+CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -lssl -lcrypto" OPENSSL_CFLAGS="-I/usr/include"
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|strnlen(\([^,]*\), [^)]*)|strlen(\1)|' \
+ ${WRKSRC}/src/idle-connection.c \
+ ${WRKSRC}/src/idle-parser.c
+
+.include <bsd.port.post.mk>