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

github.setup            mulle-nat mulle-xcode-to-cmake 0.9.0
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from     tarball
categories              devel
maintainers             nomaintainer
license                 GPL-3+

description             Tool to convert Xcode projects to cmake CMakeLists.txt
long_description        {*}${description}

checksums               rmd160  df4601cf6c02bab963f967d68eec2e1a323cdb13 \
                        sha256  1f5eb933e931e024595c4bbb5a5bfd4910469294b88505fb6313212c97e30d5f \
                        size    53091

configure.cflags-append -DCURRENT_PROJECT_VERSION=${version}

destroot {
    copy  ${build.dir}/${name} ${destroot}${prefix}/bin
}

test.run                yes
test.cmd                ${build.dir}/${name}
test.target
test.args               -v
