1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/devel/libzrtpcpp/Makefile
Jose Alonso Cardenas Marquez 4f95f5a22f - Update to 1.4.0
PR:		129482
Submitted by:	Pedro F. Giffuni <giffunip at tutopia.com>
2008-12-12 22:53:55 +00:00

36 lines
929 B
Makefile

# New ports collection makefile for: libzrtpcpp
# Date created: 2006-10-04
# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libzrtpcpp
PORTVERSION= 1.4.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=ccrtp
MAINTAINER= acm@FreeBSD.org
COMMENT= ZRTP extension for GNU ccRTP
LIB_DEPENDS= ccrtp1-1.6.1:${PORTSDIR}/devel/ccrtp
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_OPENSSL= yes
WITH_OPENSSL_PORT=yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
post-patch:
@cd ${WRKSRC}/src && \
${FIND} * -type f -exec ${REINPLACE_CMD} -i "" -e "s|<malloc.h>|<stdlib.h>|g" "{}" \; && \
${FIND} * -type f -exec ${REINPLACE_CMD} -i "" -e "s|<stdint.h>|<inttypes.h>|g" "{}" \;
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>