# -*- 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
maintainers openmaintainer \
{@jakepetroules qt.io:jake.petroules}
description Build tool that helps simplify the build process for developing projects across multiple platforms.
long_description Qbs is a tool that helps simplify the build process for developing projects across multiple platforms.
homepage https://wiki.qt.io/Qbs
distname qbs-src-${version}
master_sites https://download.qt.io/official_releases/qbs/${version}/
checksums rmd160 e04bc49e9fbfe91a717b92c1bea64ce7bf2699bf \
sha256 38afae3b697b96e07d53cfc64dd03533fddec052ecdc08d8e7779440c36c3ecd
qt5.depends_component qtscript
configure.post_args QBS_INSTALL_PREFIX=${prefix} \
CONFIG+=qbs_disable_rpath \
CONFIG+=qbs_enable_project_file_updates \
livecheck.url https://download.qt.io/official_releases/qbs/
livecheck.regex {(\d+(?:\.\d+)+)/}
destroot.target install_docs
patchfiles-append patch-doc.diff
"s|__MACPORTS_DOC_HTML_INSTALLDIR__|${qt_docs_dir}|g" \
${worksrcpath}/doc/doc.pri
qt5.depends_build_component sqlite-plugin
depends_run-append port:${name}