2013-09-14 15:55:58 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2013/09/14 13:55:58 wiz Exp $
|
2012-08-20 14:17:20 +02:00
|
|
|
|
2013-09-14 15:55:58 +02:00
|
|
|
DISTNAME= 1.2.0
|
2012-08-20 14:17:20 +02:00
|
|
|
PKGNAME= freeDiameter-${DISTNAME}
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.freediameter.net/hg/freeDiameter/archive/
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.freediameter.net/trac/
|
|
|
|
COMMENT= Open source Diameter protocol implementation
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
|
|
|
DIST_SUBDIR= freeDiameter
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
USE_CMAKE= yes
|
2012-08-26 00:39:23 +02:00
|
|
|
CMAKE_ARGS+= -DDISABLE_SCTP:BOOL=ON
|
2012-08-20 14:17:20 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2012-08-24 14:14:08 +02:00
|
|
|
USE_TOOLS+= bison flex pkg-config
|
|
|
|
FLEX_REQD= 2.5.35
|
2012-08-20 14:17:20 +02:00
|
|
|
|
2012-09-12 08:32:45 +02:00
|
|
|
# needs libraries installed
|
|
|
|
#TEST_TARGET= test
|
|
|
|
|
2012-08-20 14:17:20 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= share/examples/freeDiameter/single_host
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.* \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/freeDiameter
|
|
|
|
cd ${WRKSRC}/doc/single_host && ${INSTALL_DATA} *.* \
|
|
|
|
${DESTDIR}${PREFIX}/share/examples/freeDiameter/single_host
|
|
|
|
|
|
|
|
.include "../../devel/libidn/buildlink3.mk"
|
|
|
|
.include "../../security/gnutls/buildlink3.mk"
|
|
|
|
.include "../../security/libgcrypt/buildlink3.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|