2019-07-12 11:30:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2019/07/12 09:30:34 adam Exp $
|
2016-04-08 18:51:23 +02:00
|
|
|
|
2019-07-12 11:30:34 +02:00
|
|
|
DISTNAME= nDPI-2.8
|
2018-10-18 18:24:29 +02:00
|
|
|
PKGNAME= ${DISTNAME:tl}
|
2016-04-08 18:51:23 +02:00
|
|
|
CATEGORIES= net
|
2018-10-18 18:24:29 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=ntop/}
|
|
|
|
GITHUB_PROJECT= nDPI
|
2016-04-08 18:51:23 +02:00
|
|
|
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
2017-11-06 14:29:38 +01:00
|
|
|
HOMEPAGE= https://www.ntop.org/
|
2016-04-08 18:51:23 +02:00
|
|
|
COMMENT= Library for deep-packet inspection
|
|
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= autoconf automake gmake pkg-config
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PKGCONFIG_OVERRIDE= libndpi.pc.in
|
2018-10-18 18:24:29 +02:00
|
|
|
MAKE_ENV+= OS=${OPSYS}
|
2016-04-08 18:51:23 +02:00
|
|
|
|
2017-06-15 12:06:39 +02:00
|
|
|
# Portable types
|
|
|
|
CFLAGS.SunOS+= -Du_int8_t=uint8_t
|
|
|
|
CFLAGS.SunOS+= -Du_int16_t=uint16_t
|
|
|
|
CFLAGS.SunOS+= -Du_int32_t=uint32_t
|
|
|
|
CFLAGS.SunOS+= -Du_int64_t=uint64_t
|
|
|
|
|
2016-04-08 18:51:23 +02:00
|
|
|
pre-configure:
|
2018-10-18 18:24:29 +02:00
|
|
|
cd ${WRKSRC} && ./autogen.sh
|
2016-04-08 18:51:23 +02:00
|
|
|
|
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
|
|
.include "../../textproc/json-c/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|