1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/devel/ccrtp/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

36 lines
826 B
Makefile

# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
# $FreeBSD$
PORTNAME= ccrtp
PORTVERSION= 2.0.9
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= GNU
MAINTAINER= acm@FreeBSD.org
COMMENT= Implementation of the real-time transport protocol
LIB_DEPENDS= libcommoncpp.so:devel/ucommon \
libgcrypt.so: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|<malloc.h>|<stdlib.h>|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 <bsd.port.mk>