Changeset 87710 for trunk/dports/aqua


Ignore:
Timestamp:
Dec 2, 2011, 2:34:53 AM (8 years ago)
Author:
ryandesign@…
Message:

iTerm2: do reinplacing in the patch phase, not in the extract and configure phases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/iTerm2/Portfile

    r87415 r87710  
    2727xcode.target    iTerm
    2828
    29 use_configure   yes
    30 configure {
     29post-extract {
     30    move [glob ${workpath}/*] ${worksrcpath}
     31}
     32
     33post-patch {
     34    reinplace "s|^version *= *.*$|version = \"${version}\"|" ${worksrcpath}/updateVersion.py
    3135    # disable Sparkle autoupdate
    3236    reinplace "s|.*Sparkle.*||g" ${worksrcpath}/${xcode.project}/project.pbxproj
    33 }
    34 
    35 post-extract {
    36     move [glob ${workpath}/*] ${worksrcpath}
    37     reinplace "s|^version *= *.*$|version = \"${version}\"|" ${worksrcpath}/updateVersion.py
    3837}
    3938
Note: See TracChangeset for help on using the changeset viewer.