Changeset 84702 for trunk/dports/tex


Ignore:
Timestamp:
Sep 29, 2011, 11:23:33 PM (8 years ago)
Author:
ryandesign@…
Message:

kde4-kile: patch in post-patch, not pre-configure; consolidate multiple separate reinplaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/tex/kde4-kile/Portfile

    r84698 r84702  
    4141                    patch-runTests.sh.macports.diff
    4242
     43post-patch {
     44    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/data/kilestdtools.rc ${worksrcpath}/src/test/runTests.sh
     45    reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/src/data/kilestdtools.rc ${worksrcpath}/src/test/runTests.sh
     46}
     47
    4348build.asroot        yes
    44 
    45 pre-configure {
    46     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/data/kilestdtools.rc
    47     reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/src/data/kilestdtools.rc
    48     reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/test/runTests.sh
    49     reinplace "s|@APPLICATIONS_DIR@|${applications_dir}|g" ${worksrcpath}/src/test/runTests.sh
    50 }
Note: See TracChangeset for help on using the changeset viewer.