summaryrefslogtreecommitdiff
path: root/net/freediameter/Makefile
blob: d636763dc45289fb8daec8093d84150c52ad6b1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PORTNAME=	freediameter
PORTVERSION=	1.5.0
CATEGORIES=	net
MASTER_SITES=	http://www.freediameter.net/hg/freeDiameter/archive/
DISTNAME=	${PORTNAME:S/d/D/}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Open source Diameter protocol implementation

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

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

USES=		bison cmake tar:bzip2
USE_LDCONFIG=	yes
CMAKE_ARGS=	-DSCTP_USE_MAPPED_ADDRESSES:BOOL=ON
CMAKE_ARGS+=	-DDISABLE_SCTP:BOOL=ON
TEST_TARGET=	test

.include <bsd.port.mk>