# $Id: Portfile,v 1.1 2004/08/31 18:06:44 mww Exp $ PortSystem 1.0 name string_replace version 0.1 categories textproc perl platforms darwin maintainers mww@opendarwin.org description searches and replaces a text string or regular expression long_description This tool was designed to go through text files (meaning: \ text, html, php, etc.) to search for and replace a \ particular text string (or regular expression). homepage http://www.costlowcorp.com/apps/string_replace/ master_sites ${homepage} checksums md5 9b855c0b4d0514965f0b175b982fa768 use_bzip2 yes depends_run bin:perl:perl5.8 patch { reinplace "s|/usr/bin/perl|/usr/bin/env perl|g" \ ${workpath}/${name}/${name}.pl } use_configure no build {} destroot { xinstall -m 755 ${workpath}/${name}/${name}.pl \ ${destroot}${prefix}/bin/${name} }