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

github.setup        qbs qbs 1.3.4 v
revision            0
categories          devel
license             LGPL-2.1
maintainers         nomaintainer
description         Build tool that helps simplify the build process for developing \
                    projects across multiple platforms.
long_description    Qt Build Suite (Qbs) is a tool that helps simplify the build process \
                    for developing projects across multiple platforms.
homepage            http://qbs.io
checksums           rmd160  6aeb4adda845925c6d3aa2d6391e51fc25d40c8a \
                    sha256  89f924aa6d2c38540ce3504f6f3e89332055fb3c7322aaef99989a4f5d69905c \
                    size    723205
github.tarball_from archive

patchfiles          0001-Fix-broken-code.patch

pre-configure {
    configure.pre_args-append \
                    "CONFIG+=\"disable_rpath absolute_library_soname\""
}

configure.post_args QBS_INSTALL_PREFIX=${prefix} qbs.pro
