2 # $MCom: ports/net-im/telepathy-idle/Makefile,v 1.6 2012/08/17 19:06:45 kwm Exp $
4 PORTNAME= telepathy-idle
7 MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/
9 MAINTAINER= gnome@FreeBSD.org
10 COMMENT= IRC Connection Manager for Telepathy Framework
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
17 USES= gmake libtool pathfix pkgconfig
19 USE_GNOME= glib20 libxslt:build
22 CPPFLAGS+= -I${LOCALBASE}/include
23 LDFLAGS+= -L${LOCALBASE}/lib
25 #.if defined(WITH_OPENSSL_BASE)
26 CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -lssl -lcrypto" OPENSSL_CFLAGS="-I/usr/include"
29 # C compiler flags for OPENSSL, overriding pkg-config
31 # linker flags for OPENSSL, overriding pkg-config
34 @${REINPLACE_CMD} -e 's|strnlen(\([^,]*\), [^)]*)|strlen(\1)|' \
35 ${WRKSRC}/src/idle-connection.c \
36 ${WRKSRC}/src/idle-parser.c
38 .include <bsd.port.mk>