[93968] trunk/dports/devel/ocaml-res/Portfile

mww at macports.org mww at macports.org
Tue Jun 5 08:42:48 PDT 2012


Revision: 93968
          https://trac.macports.org/changeset/93968
Author:   mww at macports.org
Date:     2012-06-05 08:42:48 -0700 (Tue, 05 Jun 2012)
Log Message:
-----------
ocaml-res: move to bitbucket -- including new distfile (uses gz instead of bz2 so they are different files); inc revision

Modified Paths:
--------------
    trunk/dports/devel/ocaml-res/Portfile

Modified: trunk/dports/devel/ocaml-res/Portfile
===================================================================
--- trunk/dports/devel/ocaml-res/Portfile	2012-06-05 15:36:16 UTC (rev 93967)
+++ trunk/dports/devel/ocaml-res/Portfile	2012-06-05 15:42:48 UTC (rev 93968)
@@ -5,21 +5,19 @@
 
 name                ocaml-res
 version             3.2.0
+revision            1
 categories          devel ml
 platforms           darwin
 license             LGPL-2.1
 maintainers         mww openmaintainer
 description         OCaml library for automatically resizing contiguous memory (arrays and strings)
 long_description    ${description}
-homepage            http://www.ocaml.info/home/ocaml_sources.html
-master_sites        http://hg.ocaml.info/release/res/archive/
-checksums           md5     df4fde25845f364ddb687cdc79c00677 \
-                    sha1    5f48566d7e134557239c34d4c968d50e2c2b451c \
-                    rmd160  50e45fc35ed9f8e111725ea39f39415766eff219
-use_bzip2           yes
+homepage            https://bitbucket.org/mmottl/res/
+master_sites        https://bitbucket.org/mmottl/res/downloads/
+checksums           rmd160  b579199069a9aa7533b9f75f1428f4c0ecaf5fa4 \
+                    sha256  3b9dbed702670657e28347f6aeddaa9dccdbf37961e2f05427220aac02169aaa
 
-distname            release-${version}
-worksrcdir          res-${distname}
+distname            res-${version}
 
 depends_lib         port:ocaml port:ocaml-findlib
 
@@ -33,5 +31,6 @@
 destroot.env        OCAMLFIND_INSTFLAGS="-destdir $ocamlfind_destdir"
 
 livecheck.type      regex
-livecheck.regex     "res/archive/release-(\\d+(?:\\.\\d+)*).tar.bz2"
+livecheck.url       ${master_sites}
+livecheck.regex     res-(\[0-9.\]+)${extract.suffix}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120605/38d2210b/attachment.html>


More information about the macports-changes mailing list