New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12064: unrar.patch

File unrar.patch, 1.6 KB (added by simon@…, 5 years ago)

Added patch to also fix the lifecheck, contains the patch of the reporter so it's the only one necessary.

  • Portfile

     
    33PortSystem 1.0 
    44 
    55name              unrar 
    6 version           3.7.4 
     6version           3.7.6 
    77categories        archivers 
    88platforms         darwin freebsd 
    99maintainers       max@kruschwitz.biz 
     
    1414                  small volume of memory to operate. 
    1515homepage          http://www.rarlab.com/ 
    1616 
    17 master_sites      http://www.rarlab.com/rar/ 
     17master_sites      ${homepage}rar/ 
    1818distname          ${name}src-${version} 
    19 checksums         md5 7334c345597f6699c53fd91866b1a7e1 \ 
    20                   sha1 df5079afb65fbb2a51f0cde990430daac0bb0d79 \ 
    21                   rmd160 481a41bf83c992e8f96fbca2660a8ec406e974f9 
     19checksums         md5 c6e1ae41bc140d47f4608c1ab5f01802 \ 
     20                  sha1 b75966a564a799a082d1c95de5e4a44e21cf33d1 \ 
     21                  rmd160 68f5738b6c9ede8de24061cc1e1e285ad5b0bf16 
    2222 
    2323worksrcdir        ${name} 
    2424 
     
    2727build.args        -f makefile.unix 
    2828 
    2929destroot { 
    30         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 
    31         xinstall -m 755 ${worksrcpath}/${name} ${destroot}/${prefix}/bin 
    32         xinstall -m 644 ${worksrcpath}/license.txt \ 
    33                 ${destroot}${prefix}/share/doc/${name} 
     30    set docdir ${prefix}/share/doc/${name}-${version} 
     31 
     32        xinstall -m 755 -d ${destroot}${docdir} 
     33        xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin 
     34        xinstall -m 644 ${worksrcpath}/license.txt ${destroot}${docdir} 
    3435} 
     36 
     37livecheck.check regex 
     38livecheck.url   ${master_sites}?C=M&O=D 
     39livecheck.regex "[strsed ${distname} {/[.0-9]*$//}](\\\\d+(?:\\\\.\\\\d+)*)"