Update net-im/pidgin to version 2.10.9_4
[dports.git] / net-im / telepathy-idle / Makefile
1 # $FreeBSD$
2 #    $MCom: ports/net-im/telepathy-idle/Makefile,v 1.6 2012/08/17 19:06:45 kwm Exp $
3
4 PORTNAME=       telepathy-idle
5 PORTVERSION=    0.1.11
6 CATEGORIES=     net-im
7 MASTER_SITES=   http://telepathy.freedesktop.org/releases/${PORTNAME}/
8
9 MAINTAINER=     gnome@FreeBSD.org
10 COMMENT=        IRC Connection Manager for Telepathy Framework
11
12 LIB_DEPENDS=    libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
13                 libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
14                 libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib
15
16 GNU_CONFIGURE=  yes
17 USES=           gmake libtool pathfix pkgconfig
18 USE_OPENSSL=    yes
19 USE_GNOME=      glib20 libxslt:build
20 USE_PYTHON_BUILD=yes
21
22 CPPFLAGS+=      -I${LOCALBASE}/include
23 LDFLAGS+=       -L${LOCALBASE}/lib
24
25 #.if defined(WITH_OPENSSL_BASE)
26 CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -lssl -lcrypto" OPENSSL_CFLAGS="-I/usr/include"
27 #.endif
28 #  OPENSSL_CFLAGS
29 #              C compiler flags for OPENSSL, overriding pkg-config
30 #  OPENSSL_LIBS
31 #              linker flags for OPENSSL, overriding pkg-config
32
33 post-patch:
34         @${REINPLACE_CMD} -e 's|strnlen(\([^,]*\), [^)]*)|strlen(\1)|' \
35                 ${WRKSRC}/src/idle-connection.c \
36                 ${WRKSRC}/src/idle-parser.c
37
38 .include <bsd.port.mk>