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

github.setup        xmake-io xmake 2.9.7 v
github.tarball_from archive
revision            0

homepage            https://xmake.io/

description         A cross-platform build utility based on Lua

long_description    \
    Xmake is a cross-platform build utility based on the Lua scripting \
    language. Xmake is very lightweight and has no dependencies outside of \
    the standard library. Uses the xmake.lua file to maintain project builds \
    with a simple and readable syntax.

categories          devel
installs_libs       no
license             Apache-2
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

fetch.type          git

depends_build-append \
                    port:pkgconfig
depends_lib-append  port:ncurses

post-fetch {
    system -W ${worksrcpath} "git submodule update --init --recursive"
}
