2013-03-09 15:35:10 +01:00
|
|
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
2006-07-25 19:39:19 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ccrtp
|
2014-07-30 05:57:23 +02:00
|
|
|
PORTVERSION= 2.0.9
|
2006-07-25 19:39:19 +02:00
|
|
|
CATEGORIES= devel
|
2007-10-02 17:42:21 +02:00
|
|
|
MASTER_SITES= GNU
|
2006-07-25 19:39:19 +02:00
|
|
|
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
|
|
COMMENT= Implementation of the real-time transport protocol
|
|
|
|
|
2014-01-09 16:20:50 +01:00
|
|
|
LIB_DEPENDS= libcommoncpp.so:${PORTSDIR}/devel/ucommon \
|
2013-10-02 20:50:36 +02:00
|
|
|
libgcrypt.so:${PORTSDIR}/security/libgcrypt
|
2006-07-25 19:39:19 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-07-28 03:35:20 +02:00
|
|
|
USES= gmake gettext libtool iconv pkgconfig
|
2006-10-05 08:31:32 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-07-25 19:39:19 +02:00
|
|
|
|
2013-02-11 15:21:38 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2014-07-30 05:57:23 +02:00
|
|
|
INFO= ccrtp
|
2006-07-25 19:39:19 +02:00
|
|
|
|
2006-10-05 08:31:32 +02:00
|
|
|
post-patch:
|
|
|
|
@cd ${WRKSRC}/src && \
|
|
|
|
${FIND} * -type f -exec ${REINPLACE_CMD} -i "" -e "s|<malloc.h>|<stdlib.h>|g" "{}" \;
|
|
|
|
|
2014-01-09 16:20:50 +01:00
|
|
|
post-configure:
|
|
|
|
${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e 's|-l-pthread|-pthread|g'
|
|
|
|
|
2014-07-30 05:57:23 +02:00
|
|
|
post-stage:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libccrtp.so.2.0.6
|
|
|
|
|
2006-07-25 19:39:19 +02:00
|
|
|
.include <bsd.port.mk>
|