freebsd-ports/net-mgmt/grepcidr/Makefile
Edwin Groothuis ad0ad50784 net-mgmt/grepcidr: Filter IP addresses matching IPv4 CIDR/network specification
grepcidr can be used to filter a list of IP addresses against
    one or more Classless Inter-Domain Routing (CIDR) specifications,
    or arbitrary networks specified by an address range. As with
    grep, there are options to invert matching and load patterns
    from a file.  grepcidr is capable of comparing thousands or
    even millions of IPs to networks with little memory usage and
    in reasonable computation time.

    grepcidr has endless uses in network software, including: mail
    filtering and processing, network security, log analysis, and
    many custom applications.

PR:		ports/80315
Submitted by:	Douglas Fraser <doug+ports@idmf.net>
2005-04-25 05:03:43 +00:00

27 lines
589 B
Makefile

# 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>