Ignore:
Timestamp:
Jun 1, 2015, 9:49:47 PM (5 years ago)
Author:
devans@…
Message:

string_replace: add mode line and reformat, white space only.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/string_replace/Portfile

    r104153 r136981  
     1# -*- 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
    12# $Id$
    23
    3 PortSystem 1.0
     4PortSystem          1.0
    45
    5 name                    string_replace
    6 version                 0.1
    7 categories              textproc perl
    8 license                 GPL-2
    9 platforms               darwin
    10 supported_archs noarch
    11 maintainers             nomaintainer
    12 description             searches and replaces a text string or regular expression
    13 long_description        This tool was designed to go through text files (meaning: \
    14                                         text, html, php, etc.) to search for and replace a \
    15                                         particular text string (or regular expression).
     6name                string_replace
     7version             0.1
     8categories          textproc perl
     9license             GPL-2
     10platforms           darwin
     11supported_archs     noarch
     12maintainers         nomaintainer
     13description         searches and replaces a text string or regular expression
     14long_description    This tool was designed to go through text files (meaning: \
     15                    text, html, php, etc.) to search for and replace a \
     16                    particular text string (or regular expression).
    1617
    17 homepage                http://www.costlowcorp.com/apps/string_replace/
    18 master_sites    ${homepage}
    19 checksums               md5 9b855c0b4d0514965f0b175b982fa768
    20 use_bzip2               yes
     18homepage            http://www.costlowcorp.com/apps/string_replace/
     19master_sites        ${homepage}
     20checksums           md5 9b855c0b4d0514965f0b175b982fa768
     21use_bzip2           yes
    2122
    22 depends_run             bin:perl:perl5
     23depends_run         bin:perl:perl5
    2324
    24 patch   {
    25         reinplace "s|/usr/bin/perl|/usr/bin/env perl|g" \
    26                 ${workpath}/${name}/${name}.pl
     25patch   {
     26    reinplace "s|/usr/bin/perl|/usr/bin/env perl|g" \
     27        ${workpath}/${name}/${name}.pl
    2728}
    2829
    29 use_configure   no
     30use_configure       no
    3031
    31 build                   {}
     32build               {}
    3233
    33 destroot        {
    34         xinstall -m 755 ${workpath}/${name}/${name}.pl \
    35                 ${destroot}${prefix}/bin/${name}
     34destroot    {
     35    xinstall -m 755 ${workpath}/${name}/${name}.pl \
     36        ${destroot}${prefix}/bin/${name}
    3637}
Note: See TracChangeset for help on using the changeset viewer.