[136981] trunk/dports/textproc/string_replace/Portfile
devans at macports.org
devans at macports.org
Mon Jun 1 14:49:47 PDT 2015
Revision: 136981
https://trac.macports.org/changeset/136981
Author: devans at macports.org
Date: 2015-06-01 14:49:47 -0700 (Mon, 01 Jun 2015)
Log Message:
-----------
string_replace: add mode line and reformat, white space only.
Modified Paths:
--------------
trunk/dports/textproc/string_replace/Portfile
Modified: trunk/dports/textproc/string_replace/Portfile
===================================================================
--- trunk/dports/textproc/string_replace/Portfile 2015-06-01 21:28:57 UTC (rev 136980)
+++ trunk/dports/textproc/string_replace/Portfile 2015-06-01 21:49:47 UTC (rev 136981)
@@ -1,36 +1,37 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name string_replace
-version 0.1
-categories textproc perl
-license GPL-2
-platforms darwin
-supported_archs noarch
-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).
+name string_replace
+version 0.1
+categories textproc perl
+license GPL-2
+platforms darwin
+supported_archs noarch
+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
+homepage http://www.costlowcorp.com/apps/string_replace/
+master_sites ${homepage}
+checksums md5 9b855c0b4d0514965f0b175b982fa768
+use_bzip2 yes
-depends_run bin:perl:perl5
+depends_run bin:perl:perl5
-patch {
- reinplace "s|/usr/bin/perl|/usr/bin/env perl|g" \
- ${workpath}/${name}/${name}.pl
+patch {
+ reinplace "s|/usr/bin/perl|/usr/bin/env perl|g" \
+ ${workpath}/${name}/${name}.pl
}
-use_configure no
+use_configure no
-build {}
+build {}
-destroot {
- xinstall -m 755 ${workpath}/${name}/${name}.pl \
- ${destroot}${prefix}/bin/${name}
+destroot {
+ xinstall -m 755 ${workpath}/${name}/${name}.pl \
+ ${destroot}${prefix}/bin/${name}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150601/c31c3545/attachment.html>
More information about the macports-changes
mailing list