# $Id$

PortSystem          1.0
PortGroup           ocaml 1.0

name                ocaml-ocamlrss
version             2.2.0
revision            4
categories          www devel ml
platforms           darwin
license             LGPL-3
maintainers         mww openmaintainer
description         OCaml-RSS is a small OCaml library providing functions to parse and print RSS 2.0 files
long_description    ${description}
homepage            http://zoggy.github.com/ocamlrss/
master_sites        http://zoggy.github.com/ocamlrss/
checksums           rmd160  99a3ea857c3028a4540f52c12f47b31c96bed9bc \
                    sha256  61256beb7d16bbbe5514bc8b6962c0ed50e4bd3e29f137940ab9dc698deceb0f

distname            ocamlrss-${version}

depends_lib         port:ocaml port:ocaml-findlib port:ocaml-xmlm port:ocaml-ocamlnet

configure {
    reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" ${worksrcpath}/Makefile
}

use_parallel_build  no

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     ocamlrss-(\[0-9.\]+)${extract.suffix}