aboutsummaryrefslogtreecommitdiffstats
path: root/net/freediameter/Makefile
blob: 056f97a1b3f03a692469e5a37719029aac3df3db (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
# $FreeBSD$

PORTNAME=   freeDiameter
PORTVERSION=    1.2.0
CATEGORIES= net
MASTER_SITES=   http://www.freediameter.net/hg/freeDiameter/archive/

MAINTAINER= koue@chaosophia.net
COMMENT=    Open source Diameter protocol implementation

LICENSE=    BSD3CLAUSE

LIB_DEPENDS=    libgcrypt.so:security/libgcrypt \
        libgnutls.so:security/gnutls

USES=       cmake bison
USE_LDCONFIG=   yes
CMAKE_ARGS+=    -DSCTP_USE_MAPPED_ADDRESSES:BOOL=ON

.include <bsd.port.options.mk>

.if ${OSVERSION} < 1000033
BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:textproc/flex
CMAKE_ARGS+=    -DFLEX_EXECUTABLE:FILEPATH="${LOCALBASE}/bin/flex"
.endif

.include <bsd.port.mk>