mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
529000851e
Approved by: portmgr (blanket)
38 lines
735 B
Makefile
38 lines
735 B
Makefile
# Created by: Alexander Brovikov <alexander@brovikov.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libsrtp
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.6.0
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= tijl@FreeBSD.org
|
|
COMMENT= Secure RTP (SRTP) Reference Implementation
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_SSL= openssl-devel
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= cisco
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-openssl
|
|
USES= cpe localbase gmake pathfix pkgconfig ssl
|
|
CPE_VENDOR= cisco
|
|
USE_LDCONFIG= yes
|
|
|
|
ALL_TARGET= all shared_library
|
|
TEST_TARGET= runtest
|
|
TEST_ENV= LD_LIBRARY_PATH=${WRKSRC}
|
|
|
|
.if ! defined(WITH_DEBUG)
|
|
CONFIGURE_ARGS+=--disable-debug
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} '/pkg-config.*openssl/d' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|