Force rebuild vulkan-loader to make sure vulkaninfo shows the new version. Changes: https://github.com/KhronosGroup/Vulkan-Headers/compare/v1.3.298...v1.3.299 Reported by: Repology, portscout
29 lines
735 B
Makefile
29 lines
735 B
Makefile
PORTNAME= vulkan-headers
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.3.299
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= Headers for the Vulkan graphics API
|
|
WWW= https://github.com/KhronosGroup/Vulkan-Headers
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= cmake
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= KhronosGroup
|
|
GH_PROJECT= Vulkan-Headers
|
|
STRIP= # nothing to strip
|
|
NO_ARCH= yes
|
|
|
|
# XXX Add clang-scan-deps to WITH_CLANG_EXTRAS in src.conf(5)
|
|
.if exists(/usr/bin/clang) && !exists(/usr/bin/clang-scan-deps)
|
|
CMAKE_OFF+= VULKAN_HEADERS_ENABLE_MODULE
|
|
.endif
|
|
|
|
post-extract:
|
|
# genvk.py requires docgenerator.py from Vulkan-Docs, so drop useless shebang
|
|
@${FIND} ${WRKSRC}/registry -name \*.py -exec ${REINPLACE_CMD} -i '' '/^#!/d' {} +
|
|
|
|
.include <bsd.port.mk>
|