Enable threads and cleanup the Makefile.

from "Gonzalo L. R."
This commit is contained in:
ajacoutot 2012-03-12 17:16:19 +00:00
parent 0c7a463215
commit 564a167128
2 changed files with 10 additions and 8 deletions

View File

@ -1,25 +1,27 @@
# $OpenBSD: Makefile,v 1.30 2011/11/16 00:20:08 sthen Exp $
# $OpenBSD: Makefile,v 1.31 2012/03/12 17:16:19 ajacoutot Exp $
# $FreeBSD: Makefile,v 1.2 1998/08/11 09:57:51 andreas Exp $
COMMENT= network usage, interface similar to top(1)
DISTNAME= ntop-1.1
REVISION= 0
REVISION= 1
DISTFILES= ${DISTNAME}-src.tar.gz
CATEGORIES= net
MASTER_SITES= ftp://ftp.unipi.it/pub/local/ntop/source/ \
ftp://totem.fix.no/pub/mirrors/misc/
MASTER_SITES= ftp://totem.fix.no/pub/mirrors/misc/
HOMEPAGE= http://www.ntop.org/
# NTOP LICENSE (see COPYING in WRKSRC)
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ncurses pcap
WANTLIB += c ncurses pcap pthread
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-lsof --disable-threads
CONFIGURE_ARGS= --disable-lsof
USE_GROFF = Yes
ALL_TARGET=

View File

@ -1,3 +1,3 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:17:42 espie Exp $
@comment $OpenBSD: PLIST,v 1.4 2012/03/12 17:16:19 ajacoutot Exp $
@man man/man8/ntop.8
sbin/ntop
@bin sbin/ntop