# -*- 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        KhronosGroup Vulkan-Headers 1.4.363.0 vulkan-sdk-
github.tarball_from archive
name                vulkan-headers
revision            0

categories          graphics
license             Apache-2
platforms           any
supported_archs     noarch
maintainers         {judaew @judaew} openmaintainer

description         Vulkan header files and API registry
long_description    Development header files for the Vulkan graphics API. See MoltenVK, and \
                    Vulkan-Loader for related ports.
homepage            https://vulkan.lunarg.com

checksums           rmd160  55712b8d1648bb88637eca6d028bc6c0adef8570 \
                    sha256  4a078be12bef21cfebc09d878b77a63cff9d68f899254a0b00d0e37ef73e7f7e \
                    size    3416321

cmake.build_type    Release

set py_ver          3.14
set py_ver_nodot    [string map {. {}} ${py_ver}]
foreach stage {configure build destroot test} {
    ${stage}.env-append PATH=${frameworks_dir}/Python.framework/Versions/${py_ver}/bin:$env(PATH)
}
depends_build-append port:python${py_ver_nodot}
