36 lines
761 B
Makefile
Raw Normal View History

2013-03-21 08:45:11 +00:00
# $OpenBSD: Makefile,v 1.37 2013/03/21 08:46:34 ajacoutot Exp $
COMMENT= network grep
1999-06-23 04:16:21 +00:00
DISTNAME= ngrep-1.45
REVISION= 4
2007-03-31 09:38:42 +00:00
CATEGORIES= net
2002-05-20 00:15:23 +00:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ngrep/}
EXTRACT_SUFX= .tar.bz2
2000-02-17 00:40:52 +00:00
HOMEPAGE= http://ngrep.sourceforge.net/
# custom BSD-like
PERMIT_PACKAGE_CDROM= Yes
2010-11-11 16:27:54 +00:00
WANTLIB= c pcap pcre
2010-11-19 22:31:32 +00:00
LIB_DEPENDS= devel/pcre
2000-03-22 23:27:55 +00:00
2013-03-11 11:35:43 +00:00
NO_TEST= Yes
1999-06-23 04:16:21 +00:00
USE_GMAKE= Yes
2007-03-31 09:38:42 +00:00
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-28 01:38:44 +00:00
do-install:
cd ${WRKSRC}; \
${INSTALL_PROGRAM} ngrep ${PREFIX}/sbin/ngrep; \
${INSTALL_MAN} ngrep.8 ${PREFIX}/man/man8/ngrep.8
1999-06-23 04:16:21 +00:00
.include <bsd.port.mk>