2005-01-06 12:52:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.31 2005/01/06 11:52:35 adam Exp $
|
1998-08-08 00:42:29 +02:00
|
|
|
|
2005-01-06 12:52:35 +01:00
|
|
|
DISTNAME= ntop-3.1
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ntop/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
1998-09-22 08:11:35 +02:00
|
|
|
|
2005-01-06 12:52:35 +01:00
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.ntop.org/
|
|
|
|
COMMENT= Shows network usage (similar to "top" for processes)
|
|
|
|
|
|
|
|
CONFLICTS= ntop-[0-9]*
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/ntop
|
1998-10-11 22:27:03 +02:00
|
|
|
|
2004-04-25 10:24:03 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2005-01-06 12:52:35 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
1999-05-24 22:39:35 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-01-06 12:52:35 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share/ntop
|
|
|
|
CONFIGURE_ARGS+= --with-gd-root=${BUILDLINK_PREFIX.gd}
|
|
|
|
CONFIGURE_ARGS+= --with-gdbm-root=${BUILDLINK_PREFIX.gdbm}
|
|
|
|
CONFIGURE_ARGS+= --with-gdchart-root=${BUILDLINK_PREFIX.gdchart}
|
|
|
|
CONFIGURE_ARGS+= --with-localedir=${LOCALBASE}/${PKGLOCALEDIR}
|
|
|
|
CONFIGURE_ARGS+= --with-libpng-root=${BUILDLINK_PREFIX.png}
|
|
|
|
CONFIGURE_ARGS+= --with-ossl-root=${BUILDLINK_PREFIX.openssl}
|
|
|
|
CONFIGURE_ARGS+= --with-pcap-root=${BUILDLINK_PREFIX.libpcap}
|
|
|
|
CONFIGURE_ARGS+= --with-zlib-root=${BUILDLINK_PREFIX.zlib}
|
|
|
|
# ntop-3.x crashes with IPv6
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
1998-08-08 00:42:29 +02:00
|
|
|
|
2005-01-06 12:52:35 +01:00
|
|
|
PTHREAD_OPTS+= require
|
2001-01-07 03:25:35 +01:00
|
|
|
|
2005-01-06 12:52:35 +01:00
|
|
|
.include "../../databases/gdbm/buildlink3.mk"
|
|
|
|
.include "../../graphics/gdchart/buildlink3.mk"
|
2004-04-25 10:24:03 +02:00
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
2005-01-06 12:52:35 +01:00
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
2002-08-25 23:48:57 +02:00
|
|
|
|
2005-01-06 12:52:35 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
1998-08-08 00:42:29 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|