openbsd-ports/net/ngrep/Makefile

40 lines
859 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.35 2012/01/26 08:03:57 ajacoutot Exp $
COMMENT= network grep
1999-06-23 00:16:21 -04:00
DISTNAME= ngrep-1.45
REVISION= 4
2007-03-31 05:38:42 -04:00
CATEGORIES= net
2002-05-19 20:15:23 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ngrep/}
EXTRACT_SUFX= .tar.bz2
2000-02-16 19:40:52 -05:00
HOMEPAGE= http://ngrep.sourceforge.net/
# custom BSD-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
2000-03-22 18:27:55 -05:00
PERMIT_DISTFILES_FTP= Yes
2010-11-11 11:27:54 -05:00
WANTLIB= c pcap pcre
2010-11-19 17:31:32 -05:00
LIB_DEPENDS= devel/pcre
2000-03-22 18:27:55 -05:00
NO_REGRESS= Yes
1999-06-23 00:16:21 -04:00
USE_GMAKE= Yes
2007-03-31 05:38:42 -04:00
USE_LIBTOOL= Yes
AUTOCONF_VERSION= 2.60
CONFIGURE_STYLE= autoconf no-autoheader
CONFIGURE_ARGS+= --enable-ipv6 \
--enable-pcre \
--with-dropprivs-user=_ngrep
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS=-L${LOCALBASE}/lib
2002-10-27 20:38:44 -05:00
do-install:
cd ${WRKSRC}; \
${INSTALL_PROGRAM} ngrep ${PREFIX}/sbin/ngrep; \
${INSTALL_MAN} ngrep.8 ${PREFIX}/man/man8/ngrep.8
1999-06-23 00:16:21 -04:00
.include <bsd.port.mk>