| @@ -1,33 +1,33 @@ | | | @@ -1,33 +1,33 @@ |
1 | # $NetBSD: Makefile,v 1.3 2017/06/15 10:06:39 fhajny Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2017/11/06 13:29:38 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= ntopng-2.4-stable | | 3 | DISTNAME= ntopng-2.4-stable |
4 | PKGNAME= ndpi-1.8.0 | | 4 | PKGNAME= ndpi-1.8.0 |
5 | CATEGORIES= net | | 5 | CATEGORIES= net |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ntop/} | | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ntop/} |
7 | | | 7 | |
8 | MAINTAINER= adam@NetBSD.org | | 8 | MAINTAINER= adam@NetBSD.org |
9 | HOMEPAGE= http://www.ntop.org/ | | 9 | HOMEPAGE= https://www.ntop.org/ |
10 | COMMENT= Library for deep-packet inspection | | 10 | COMMENT= Library for deep-packet inspection |
11 | LICENSE= gnu-lgpl-v3 | | 11 | LICENSE= gnu-lgpl-v3 |
12 | | | 12 | |
13 | USE_LANGUAGES= c c++ | | 13 | USE_LANGUAGES= c c++ |
14 | USE_LIBTOOL= yes | | 14 | USE_LIBTOOL= yes |
15 | USE_TOOLS+= autoconf automake gmake pkg-config | | 15 | USE_TOOLS+= autoconf automake gmake pkg-config |
16 | GNU_CONFIGURE= yes | | 16 | GNU_CONFIGURE= yes |
17 | PKGCONFIG_OVERRIDE= libndpi.pc.in | | 17 | PKGCONFIG_OVERRIDE= libndpi.pc.in |
18 | | | 18 | |
19 | EXTRACT_ELEMENTS= ${DISTNAME}/nDPI | | 19 | EXTRACT_ELEMENTS= ${DISTNAME}/nDPI |
20 | WRKSRC= ${WRKDIR}/${DISTNAME}/nDPI | | 20 | WRKSRC= ${WRKDIR}/${DISTNAME}/nDPI |
21 | | | 21 | |
22 | # Portable types | | 22 | # Portable types |
23 | CFLAGS.SunOS+= -Du_int8_t=uint8_t | | 23 | CFLAGS.SunOS+= -Du_int8_t=uint8_t |
24 | CFLAGS.SunOS+= -Du_int16_t=uint16_t | | 24 | CFLAGS.SunOS+= -Du_int16_t=uint16_t |
25 | CFLAGS.SunOS+= -Du_int32_t=uint32_t | | 25 | CFLAGS.SunOS+= -Du_int32_t=uint32_t |
26 | CFLAGS.SunOS+= -Du_int64_t=uint64_t | | 26 | CFLAGS.SunOS+= -Du_int64_t=uint64_t |
27 | | | 27 | |
28 | pre-configure: | | 28 | pre-configure: |
29 | cd ${WRKSRC} && autoreconf -fiv | | 29 | cd ${WRKSRC} && autoreconf -fiv |
30 | | | 30 | |
31 | .include "../../net/libpcap/buildlink3.mk" | | 31 | .include "../../net/libpcap/buildlink3.mk" |
32 | .include "../../textproc/json-c/buildlink3.mk" | | 32 | .include "../../textproc/json-c/buildlink3.mk" |
33 | .include "../../mk/bsd.pkg.mk" | | 33 | .include "../../mk/bsd.pkg.mk" |