Ticket #52984: camlp5.patch
File camlp5.patch, 1.6 KB (added by pmetzger (Perry E. Metzger), 8 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name camlp5 7 version 6.13 8 revision 1 7 version 6.17 9 8 categories lang ml 10 9 license BSD 11 10 platforms darwin … … 23 22 stream parsers and lexers pretty print module. It works as a \ 24 23 shell command and can also be used in the OCaml toplevel. 25 24 26 homepage http ://camlp5.gforge.inria.fr/27 master_sites ${homepage}distrib/src/25 homepage https://camlp5.github.io/ 26 master_sites https://github.com/camlp5/camlp5/archive/ 28 27 29 checksums rmd160 cfea137e8a92e48fe51a15a816a6333477e86e43 \ 30 sha256 d1e948c04079e417d2b616f03f57cda9b6111c563d7ce59a8956ac93772e4aa9 28 # The distname is of the form "rel617.tar.gz" when version is 6.17 29 distname rel[string map {. ""} $version] 30 extract.suffix .tar.gz 31 worksrcdir camlp5-${distname} 31 32 32 depends_build port:ocaml 33 checksums rmd160 a2875ab3f908d015452382e301093b8c4310381a \ 34 sha256 8fa2a46a7030b1194862650cbb71ab52a10a0174890560a8b6edf236f8937414 33 35 34 extract.suffix .tgz 36 depends_build port:ocaml 35 37 36 38 configure.pre_args --prefix "${prefix}" 37 39 configure.args --mandir "${prefix}/share/man" … … 43 45 universal_variant no 44 46 45 47 livecheck.type regex 46 livecheck.url [lindex ${master_sites} 0]47 livecheck.regex ${name}-(\[0-9.\]+)\\.tgz48 livecheck.url ${homepage} 49 livecheck.regex "The current distributed version is <b>(\\d\\.\\d+)</b>"