# $Id$

PortSystem 1.0
PortGroup           ocaml 1.0
PortGroup           github 1.0

github.setup        janestreet fieldslib 109.20.02

name                ocaml-fieldslib
revision            1
categories          devel ml
platforms           darwin
license             Apache-2
maintainers         mww openmaintainer
description         Syntax support for folding over record fields in OCaml
long_description    This library defines a syntax extension for OCaml using Camlp4 that \
                    can be used to define first class values representing record fields, \
                    and additional routines, to get and set record fields, iterate and fold \
                    over all fields of a record and create new record values.

homepage            https://ocaml.janestreet.com/code

checksums           rmd160  c04c93bb458667a06be9b3c1ad2d01f8970cb099 \
                    sha256  3b894a32035afe309d2db8502cd1e0502e1b72424ce82c4c389ead3b5be11b71

depends_lib         port:ocaml port:ocaml-findlib port:ocaml-type-conv

use_oasis           yes
use_oasis_doc       yes

configure.args-append "--destdir ${destroot}"