# -*- 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.1
PortGroup           github 1.0

github.setup        chetmurthy not-ocamlfind 0.15
github.tarball_from archive
name                ocaml-not-ocamlfind
revision            0
categories          ocaml devel
maintainers         {pguyot @pguyot} openmaintainer
license             MIT

description         A small frontend for ocamlfind that adds a few useful commands
long_description    {*}${description}

checksums           rmd160  8b16260d6f33c5c35ded00c018260c4bbab2d932 \
                    sha256  85377cbac10a1b2fafd0fc0cc8394d958d5b1da14cada3e1c93fc2c3ecabec7e \
                    size    19706

depends_lib-append  port:ocaml-camlp-streams \
                    port:ocaml-fmt \
                    port:ocaml-ocamlgraph \
                    port:ocaml-rresult

use_configure       no
use_parallel_build  no

# use_findlib does OCAMLFIND_DESTDIR but not OCAMLFIND_BIN which may be specific to not-ocamlfind
ocaml.use_findlib   yes
destroot.args-append OCAMLFIND_BIN=${destroot}${prefix}/bin
