Ignore:
Timestamp:
Jan 14, 2008, 9:21:22 AM (12 years ago)
Author:
ryandesign@…
Message:

dom4j: simplify the dos-to-unix line ending conversion of build.xml (method copied from the samdump2 portfile)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/dom4j/Portfile

    r30199 r32869  
    3535pre-patch {
    3636        # Convert build.xml to unix line feeds before we try to patch it
    37         system "cat ${worksrcpath}/build.xml | tr -d '\r' > ${worksrcpath}/build.xml.tmp && mv ${worksrcpath}/build.xml.tmp ${worksrcpath}/build.xml"
     37        reinplace "s/\r$//g" ${worksrcpath}/build.xml
    3838}
    3939
Note: See TracChangeset for help on using the changeset viewer.