Ticket #60557: xmltv.diff
File xmltv.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 4 years ago) |
---|
-
Portfile
16 16 17 17 github.setup XMLTV xmltv 0.6.1 v 18 18 perl5.setup xmltv 0.6.1 19 revision 1 19 20 checksums rmd160 28454a829db2bbe762a4a45dc21d93f225eded6f \ 20 21 sha256 930b97b8ae399016aa7b70feea82f47a5049f2d3bd22bb0161aea835d3e51221 \ 21 22 size 838492 … … 36 37 37 38 post-patch { 38 39 fs-traverse f ${worksrcpath} { 39 reinplace -locale C -q "s|#!/usr/bin/perl|#!${perl5.bin}|" ${f} 40 if {[file isfile ${f}]} { 41 switch [file extension ${f}] { 42 .ico - 43 .jpg - 44 .png { 45 # Don't touch binary files 46 } 47 default { 48 reinplace -locale C -q "s|#!/usr/bin/perl|#!${perl5.bin}|" ${f} 49 } 50 } 40 51 } 52 } 41 53 } 42 54 43 55 depends_lib-append port:p${perl5.major}-archive-zip \