1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

games/openjazz: Update to 20240919

Also, switch to using CMake and sdl2.
This commit is contained in:
Ganael LAPLANCHE 2024-09-23 16:47:11 +02:00
parent 6a3e3f3e03
commit 8a4ebd2bf6
2 changed files with 9 additions and 12 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= openjazz
PORTVERSION= 20231028
PORTVERSION= 20240919
CATEGORIES= games
MAINTAINER= martymac@FreeBSD.org
@ -8,25 +8,22 @@ 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 <bsd.port.mk>

View File

@ -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