# Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= ccrtp PORTVERSION= 2.0.9 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNU MAINTAINER= acm@FreeBSD.org COMMENT= Implementation of the real-time transport protocol LIB_DEPENDS= libcommoncpp.so:${PORTSDIR}/devel/ucommon \ libgcrypt.so:${PORTSDIR}/security/libgcrypt GNU_CONFIGURE= yes USES= gmake gettext libtool iconv pkgconfig USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib INFO= ccrtp post-patch: @cd ${WRKSRC}/src && \ ${FIND} * -type f -exec ${REINPLACE_CMD} -i "" -e "s|||g" "{}" \; post-configure: ${FIND} ${WRKSRC} -name Makefile | ${XARGS} \ ${REINPLACE_CMD} -e 's|-l-pthread|-pthread|g' post-stage: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libccrtp.so.2.0.6 .include