Ignore:
Timestamp:
Jul 24, 2011, 9:15:48 PM (8 years ago)
Author:
ryandesign@…
Message:

cfv: deduplicate code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/cfv/Portfile

    r81071 r81072  
    2929patchfiles          patch-Makefile.diff patch-cfv.diff
    3030
     31post-patch {
     32    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
     33}
     34
    3135use_configure       no
    3236
     
    4145
    4246    post-patch {
    43         reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
    4447        reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" ${worksrcpath}/Makefile ${worksrcpath}/cfv
    4548    }
     
    5053
    5154    post-patch {
    52         reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
    5355        reinplace "s|@PYTHON@|${prefix}/bin/python3.2|" ${worksrcpath}/Makefile ${worksrcpath}/cfv
    5456    }
Note: See TracChangeset for help on using the changeset viewer.