summaryrefslogtreecommitdiff
path: root/net/ntop/Makefile
blob: 498dc79ceb86e76fa0c940102f6d2333fd0cf0e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.9 1999/05/26 22:37:58 tron Exp $

DISTNAME=		ntop-1.0
CATEGORIES=		net
MASTER_SITES=		ftp://ftp.unipi.it/pub/local/ntop/source/
EXTRACT_SUFX=		.src.tar.gz

MAINTAINER=		kim@tac.nyc.ny.us

BUILD_DEPENDS=		autoconf:../../devel/autoconf
DEPENDS=		ncurses-1.9.9g:../../devel/ncurses

HOMEPAGE=		http://www-serra.unipi.it/~ntop/

NOT_FOR_PLATFORM=	*-*-alpha *-*-mips	# elf problems WRT libcurses

HAS_CONFIGURE=		yes
GNU_CONFIGURE=		yes

CFLAGS+=		-I${PREFIX}/include
LDFLAGS+=		-L${PREFIX}/lib

CONFIGURE_ENV+=		CPPFLAGS=-I${PREFIX}/include
CONFIGURE_ENV+=		CFLAGS=-I${PREFIX}/include
CONFIGURE_ENV+=		LDFLAGS=-L${PREFIX}/lib

pre-configure:
	(cd ${WRKSRC}; autoconf)

.include "../../mk/bsd.pkg.mk"