summaryrefslogtreecommitdiffstats
path: root/net-mgmt/grepcidr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/grepcidr/Makefile')
-rw-r--r--net-mgmt/grepcidr/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/net-mgmt/grepcidr/Makefile b/net-mgmt/grepcidr/Makefile
new file mode 100644
index 0000000..7a786f8
--- /dev/null
+++ b/net-mgmt/grepcidr/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: grepcidr
+# Date created: 2005-04-24
+# Whom: Douglas Fraser <doug@idmf.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= grepcidr
+PORTVERSION= 1.3
+CATEGORIES= net-mgmt textproc
+MASTER_SITES= http://www.pc-tools.net/files/unix/
+
+MAINTAINER= doug+ports@idmf.net
+COMMENT= Filter IP addresses matching IPv4 CIDR/network specification
+
+PLIST_FILES= bin/grepcidr
+
+USE_REINPLACE= yes
+
+do-configure:
+ @${REINPLACE_CMD} \
+ -e 's|/usr/local/bin|${PREFIX}/bin|' \
+ -e 's|-s -O3 -Wall -pedantic|${CFLAGS}|' \
+ -e 's|gcc|${CC}|' \
+ ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud