New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79915


Ignore:
Timestamp:
06/29/11 02:05:31 (4 years ago)
Author:
ryandesign@…
Message:

avidemux: use built-in reinplace instead of external dos2unix to fix line endings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/avidemux/Portfile

    r79905 r79915  
    2727depends_build-append \ 
    2828                    port:pkgconfig \ 
    29                     port:yasm \ 
    30                     port:dos2unix 
     29                    port:yasm 
    3130 
    3231depends_lib-append  port:gtk2 \ 
     
    4746                    patch-x264.diff 
    4847 
    49 pre-patch { 
    50     system "cd ${worksrcpath}/plugins/ADM_videoEncoder/ADM_vidEnc_x264 && dos2unix *.h *.cpp" 
     48post-extract { 
     49    # DOS to UNIX line endings so we can patch properly. 
     50    fs-traverse file ${worksrcpath}/plugins/ADM_videoEncoder/ADM_vidEnc_x264 { 
     51        switch [file extension ${file}] { 
     52            .cpp - 
     53            .h { 
     54                reinplace "s|\r||g" ${file} 
     55            } 
     56        } 
     57    } 
    5158} 
    5259 
Note: See TracChangeset for help on using the changeset viewer.