8d6597e0bb
With hat: portmgr Sponsored by: Absolight
27 lines
619 B
Makefile
27 lines
619 B
Makefile
# $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>
|