Files
kmos dee5f68587 base-gcc doesn't like -Wpedantic
Move to ports-gcc on base-gcc arches to fix buikd on sparc64
2026-03-21 07:29:31 +00:00

36 lines
752 B
Makefile

V = 1.8.0
COMMENT = open source re-implementation of Caesar III game engine
DISTNAME = julius-${V}
EXTRACT_SUFX = -source.tar.gz
CATEGORIES = games x11
REVISION = 0
HOMEPAGE = https://github.com/bvschaik/julius
# AGPLv3 only
PERMIT_PACKAGE = Yes
# base-gcc doesn't have -Wpedantic
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
WANTLIB += SDL2 SDL2_mixer c m png pthread z
SITES = https://github.com/bvschaik/julius/releases/download/v${V}/
MODULES = devel/cmake
LIB_DEPENDS = devel/sdl2-mixer \
graphics/png
RUN_DEPENDS = devel/desktop-file-utils \
x11/gtk+4,-guic
MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
# Talk to upstream about this?
pre-configure:
sed -i 's,--coverage,,g' ${WRKSRC}/test/CMakeLists.txt
.include <bsd.port.mk>