Ticket #49459: routino.diff
File routino.diff, 1.2 KB (added by kurthindenburg (Kurt Hindenburg), 9 years ago) |
---|
-
Portfile
old new 21 21 license GPL-3 22 22 23 23 master_sites http://routino.org/download/ 24 distname ${name}-${version}25 24 extract.suffix .tgz 25 26 26 checksums rmd160 ea9f8a1fd5f728f6f2a5382543be29ba1b2f1e00 \ 27 27 sha256 376512ef9627ce5c12e8c7a98dba7fe5125acfb89a9f9ee6758fbe36b5cf942f 28 28 29 29 patchfiles patch-Makefile_conf.diff \ 30 30 patch-src_Makefile_dylib_extension.diff 31 31 32 depends_lib port:libzip port:bzip2 33 32 34 use_parallel_build no 33 35 use_configure no 34 36 35 variant doc description {also install documentation files} {}36 37 37 post-patch { 38 38 reinplace -W ${worksrcpath} s|prefix=/usr/local|prefix=${prefix}|g Makefile.conf 39 39 reinplace -W ${worksrcpath} s|docdir=\$(prefix)/doc/routino|docdir=\$(prefix)/share/doc/routino|g Makefile.conf 40 40 } 41 42 post-destroot {43 if {![variant_isset doc]} {44 file delete -force ${destroot}${prefix}/share/doc45 }46 }47 48 livecheck.type regex49 livecheck.url ${homepage}download/50 livecheck.regex ${name}-(\\d+(\\.\\d+)*)\\.tgz