# -*- 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.350.1 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  208743b2d640506aca8865c0696ee62f28f36bb7 \
                    sha256  6d1bb65e49520344cc0a48af3dc02e993781efff14c7ebdcb8ae9fa23ddf7e83 \
                    size    3271464

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}
