PortSystem          1.0
PortGroup           ocaml 1.0

name                ocaml-ftp
version             0.1.0
revision            3
categories          net devel ocaml
maintainers         nomaintainer
license             LGPL-2
description         OCaml ftp client library
long_description    ${description}
homepage            http://savonet.sf.net/
platforms           darwin
master_sites        sourceforge:savonet

checksums           rmd160  28b059f67897fb05c5df29cdb817eb5810e85120 \
                    sha256  5c1c6dc777202d84a5d82f73754c5afe10ab77b7202c6a09191a1a4a82d3f37b

depends_build       port:pkgconfig
depends_lib         port:ocaml \
                    port:ocaml-findlib

configure.pkg_config ${prefix}/bin/pkg-config
configure.env-append OCAMLFIND=${ocamlfind_wrapper} USER=macports

use_parallel_build  no
build.args          LIBDIRS=${prefix}/lib

livecheck.type      regex
livecheck.url       http://sf.net/api/file/index/project-id/89802/rss?path=%2Focaml-ftp
livecheck.regex     {ocaml-ftp-(.*)\.tar\.gz}