# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           ocaml 1.0

name                ocaml-ocamlrss
version             2.2.0
revision            4
categories          www devel ocaml
platforms           darwin
license             LGPL-3
maintainers         nomaintainer
description         OCaml-RSS is a small OCaml library providing functions to parse and print RSS 2.0 files
long_description    ${description}

homepage            https://zoggy.github.io/ocamlrss/
master_sites        ${homepage}

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       [lindex ${master_sites} 0]
livecheck.regex     ocamlrss-(\[0-9.\]+)${extract.suffix}

