blob: f1c6575f6c4304941f045d9fb10a559a49fb2087 (
plain) (
tree)
|
|
# Created by: Florent Thoumie <flz@FreeBSD.org>
# $FreeBSD$
# $MCom$
PORTNAME= telepathy-idle
PORTVERSION= 0.2.0
CATEGORIES= net-im
MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/
MAINTAINER= gnome@FreeBSD.org
COMMENT= IRC Connection Manager for Telepathy Framework
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib
USES= execinfo gmake pathfix pkgconfig python:build
USE_GNOME= glib20 libxslt:build
GNU_CONFIGURE= yes
USE_OPENSSL= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
.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>
|