Ticket #49459: routino.diff

File routino.diff, 1.2 KB (added by kurthindenburg (Kurt Hindenburg), 9 years ago)

patch on Portfile - suggest fixes

  • Portfile

    old new  
    2121license                 GPL-3
    2222
    2323master_sites            http://routino.org/download/
    24 distname                ${name}-${version}
    2524extract.suffix          .tgz
     25
    2626checksums               rmd160  ea9f8a1fd5f728f6f2a5382543be29ba1b2f1e00 \
    2727                        sha256  376512ef9627ce5c12e8c7a98dba7fe5125acfb89a9f9ee6758fbe36b5cf942f
    2828
    2929patchfiles              patch-Makefile_conf.diff \
    3030                        patch-src_Makefile_dylib_extension.diff
    3131
     32depends_lib             port:libzip port:bzip2
     33
    3234use_parallel_build      no
    3335use_configure           no
    3436
    35 variant doc description {also install documentation files} {}
    36 
    3737post-patch {
    3838    reinplace -W ${worksrcpath} s|prefix=/usr/local|prefix=${prefix}|g Makefile.conf
    3939    reinplace -W ${worksrcpath} s|docdir=\$(prefix)/doc/routino|docdir=\$(prefix)/share/doc/routino|g Makefile.conf
    4040}
    41 
    42 post-destroot {
    43     if {![variant_isset doc]} {
    44         file delete -force ${destroot}${prefix}/share/doc
    45     }
    46 }
    47 
    48 livecheck.type          regex
    49 livecheck.url           ${homepage}download/
    50 livecheck.regex         ${name}-(\\d+(\\.\\d+)*)\\.tgz