# -*- 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.32.1
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  ba6a99bc6e0eff1e0e5a967e98ecfb66c3d71e2f \
                    sha256  4c96bfd834f971d08b300a15ad185d86b6f971b09e296cb406348bdbb23cb09d \
                    size    610383
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"
}
