source: trunk/dports/textproc/string_replace/Portfile @ 10217

Last change on this file since 10217 was 8125, checked in by mww, 15 years ago

new port textproc/string_replace

  • Property svn:eol-style set to native
File size: 842 bytes
Line 
1# $Id: Portfile,v 1.1 2004/08/31 18:06:44 mww Exp $
2
3PortSystem 1.0
4
5name                    string_replace
6version                 0.1
7categories              textproc perl
8platforms               darwin
9maintainers             mww@opendarwin.org
10description             searches and replaces a text string or regular expression
11long_description        This tool was designed to go through text files (meaning: \
12                                        text, html, php, etc.) to search for and replace a \
13                                        particular text string (or regular expression).
14
15homepage                http://www.costlowcorp.com/apps/string_replace/
16master_sites    ${homepage}
17checksums               md5 9b855c0b4d0514965f0b175b982fa768
18use_bzip2               yes
19
20depends_run             bin:perl:perl5.8
21
22patch   {
23        reinplace "s|/usr/bin/perl|/usr/bin/env perl|g" \
24                ${workpath}/${name}/${name}.pl
25}
26
27use_configure   no
28
29build                   {}
30
31destroot        {
32        xinstall -m 755 ${workpath}/${name}/${name}.pl \
33                ${destroot}${prefix}/bin/${name}
34}
Note: See TracBrowser for help on using the repository browser.