Modified: trunk/dports/devel/ocaml-res/Portfile (93967 => 93968)
--- 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}