Changeset 93565


Ignore:
Timestamp:
May 27, 2012, 5:28:56 AM (8 years ago)
Author:
ryandesign@…
Message:

zorba: use patchfiles instead of reinplaces

Location:
trunk/dports/textproc/zorba
Files:
4 added
1 edited

Legend:

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

    r85597 r93565  
    4040patch.dir       ${worksrcpath}/..
    4141
    42 post-patch {
    43     # Do not install dependencies' libraries
    44     reinplace s/APPLE/FALSE/ ${patch.dir}/src/CMakeLists.txt
    45 
    46     # XMLScanner::loadGrammar's toCache argument is optional
    47     reinplace {s/toCache/toCache = false/} \
    48         ${patch.dir}/src/types/schema/SchemaValidatorFilter.h
    49 
    50     # Install documentation in an unversioned directory
    51     reinplace {s/zorba-[^/)]*/zorba/} \
    52         ${patch.dir}/doc/c/examples/CMakeLists.txt \
    53         ${patch.dir}/doc/CMakeLists.txt \
    54         ${patch.dir}/doc/cxx/examples/CMakeLists.txt
    55 }
     42patchfiles      patch-docdir.diff \
     43                patch-src-CMakeLists.txt.diff \
     44                patch-src-types-schema-SchemaValidatorFilter.h.diff
    5645
    5746depends_build-append \
Note: See TracChangeset for help on using the changeset viewer.