# $Id: Portfile 44481 2008-12-29 08:01:48Z mcalhoun@macports.org $ PortSystem 1.0 name string_replace version 0.1 categories textproc perl platforms darwin maintainers nomaintainer 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 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} }