# -*- 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

github.setup        Piervit gufo 0.1.2
revision            2
categories          shells ocaml
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL
description         Fonctionnal shell
long_description    Gufo is an experimental replacement to bash.
homepage            https://gufo.pvittet.com
checksums           rmd160  3c5746b4c1aa0f6bd457918b9f0f2487ea2849e3 \
                    sha256  2bbe4cbad7af18708d6fb9377feb79bde632082858ba7b7390151fd4502b960b \
                    size    127864
github.tarball_from archive

# https://github.com/Piervit/gufo/issues/2
patchfiles          patch-gufoConsole.ml.diff \
                    patch-gufoExpression.ml.diff \
                    patch-gufoStartComp.ml.diff
# https://github.com/Piervit/gufo/issues/3
patchfiles-append   patch-gufoEngine.ml.diff

platform powerpc {
    patchfiles-append \
                    patch-fix-byte.diff
}

depends_build-append \
                    port:ocaml-menhir

depends_lib-append  port:ocaml-camomile \
                    port:ocaml-lambda-term \
                    port:ocaml-lwt \
                    port:ocaml-oasis \
                    port:ocaml-react \
                    port:ocaml-sedlex \
                    port:ocaml-zed

ocaml.build_type    oasis
