diff --git a/games/openjazz/Makefile b/games/openjazz/Makefile index ff032928bbd7..60179b5fff16 100644 --- a/games/openjazz/Makefile +++ b/games/openjazz/Makefile @@ -1,32 +1,29 @@ PORTNAME= openjazz -PORTVERSION= 20231028 +PORTVERSION= 20240919 CATEGORIES= games MAINTAINER= martymac@FreeBSD.org COMMENT= Free re-implementation of the Jazz Jackrabbit(tm) game engine WWW= http://alister.eu/jazz/oj LICENSE= GPLv2 -USES= dos2unix gmake sdl xorg +USES= cmake dos2unix sdl xorg +USE_SDL= sdl2 USE_XORG= x11 xext xrandr xrender xau xdmcp -USE_SDL= sdl USE_GITHUB= yes GH_ACCOUNT= AlisterT -DOS2UNIX_REGEX= .*\.(h|cpp) -ALL_TARGET= OpenJazz +CMAKE_ARGS+= -DDATAPATH:STRING=${DATADIR} -CXXFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` \ - -DDATAPATH=\\\"${DATADIR}/\\\" -DHOMEDIR -LDFLAGS+= -lpthread -L${LOCALBASE}/lib `${SDL_CONFIG} --libs` +DOS2UNIX_REGEX= .*\.(h|cpp) SUB_FILES= pkg-message do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${TOUCH} ${STAGEDIR}${DATADIR}/.keepme - ${INSTALL_PROGRAM} ${WRKSRC}/OpenJazz ${STAGEDIR}${PREFIX}/bin/openjazz + ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/OpenJazz ${STAGEDIR}${PREFIX}/bin/openjazz .include diff --git a/games/openjazz/distinfo b/games/openjazz/distinfo index 57e0093ced4e..f009bf367feb 100644 --- a/games/openjazz/distinfo +++ b/games/openjazz/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1698694703 -SHA256 (AlisterT-openjazz-20231028_GH0.tar.gz) = c45ff414dc846563ad7ae4b6c848f938ab695eb4ae6f958856b3fa409da0b8ac -SIZE (AlisterT-openjazz-20231028_GH0.tar.gz) = 417317 +TIMESTAMP = 1726862171 +SHA256 (AlisterT-openjazz-20240919_GH0.tar.gz) = c50193b630c375840026d729bb9dda6c7210b1523e62d7ae019ce2e37f806627 +SIZE (AlisterT-openjazz-20240919_GH0.tar.gz) = 424018