summaryrefslogtreecommitdiff
path: root/net-mgmt/grepcidr/Makefile
blob: cf65612018a00a57e63f09cd60c0e0d93831cfb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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

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>