aboutsummaryrefslogtreecommitdiff
path: root/net/ngrep
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-07-25 01:30:38 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-07-25 01:30:38 +0000
commit7737418647d9c8a7c07e8f0ac107717888621c81 (patch)
tree565833a22a1f1f8aa25c3fb2cba6ff677d170348 /net/ngrep
parentecd7054b3249fccbf77a8b2c73271eab68758c5d (diff)
downloadports-7737418647d9c8a7c07e8f0ac107717888621c81.tar.gz
ports-7737418647d9c8a7c07e8f0ac107717888621c81.zip
Notes
Diffstat (limited to 'net/ngrep')
-rw-r--r--net/ngrep/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ngrep/Makefile b/net/ngrep/Makefile
index f811f619c53e..305ff6797129 100644
--- a/net/ngrep/Makefile
+++ b/net/ngrep/Makefile
@@ -31,6 +31,13 @@ PORTDOCS= CHANGES.txt CREDITS.txt INSTALL.txt LICENSE.txt \
.include <bsd.port.pre.mk>
+.if !defined(WITH_PORTS_PCAP)
+CONFIGURE_ARGS+=--with-pcap-includes=/usr/include
+.else
+CONFIGURE_ARGS+=--with-pcap-includes=${LOCALBASE}/include
+LIB_DEPENDS= pcap.2:${PORTSDIR}/net/libpcap
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}