2013-12-02 09:02:31 +01:00
|
|
|
# Created by: Muhammad Moinur Rahman <5u623l20@gmail.com>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ndpi
|
2016-05-28 23:53:51 +02:00
|
|
|
PORTVERSION= 1.8
|
2013-12-02 09:02:31 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= SF/ntop/nDPI
|
2015-06-07 15:29:17 +02:00
|
|
|
DISTNAME= nDPI-${PORTVERSION}
|
2013-12-02 09:02:31 +01:00
|
|
|
|
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
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
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
|
2016-05-28 23:53:51 +02:00
|
|
|
USES= alias autoreconf compiler:c++11-lang libtool pathfix pkgconfig tar:tgz
|
2015-06-07 15:29:17 +02:00
|
|
|
WRKSRC= ${WRKDIR}/nDPI-${PORTVERSION}
|
2014-09-07 15:34:39 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2014-08-20 22:14:54 +02:00
|
|
|
|
2015-06-07 15:29:17 +02:00
|
|
|
PLIST_SUB= MAJOR_VER=${PORTVERSION}.0
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} 's|$$(libdir)|$$(libdir)data|' \
|
|
|
|
${WRKSRC}/Makefile.am
|
2013-12-02 09:02:31 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|