summaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-idle
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-12 17:34:25 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-12 17:34:25 +0800
commit06e611929f4d4e553cf695143ec0bba05938ff2d (patch)
tree6a984a0053e89b684311f406230adeb6af396ef9 /net-im/telepathy-idle
parentab08ff41d59d7db56339fd43a28f95d7ab97cf10 (diff)
downloadmarcuscom-ports-06e611929f4d4e553cf695143ec0bba05938ff2d.tar
marcuscom-ports-06e611929f4d4e553cf695143ec0bba05938ff2d.tar.gz
marcuscom-ports-06e611929f4d4e553cf695143ec0bba05938ff2d.tar.bz2
marcuscom-ports-06e611929f4d4e553cf695143ec0bba05938ff2d.tar.lz
marcuscom-ports-06e611929f4d4e553cf695143ec0bba05938ff2d.tar.xz
marcuscom-ports-06e611929f4d4e553cf695143ec0bba05938ff2d.tar.zst
marcuscom-ports-06e611929f4d4e553cf695143ec0bba05938ff2d.zip
Update to 0.1.8.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15215 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im/telepathy-idle')
-rw-r--r--net-im/telepathy-idle/Makefile47
-rw-r--r--net-im/telepathy-idle/distinfo2
-rw-r--r--net-im/telepathy-idle/files/patch-src_idle-server-connection.c14
-rw-r--r--net-im/telepathy-idle/pkg-descr6
-rw-r--r--net-im/telepathy-idle/pkg-plist5
5 files changed, 74 insertions, 0 deletions
diff --git a/net-im/telepathy-idle/Makefile b/net-im/telepathy-idle/Makefile
new file mode 100644
index 000000000..5ddfb368c
--- /dev/null
+++ b/net-im/telepathy-idle/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: telepathy-idle
+# Date created: Apr 19 2007
+# Whom: Florent Thoumie <flz@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= telepathy-idle
+PORTVERSION= 0.1.8
+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} \
+ xsltproc:${PORTSDIR}/textproc/libxslt
+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
+
+MAN8= telepathy-idle.8
+
+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>
diff --git a/net-im/telepathy-idle/distinfo b/net-im/telepathy-idle/distinfo
new file mode 100644
index 000000000..4ebeea7c5
--- /dev/null
+++ b/net-im/telepathy-idle/distinfo
@@ -0,0 +1,2 @@
+SHA256 (telepathy-idle-0.1.8.tar.gz) = 384119cc64022626b6f51aaaef605abf248602d8fae25baff82762a097f20fe9
+SIZE (telepathy-idle-0.1.8.tar.gz) = 472927
diff --git a/net-im/telepathy-idle/files/patch-src_idle-server-connection.c b/net-im/telepathy-idle/files/patch-src_idle-server-connection.c
new file mode 100644
index 000000000..1715d8732
--- /dev/null
+++ b/net-im/telepathy-idle/files/patch-src_idle-server-connection.c
@@ -0,0 +1,14 @@
+--- src/idle-server-connection.c.orig 2009-02-23 01:02:04.000000000 -0500
++++ src/idle-server-connection.c 2009-02-23 01:05:04.000000000 -0500
+@@ -28,9 +28,10 @@
+
+ #include <arpa/inet.h>
+ #include <fcntl.h>
+-#include <netinet/tcp.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <netinet/in.h>
++#include <netinet/tcp.h>
+ #include <unistd.h>
+
+ #define IDLE_DEBUG_FLAG IDLE_DEBUG_NETWORK
diff --git a/net-im/telepathy-idle/pkg-descr b/net-im/telepathy-idle/pkg-descr
new file mode 100644
index 000000000..9a8a5085c
--- /dev/null
+++ b/net-im/telepathy-idle/pkg-descr
@@ -0,0 +1,6 @@
+Idle is a connection manager for the Telepathy framework.
+
+WWW: http://telepathy.freedesktop.org/
+
+- Florent Thoumie
+flz@FreeBSD.org
diff --git a/net-im/telepathy-idle/pkg-plist b/net-im/telepathy-idle/pkg-plist
new file mode 100644
index 000000000..2c0dc70d3
--- /dev/null
+++ b/net-im/telepathy-idle/pkg-plist
@@ -0,0 +1,5 @@
+libexec/telepathy-idle
+share/dbus-1/services/org.freedesktop.Telepathy.ConnectionManager.idle.service
+share/telepathy/managers/idle.manager
+@dirrmtry share/telepathy/managers
+@dirrmtry share/telepathy