2013-08-01 07:39:16 +02:00
|
|
|
# Created by: Alexander Brovikov <alexander@brovikov.ru>
|
2011-05-04 00:48:41 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libsrtp
|
2015-01-09 16:06:15 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
2016-02-21 08:47:57 +01:00
|
|
|
DISTVERSION= 1.5.4
|
2011-05-04 00:48:41 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2016-02-21 12:41:40 +01:00
|
|
|
MAINTAINER= tijl@FreeBSD.org
|
2015-01-09 16:06:15 +01:00
|
|
|
COMMENT= Secure RTP (SRTP) Reference Implementation
|
2011-05-04 00:48:41 +02:00
|
|
|
|
2015-01-09 16:06:15 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= cisco
|
2011-05-04 00:48:41 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2015-01-09 16:06:15 +01:00
|
|
|
CONFIGURE_ARGS= --enable-openssl
|
2017-01-09 11:05:19 +01:00
|
|
|
USES= cpe localbase gmake pathfix pkgconfig ssl
|
2015-05-17 14:49:59 +02:00
|
|
|
CPE_VENDOR= cisco
|
2015-01-09 16:06:15 +01:00
|
|
|
USE_LDCONFIG= yes
|
2017-01-09 11:05:19 +01:00
|
|
|
|
|
|
|
ALL_TARGET= all shared_library
|
|
|
|
TEST_TARGET= runtest
|
|
|
|
TEST_ENV= LD_LIBRARY_PATH=${WRKSRC}
|
2015-01-09 16:06:15 +01:00
|
|
|
|
|
|
|
.if ! defined(WITH_DEBUG)
|
|
|
|
CONFIGURE_ARGS+=--disable-debug
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2015-04-12 14:11:57 +02:00
|
|
|
@${REINPLACE_CMD} '/pkg-config.*openssl/d' ${WRKSRC}/configure
|
2015-01-09 16:06:15 +01:00
|
|
|
|
2016-11-29 19:46:21 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${SSL_DEFAULT:Mopenssl-devel}
|
|
|
|
BROKEN= Does not build with openssl-devel
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|