# -*- 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.335.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           sha256  269e95cc5138ea0a0d52fcb0ee19102add2560fedf5a43b1b5c17780c2775764 \
                    rmd160  8ebfb7f9e669d08802e7b5f44b11e121477b2a5b \
                    size    2871481

set py_ver          3.13
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}
