| @@ -1,35 +1,37 @@ | | | @@ -1,35 +1,37 @@ |
1 | # $NetBSD: Makefile,v 1.11 2014/01/01 11:52:28 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.12 2014/09/26 10:55:32 jperkin Exp $ |
2 | | | 2 | |
3 | DISTNAME= 1.2.0 | | 3 | DISTNAME= 1.2.0 |
4 | PKGNAME= freeDiameter-${DISTNAME} | | 4 | PKGNAME= freeDiameter-${DISTNAME} |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
6 | CATEGORIES= net | | 6 | CATEGORIES= net |
7 | MASTER_SITES= http://www.freediameter.net/hg/freeDiameter/archive/ | | 7 | MASTER_SITES= http://www.freediameter.net/hg/freeDiameter/archive/ |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.freediameter.net/trac/ | | 10 | HOMEPAGE= http://www.freediameter.net/trac/ |
11 | COMMENT= Open source Diameter protocol implementation | | 11 | COMMENT= Open source Diameter protocol implementation |
12 | LICENSE= modified-bsd | | 12 | LICENSE= modified-bsd |
13 | | | 13 | |
14 | DIST_SUBDIR= freeDiameter | | 14 | DIST_SUBDIR= freeDiameter |
15 | | | 15 | |
16 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} | | 16 | WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} |
17 | USE_CMAKE= yes | | 17 | USE_CMAKE= yes |
18 | CMAKE_ARGS+= -DDISABLE_SCTP:BOOL=ON | | 18 | CMAKE_ARGS+= -DDISABLE_SCTP:BOOL=ON |
19 | USE_LANGUAGES= c c++ | | 19 | USE_LANGUAGES= c c++ |
20 | USE_TOOLS+= bison flex pkg-config | | 20 | USE_TOOLS+= bison flex pkg-config |
21 | FLEX_REQD= 2.5.35 | | 21 | FLEX_REQD= 2.5.35 |
22 | | | 22 | |
| | | 23 | LDFLAGS.SunOS+= -lsocket -lnsl |
| | | 24 | |
23 | # needs libraries installed | | 25 | # needs libraries installed |
24 | #TEST_TARGET= test | | 26 | #TEST_TARGET= test |
25 | | | 27 | |
26 | .include "options.mk" | | 28 | .include "options.mk" |
27 | | | 29 | |
28 | INSTALLATION_DIRS= share/examples/freeDiameter/single_host | | 30 | INSTALLATION_DIRS= share/examples/freeDiameter/single_host |
29 | | | 31 | |
30 | post-install: | | 32 | post-install: |
31 | cd ${WRKSRC}/doc && ${INSTALL_DATA} *.* \ | | 33 | cd ${WRKSRC}/doc && ${INSTALL_DATA} *.* \ |
32 | ${DESTDIR}${PREFIX}/share/examples/freeDiameter | | 34 | ${DESTDIR}${PREFIX}/share/examples/freeDiameter |
33 | cd ${WRKSRC}/doc/single_host && ${INSTALL_DATA} *.* \ | | 35 | cd ${WRKSRC}/doc/single_host && ${INSTALL_DATA} *.* \ |
34 | ${DESTDIR}${PREFIX}/share/examples/freeDiameter/single_host | | 36 | ${DESTDIR}${PREFIX}/share/examples/freeDiameter/single_host |
35 | | | 37 | |