pkgsrc/net/ngrep/Makefile

31 lines
761 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.22 2005/04/11 21:46:52 tv Exp $
DISTNAME= ngrep-1.43
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ngrep/}
EXTRACT_SUFX= .tar.bz2
2005-02-21 21:26:08 +01:00
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://ngrep.sourceforge.net/
COMMENT= Network grep
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
1999-07-02 12:26:02 +02:00
.include "../../mk/bsd.prefs.mk"
2004-06-03 00:19:20 +02:00
.if ${OPSYS} == "FreeBSD"
CONFIGURE_ARGS+= --disable-pcap-restart
.endif
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
1999-07-02 12:26:02 +02:00
do-configure:
cd ${WRKSRC}; ./configure --prefix=${PREFIX}
.endif
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"