# -*- 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 github    1.0
PortGroup ocaml     1.1

name                ocaml-ppxlib
github.setup        ocaml-ppx ppxlib 0.38.0
revision            0

categories          ocaml devel
maintainers         {landonf @landonf} openmaintainer
license             MIT
description         Standard library for ppx rewriters
long_description    Ppxlib is the standard library for ppx rewriters and other \
                    programs that manipulate the in-memory reprensation of the \
                    OCaml parsetree.

checksums           rmd160  93f5cbae8c5260f84858eff1d0d57082edbb0378 \
                    sha256  cb88f34179731182aa73bb25e4d081f94a6a9a7f99b1f818ddb2969f97123b19 \
                    size    674990
github.tarball_from archive

conflicts           ocaml-migrate-parsetree

depends_lib         port:ocaml-ppx_derivers \
                    port:ocaml-sexplib0 \
                    port:ocaml-compiler-libs \
                    port:ocaml-stdlib-shims

ocaml.build_type    dune

post-destroot {
    # Installs a number of build-time-only tools under relatively generic
    # binary names (e.g. 'pp')
    delete "${destroot}${prefix}/bin"
}
