openbsd-ports/graphics/glslang/Makefile
2022-11-13 15:28:39 +00:00

37 lines
652 B
Makefile

PORTROACH = limit:^[0-9]
COMMENT = reference front-end for GLSL and ESSL
GH_TAGNAME = 11.11.0
GH_ACCOUNT = KhronosGroup
GH_PROJECT = glslang
REVISION = 0
CATEGORIES = devel graphics
HOMEPAGE = https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
MAINTAINER = Thomas Frohwein <thfr@openbsd.org>
# BSD-3
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} c m
# C++11
COMPILER = base-clang ports-gcc
MODULES = devel/cmake \
lang/python
TEST_DEPENDS = graphics/spirv-tools \
shells/bash
SUBST_VARS += WRKBUILD
post-configure:
${SUBST_CMD} ${WRKSRC}/Test/runtests
do-test:
cd ${WRKSRC}/Test; bash runtests
.include <bsd.port.mk>