# -*- 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
conflicts           osh
version             0.10.3
revision            0
platforms           darwin
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        http://download.camlcity.org/download/

checksums           rmd160  fc83dffbeb0e164ec8ed2e117514a2f16698676c \
                    sha256  ff3107e9459615ea6526309c533b04815eef60692a20dcd3a6169f5860786d1d \
                    size    2438877

patchfiles-append   patch-cflags.diff \
                    patch-OCaml.om.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}