blob: 1d24e3d7a6b68ea01310036c23c23d7a07abead8 (
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
31
|
# $NetBSD: Makefile,v 1.21 2005/02/25 09:23:40 adam Exp $
DISTNAME= ngrep-1.43
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ngrep/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://ngrep.sourceforge.net/
COMMENT= Network grep
USE_BUILDLINK3= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-pcre
# ngrep's configure use --includedir/$includedir in a weird way!
CONFIGURE_ARGS+= --includedir=${BUILDLINK_PREFIX.libpcap}/include
BUILD_TARGET= ngrep
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD"
CONFIGURE_ARGS+= --disable-pcap-restart
.endif
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
do-configure:
cd ${WRKSRC}; ./configure --prefix=${PREFIX}
.endif
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|