summaryrefslogtreecommitdiff
path: root/net/ngrep/Makefile
blob: eb33da5e0de058c2022a20c11e9ccfc437fb4d24 (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
# $NetBSD: Makefile,v 1.7 2001/08/24 11:43:47 abs Exp $
#

DISTNAME=	ngrep-1.39
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ngrep/}

MAINTAINER=	hubertf@netbsd.org
HOMEPAGE=	http://ngrep.sourceforge.net/
COMMENT=	network grep

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-pcre
WRKSRC=		${WRKDIR}/ngrep
ALL_TARGET=	ngrep

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
DEPENDS+=	libpcap>=0.4:../../net/libpcap

do-configure:
	cd ${WRKSRC}; ./configure --prefix=${PREFIX}
.endif

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