forked from Lainports/freebsd-ports
Chgrep searches the input files (or standard input if no files are named) for oldstring and changes them to new string. If some file and file.lock exist then chgrep leaves both files unchanged. This program can be very use- full for mail servers. Chgrep is fast, much faster than grep or sed. PR: 51198 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
26 lines
600 B
Makefile
26 lines
600 B
Makefile
# Ports collection makefile for: chgrep
|
|
# Date created: April 20, 2003
|
|
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= chgrep
|
|
PORTVERSION= 1.1.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.bmk.bicom.pl/chgrep/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ponomarew@oberon.net
|
|
COMMENT= Fast string substitution across multiple files
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= chgrep.1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/chgrep ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/chgrep.1 ${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|