Ticket #52984: camlp5.patch

File camlp5.patch, 1.6 KB (added by pmetzger (Perry E. Metzger), 8 years ago)

Patch to upgrade the Portfile

  • Portfile

    old new  
    44PortSystem 1.0
    55
    66name                camlp5
    7 version             6.13
    8 revision            1
     7version             6.17
    98categories          lang ml
    109license             BSD
    1110platforms           darwin
     
    2322        stream parsers and lexers pretty print module.  It works as a \
    2423        shell command and can also be used in the OCaml toplevel.
    2524
    26 homepage            http://camlp5.gforge.inria.fr/
    27 master_sites        ${homepage}distrib/src/
     25homepage            https://camlp5.github.io/
     26master_sites        https://github.com/camlp5/camlp5/archive/
    2827
    29 checksums           rmd160  cfea137e8a92e48fe51a15a816a6333477e86e43 \
    30                     sha256  d1e948c04079e417d2b616f03f57cda9b6111c563d7ce59a8956ac93772e4aa9
     28# The distname is of the form "rel617.tar.gz" when version is 6.17
     29distname            rel[string map {. ""} $version]
     30extract.suffix      .tar.gz
     31worksrcdir          camlp5-${distname}
    3132
    32 depends_build       port:ocaml
     33checksums           rmd160  a2875ab3f908d015452382e301093b8c4310381a \
     34                    sha256  8fa2a46a7030b1194862650cbb71ab52a10a0174890560a8b6edf236f8937414
    3335
    34 extract.suffix      .tgz
     36depends_build       port:ocaml
    3537
    3638configure.pre_args  --prefix "${prefix}"
    3739configure.args      --mandir "${prefix}/share/man"
     
    4345universal_variant   no
    4446
    4547livecheck.type  regex
    46 livecheck.url   [lindex ${master_sites} 0]
    47 livecheck.regex ${name}-(\[0-9.\]+)\\.tgz
     48livecheck.url   ${homepage}
     49livecheck.regex "The current distributed version is <b>(\\d\\.\\d+)</b>"