# $Id: Portfile 65875 2010-04-02 11:16:47Z ryandesign@macports.org $

PortSystem 1.0

name			chgrep
version			1.2.4
revision		1
categories		sysutils
platforms		darwin
maintainers		nomaintainer
description		Fast string substitution across multiple files
long_description	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 usefull for mail servers. \
				Chgrep is fast, much faster than grep or sed.

homepage		http://www.bmk-it.com/projects/chgrep/
master_sites	${homepage}files/
extract.suffix	.tgz
checksums		md5 9c4306a51550fca58ca4b29c0d31bd79

patchfiles      patch-src_chgrep.c.diff patch-src_error.c.diff \
				patch-src_functions.c.diff patch-src_wrappers.c.diff \
				patch-src_wrappers.h.diff

configure.args	--mandir=${prefix}/share/man

livecheck.type	regex
livecheck.url	${homepage}news.php
livecheck.regex	{([0-9.]+) CHANGES:}
