aboutsummaryrefslogtreecommitdiffstats
path: root/net/libsrtp/Makefile
blob: 88baf6cba0140603096efdc99660787edd4d0819 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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

PORTSCOUT=  limit:^1\.

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>