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

name                omake
version             0.10.7
revision            2
categories          devel
maintainers         nomaintainer
license             GPL-2
description         OMake is a build system designed for scalability and portability
long_description    OMake is a build system designed for scalability and portability. \
                    It uses a syntax similar to make utilities you may have used, but \
                    it features many additional enhancement
homepage            http://projects.camlcity.org/projects/omake.html
master_sites        https://github.com/ocaml-omake/omake/archive/refs/tags/
distname            omake-${version}
worksrcdir          omake-omake-${version}

checksums           rmd160  7f5b925037b8f83bcb805ac8aeb478934a7f7897 \
                    sha256  ec098107429a419965feab5cee5dfa2996fc3fdc23842d910c314590941cafb8 \
                    size    1508061

patchfiles-append   patch-cflags.diff

depends_lib         port:ocaml port:readline port:ncurses port:ocaml-menhir

installs_libs       no

configure.pre_args  -prefix ${prefix}
configure.args      -disable-fam

build.args          CC=${configure.cc} \
                    CFLAGS=${configure.cflags}
destroot.env        INSTALL_ROOT=${destroot}
