2013-12-02 09:02:31 +01:00
|
|
|
# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ndpi
|
2017-10-04 23:20:36 +02:00
|
|
|
PORTVERSION= 2.0.2017.09.13
|
2013-12-02 09:02:31 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2016-05-29 00:07:23 +02:00
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
2014-08-20 22:14:54 +02:00
|
|
|
COMMENT= NTOP-maintained superset of the popular OpenDPI library
|
2013-12-02 09:02:31 +01:00
|
|
|
|
2016-12-01 11:42:53 +01:00
|
|
|
LICENSE= LGPL3+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2013-12-02 09:02:31 +01:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libjson-c.so:devel/json-c
|
2014-08-20 22:14:54 +02:00
|
|
|
|
2013-12-02 09:02:31 +01:00
|
|
|
CONFIGURE_ARGS= --with-pic
|
2014-08-20 22:14:54 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/json-c
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
LIBS+= -ljson-c
|
2013-12-02 09:02:31 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
2017-11-02 22:41:47 +01:00
|
|
|
USES= autoreconf compiler:c++11-lang libtool pathfix pkgconfig
|
2014-09-07 15:34:39 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2014-08-20 22:14:54 +02:00
|
|
|
|
2016-07-01 18:49:09 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= ntop
|
|
|
|
GH_PROJECT= nDPI
|
2017-10-04 23:20:36 +02:00
|
|
|
GH_TAGNAME= 6607c33
|
2016-07-01 18:49:09 +02:00
|
|
|
|
2016-12-24 00:30:06 +01:00
|
|
|
PLIST_SUB= MAJOR_VER=${PORTVERSION:C/([[:digit:]])+\.([[:digit:]])+.*/\1.\2/}.0
|
2015-06-07 15:29:17 +02:00
|
|
|
|
2013-12-02 09:02:31 +01:00
|
|
|
.include <bsd.port.mk>
|