git: fe6a4213c13e - main - devel/flatzebra: Update to 0.2.0 + update deps

From: Ganael LAPLANCHE <martymac_at_FreeBSD.org>
Date: Mon, 03 Jun 2024 10:16:59 UTC
The branch main has been updated by martymac:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fe6a4213c13e7a0f7026faf68a9a18e92e648dfa

commit fe6a4213c13e7a0f7026faf68a9a18e92e648dfa
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2024-06-03 10:09:17 +0000
Commit:     Ganael LAPLANCHE <martymac@FreeBSD.org>
CommitDate: 2024-06-03 10:16:52 +0000

    devel/flatzebra: Update to 0.2.0 + update deps
    
    Update devel/flatzebra and dependent ports.
    
    Also, do a bit of cleanup:
    - Remove LOCAL from MASTER_SITES
    - Homogenize WWW URLs
    - Fix licence (GPLv2+ instead of GPLv2)
    - Specify LICENSE_FILE
    - Switch to more recent (default) CXXSTD
    - Remove useless GNU_CONFIGURE_MANPREFIX
---
 devel/flatzebra/Makefile                           |  12 +--
 devel/flatzebra/distinfo                           |   6 +-
 devel/flatzebra/files/patch-Makefile.in            |  20 ++--
 .../files/patch-src-flatzebra-Makefile.in          |  29 +++---
 devel/flatzebra/pkg-descr                          |   6 +-
 devel/flatzebra/pkg-plist                          |  33 +++++-
 games/afternoonstalker/Makefile                    |  17 ++--
 games/afternoonstalker/distinfo                    |   6 +-
 games/afternoonstalker/files/patch-Makefile.in     |  10 ++
 games/afternoonstalker/pkg-plist                   |  73 ++++++++++++++
 games/burgerspace/Makefile                         |  15 ++-
 games/burgerspace/distinfo                         |   6 +-
 .../files/patch-src-BurgerSpaceEngine.cpp          |  10 ++
 games/burgerspace/pkg-plist                        | 112 ++++++++++++++++++++-
 games/cosmosmash/Makefile                          |  19 ++--
 games/cosmosmash/distinfo                          |   6 +-
 games/cosmosmash/files/patch-Makefile.in           |  10 ++
 games/cosmosmash/pkg-plist                         |  42 +++++++-
 18 files changed, 343 insertions(+), 89 deletions(-)

diff --git a/devel/flatzebra/Makefile b/devel/flatzebra/Makefile
index f3aff7a395a5..70864928f873 100644
--- a/devel/flatzebra/Makefile
+++ b/devel/flatzebra/Makefile
@@ -1,23 +1,23 @@
 PORTNAME=	flatzebra
-PORTVERSION=	0.1.7
+PORTVERSION=	0.2.0
 CATEGORIES=	devel games
 MASTER_SITES=	http://perso.b2b2c.ca/~sarrazip/dev/
 
 MAINTAINER=	martymac@FreeBSD.org
 COMMENT=	Generic game engine for 2D double-buffering animation
-WWW=		http://www3.sympatico.ca/sarrazip/en/
+WWW=		http://sarrazip.com
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		libtool pathfix pkgconfig sdl
-USE_CXXSTD=	gnu++98
-GNU_CONFIGURE=	yes
-USE_SDL=	sdl mixer image
+USE_SDL=	sdl2 gfx2 image2 mixer2 ttf2
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 
-PORTDOCS=	AUTHORS NEWS README
+GNU_CONFIGURE=	yes
+
+PORTDOCS=	AUTHORS NEWS README THANKS
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/devel/flatzebra/distinfo b/devel/flatzebra/distinfo
index d85025bbf203..7b76b6762098 100644
--- a/devel/flatzebra/distinfo
+++ b/devel/flatzebra/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1573566903
-SHA256 (flatzebra-0.1.7.tar.gz) = 8809a655cd85b25701de3c627cdacfa49f59af13680d609730386fc402f14df4
-SIZE (flatzebra-0.1.7.tar.gz) = 375938
+TIMESTAMP = 1717007009
+SHA256 (flatzebra-0.2.0.tar.gz) = 2371a2b885ce173a8a5d2d2d63e4916d06d301c9a7d624b6212ad5534e7c31dc
+SIZE (flatzebra-0.2.0.tar.gz) = 654669
diff --git a/devel/flatzebra/files/patch-Makefile.in b/devel/flatzebra/files/patch-Makefile.in
index 522d249d0c63..0fe6f844869a 100644
--- a/devel/flatzebra/files/patch-Makefile.in
+++ b/devel/flatzebra/files/patch-Makefile.in
@@ -1,23 +1,19 @@
---- Makefile.in.orig	2019-11-12 21:07:28.232238000 +0100
-+++ Makefile.in	2019-11-12 21:08:46.707676000 +0100
-@@ -330,7 +330,7 @@
+--- Makefile.in.orig	2024-05-31 11:23:25 UTC
++++ Makefile.in
+@@ -345,7 +345,7 @@ datarootdir = @datarootdir@
  builddir = @builddir@
  datadir = @datadir@
  datarootdir = @datarootdir@
--docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
-+docdir = $(datadir)/doc/$(PACKAGE)
+-docdir = $(datarootdir)/doc/$(PACKAGE)-$(VERSION)
++docdir = $(datarootdir)/doc/$(PACKAGE)
  dvidir = @dvidir@
  exec_prefix = @exec_prefix@
  host = @host@
-@@ -366,10 +366,8 @@
+@@ -382,7 +382,6 @@ doc_DATA = \
  pkgconfig_DATA = $(PACKAGE)-$(API).pc
  doc_DATA = \
  	AUTHORS \
 -	COPYING \
  	NEWS \
--	README \
--	THANKS
-+	README
- 
- RPMBUILD = rpmbuild
- M4_MACROS = \
+ 	README \
+ 	THANKS
diff --git a/devel/flatzebra/files/patch-src-flatzebra-Makefile.in b/devel/flatzebra/files/patch-src-flatzebra-Makefile.in
index ee46f5782239..88c89d7fe577 100644
--- a/devel/flatzebra/files/patch-src-flatzebra-Makefile.in
+++ b/devel/flatzebra/files/patch-src-flatzebra-Makefile.in
@@ -1,22 +1,21 @@
---- src/flatzebra/Makefile.in.orig	2012-07-14 05:41:48.000000000 +0200
-+++ src/flatzebra/Makefile.in	2013-06-06 16:56:34.000000000 +0200
-@@ -120,7 +120,7 @@
- ETAGS = etags
- CTAGS = ctags
+--- src/flatzebra/Makefile.in.orig	2024-05-29 10:49:11 UTC
++++ src/flatzebra/Makefile.in
+@@ -466,7 +466,7 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS)
+ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp \
+ 	$(top_srcdir)/test-driver
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 -pkgincludedir = $(includedir)/$(PACKAGE)-$(API)/$(PACKAGE)
 +pkgincludedir = $(includedir)/$(PACKAGE)
  ACLOCAL = @ACLOCAL@
  AMTAR = @AMTAR@
- API = @API@
-@@ -274,8 +274,8 @@
- 	font_13x7.xpm
+ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+@@ -670,8 +670,8 @@ libflatzebra_0_2_la_CXXFLAGS = \
+ 	roundbeetle/WhiteNoiseSource.h
  
- libflatzebra_0_1_la_CXXFLAGS = \
--	$(SDL_CFLAGS) \
--	-I$(top_srcdir)/src
-+	-I$(top_srcdir)/src \
-+	$(SDL_CFLAGS)
+ libflatzebra_0_2_la_CXXFLAGS = \
+-	$(SDL2_CFLAGS) \
+ 	-I$(top_srcdir)/src \
++	$(SDL2_CFLAGS) \
+ 	-DPKGPIXMAPDIR=\"$(pkgpixmapdir)\" \
+ 	$(W_SUGGEST_OVERRIDE)
  
- libflatzebra_0_1_la_LIBADD = \
- 	$(SDL_LIBS)
diff --git a/devel/flatzebra/pkg-descr b/devel/flatzebra/pkg-descr
index 2fb3a5590dc2..aae76526297a 100644
--- a/devel/flatzebra/pkg-descr
+++ b/devel/flatzebra/pkg-descr
@@ -1,5 +1,3 @@
-flatzebra - A generic game engine for 2D double-buffering animation
+Flatzebra is a generic C++ game engine library supporting 2D double-buffering.
 
-Copyright (C) 2001-2004 Pierre Sarrazin <http://sarrazip.com/>
-This program is free software distributed under the GNU GPL.
-See the file COPYING.
+It is used by games such as BurgerSpace, Afternoon Stalker and Cosmosmash.
diff --git a/devel/flatzebra/pkg-plist b/devel/flatzebra/pkg-plist
index 29270b800e62..c52f420a4435 100644
--- a/devel/flatzebra/pkg-plist
+++ b/devel/flatzebra/pkg-plist
@@ -8,7 +8,32 @@ include/flatzebra/RCouple.h
 include/flatzebra/RSprite.h
 include/flatzebra/SoundMixer.h
 include/flatzebra/Sprite.h
-lib/libflatzebra-0.1.so
-lib/libflatzebra-0.1.so.2
-lib/libflatzebra-0.1.so.2.0.0
-libdata/pkgconfig/flatzebra-0.1.pc
+include/flatzebra/roundbeetle/ADSR.h
+include/flatzebra/roundbeetle/ADSRSource.h
+include/flatzebra/roundbeetle/AutoLocker.h
+include/flatzebra/roundbeetle/Bus.h
+include/flatzebra/roundbeetle/ClientObject.h
+include/flatzebra/roundbeetle/Fader.h
+include/flatzebra/roundbeetle/Frame.h
+include/flatzebra/roundbeetle/FrameSource.h
+include/flatzebra/roundbeetle/FrameSourceAdder.h
+include/flatzebra/roundbeetle/FrequencyFunction.h
+include/flatzebra/roundbeetle/LoopingSource.h
+include/flatzebra/roundbeetle/NativeSDLSoundRenderer.h
+include/flatzebra/roundbeetle/PausableSource.h
+include/flatzebra/roundbeetle/SampleSource.h
+include/flatzebra/roundbeetle/SampleToFramePanner.h
+include/flatzebra/roundbeetle/SineSource.h
+include/flatzebra/roundbeetle/SoundEngine.h
+include/flatzebra/roundbeetle/SoundRenderer.h
+include/flatzebra/roundbeetle/SquareWaveSource.h
+include/flatzebra/roundbeetle/Vec.h
+include/flatzebra/roundbeetle/VolumeMeter.h
+include/flatzebra/roundbeetle/WaveFileBuffer.h
+include/flatzebra/roundbeetle/WaveFileSource.h
+include/flatzebra/roundbeetle/WhiteNoiseSource.h
+lib/libflatzebra-0.2.so
+lib/libflatzebra-0.2.so.2
+lib/libflatzebra-0.2.so.2.0.0
+libdata/pkgconfig/flatzebra-0.2.pc
+share/pixmaps/flatzebra-0.2/font_13x7.xpm
diff --git a/games/afternoonstalker/Makefile b/games/afternoonstalker/Makefile
index b9dda02133d2..8b146e64006d 100644
--- a/games/afternoonstalker/Makefile
+++ b/games/afternoonstalker/Makefile
@@ -1,26 +1,23 @@
 PORTNAME=	afternoonstalker
-PORTVERSION=	1.1.6
-PORTREVISION=	1
+PORTVERSION=	1.2.0
 CATEGORIES=	games
-MASTER_SITES=	http://perso.b2b2c.ca/~sarrazip/dev/ \
-		LOCAL/martymac
+MASTER_SITES=	http://perso.b2b2c.ca/~sarrazip/dev/
 
 MAINTAINER=	martymac@FreeBSD.org
 COMMENT=	Clone of the 1981 Night Stalker video game
 WWW=		http://sarrazip.com/dev/afternoonstalker.html
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libflatzebra-0.1.so:devel/flatzebra
+LIB_DEPENDS=	libflatzebra-0.2.so:devel/flatzebra
 
 USES=		pkgconfig sdl
-USE_CXXSTD=	gnu++98
-USE_SDL=	image mixer sdl
+USE_SDL=	sdl2 gfx2 image2 mixer2 ttf2
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
-PORTDOCS=	AUTHORS COPYING NEWS README THANKS
+PORTDOCS=	AUTHORS NEWS README THANKS
 
 OPTIONS_DEFINE=	DOCS
 
diff --git a/games/afternoonstalker/distinfo b/games/afternoonstalker/distinfo
index a9828680860a..a7e4fe10de1b 100644
--- a/games/afternoonstalker/distinfo
+++ b/games/afternoonstalker/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1573568195
-SHA256 (afternoonstalker-1.1.6.tar.gz) = 04deb200f1b63c4113102207cc566ae825ae7ada53ccb0d8a8c128e1de414440
-SIZE (afternoonstalker-1.1.6.tar.gz) = 186724
+TIMESTAMP = 1717011739
+SHA256 (afternoonstalker-1.2.0.tar.gz) = ccdda54768d9ab48e7a702ceb59b282712ae61d91277e1b6c22a5965930a3c0d
+SIZE (afternoonstalker-1.2.0.tar.gz) = 189534
diff --git a/games/afternoonstalker/files/patch-Makefile.in b/games/afternoonstalker/files/patch-Makefile.in
new file mode 100644
index 000000000000..defcdb3bbb66
--- /dev/null
+++ b/games/afternoonstalker/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig	2024-05-13 02:38:58 UTC
++++ Makefile.in
+@@ -346,7 +346,6 @@ doc_DATA = \
+ man_MANS = doc/$(PACKAGE).6
+ doc_DATA = \
+ 	AUTHORS \
+-	COPYING \
+ 	NEWS \
+ 	README \
+ 	THANKS
diff --git a/games/afternoonstalker/pkg-plist b/games/afternoonstalker/pkg-plist
index 587c12fb204e..6be510ec28ab 100644
--- a/games/afternoonstalker/pkg-plist
+++ b/games/afternoonstalker/pkg-plist
@@ -14,3 +14,76 @@ bin/afternoonstalker
 share/applications/afternoonstalker.desktop
 share/man/man6/afternoonstalker.6.gz
 share/pixmaps/afternoonstalker.png
+share/pixmaps/afternoonstalker/bat_explosion_0.xpm
+share/pixmaps/afternoonstalker/bat_flying_0.xpm
+share/pixmaps/afternoonstalker/bat_flying_1.xpm
+share/pixmaps/afternoonstalker/bat_flying_2.xpm
+share/pixmaps/afternoonstalker/bat_flying_3.xpm
+share/pixmaps/afternoonstalker/big_robot_bullet_0.xpm
+share/pixmaps/afternoonstalker/big_robot_bullet_1.xpm
+share/pixmaps/afternoonstalker/big_robot_bullet_2.xpm
+share/pixmaps/afternoonstalker/black_robot_0.xpm
+share/pixmaps/afternoonstalker/black_robot_1.xpm
+share/pixmaps/afternoonstalker/black_robot_explosion_0.xpm
+share/pixmaps/afternoonstalker/black_robot_explosion_1.xpm
+share/pixmaps/afternoonstalker/blink.xpm
+share/pixmaps/afternoonstalker/blue_robot_0.xpm
+share/pixmaps/afternoonstalker/blue_robot_1.xpm
+share/pixmaps/afternoonstalker/blue_robot_explosion_0.xpm
+share/pixmaps/afternoonstalker/blue_robot_explosion_1.xpm
+share/pixmaps/afternoonstalker/bunker_door_tile.xpm
+share/pixmaps/afternoonstalker/bunker_tile.xpm
+share/pixmaps/afternoonstalker/bunker_tile_0.xpm
+share/pixmaps/afternoonstalker/bunker_tile_1.xpm
+share/pixmaps/afternoonstalker/bunker_tile_2.xpm
+share/pixmaps/afternoonstalker/bunker_tile_3.xpm
+share/pixmaps/afternoonstalker/cobweb_tile.xpm
+share/pixmaps/afternoonstalker/corner_tile_0.xpm
+share/pixmaps/afternoonstalker/corner_tile_1.xpm
+share/pixmaps/afternoonstalker/corner_tile_2.xpm
+share/pixmaps/afternoonstalker/corner_tile_3.xpm
+share/pixmaps/afternoonstalker/digit0.xpm
+share/pixmaps/afternoonstalker/digit1.xpm
+share/pixmaps/afternoonstalker/digit2.xpm
+share/pixmaps/afternoonstalker/digit3.xpm
+share/pixmaps/afternoonstalker/digit4.xpm
+share/pixmaps/afternoonstalker/digit5.xpm
+share/pixmaps/afternoonstalker/digit6.xpm
+share/pixmaps/afternoonstalker/digit7.xpm
+share/pixmaps/afternoonstalker/digit8.xpm
+share/pixmaps/afternoonstalker/digit9.xpm
+share/pixmaps/afternoonstalker/floor_tile.xpm
+share/pixmaps/afternoonstalker/gray_robot_0.xpm
+share/pixmaps/afternoonstalker/gray_robot_1.xpm
+share/pixmaps/afternoonstalker/gray_robot_explosion_0.xpm
+share/pixmaps/afternoonstalker/gray_robot_explosion_1.xpm
+share/pixmaps/afternoonstalker/gun.xpm
+share/pixmaps/afternoonstalker/human_bullet.xpm
+share/pixmaps/afternoonstalker/human_explosion_0.xpm
+share/pixmaps/afternoonstalker/human_front_0.xpm
+share/pixmaps/afternoonstalker/human_front_1.xpm
+share/pixmaps/afternoonstalker/human_front_2.xpm
+share/pixmaps/afternoonstalker/human_paralyzed_0.xpm
+share/pixmaps/afternoonstalker/invisible_robot_0.xpm
+share/pixmaps/afternoonstalker/invisible_robot_1.xpm
+share/pixmaps/afternoonstalker/invisible_robot_explosion_0.xpm
+share/pixmaps/afternoonstalker/invisible_robot_explosion_1.xpm
+share/pixmaps/afternoonstalker/robot_bullet.xpm
+share/pixmaps/afternoonstalker/spider_down_0.xpm
+share/pixmaps/afternoonstalker/spider_down_1.xpm
+share/pixmaps/afternoonstalker/spider_explosion_0.xpm
+share/pixmaps/afternoonstalker/spider_left_0.xpm
+share/pixmaps/afternoonstalker/spider_left_1.xpm
+share/pixmaps/afternoonstalker/spider_right_0.xpm
+share/pixmaps/afternoonstalker/spider_right_1.xpm
+share/pixmaps/afternoonstalker/spider_up_0.xpm
+share/pixmaps/afternoonstalker/spider_up_1.xpm
+share/pixmaps/afternoonstalker/wall_end_tile_0.xpm
+share/pixmaps/afternoonstalker/wall_end_tile_1.xpm
+share/pixmaps/afternoonstalker/wall_end_tile_2.xpm
+share/pixmaps/afternoonstalker/wall_end_tile_3.xpm
+share/pixmaps/afternoonstalker/wall_tile.xpm
+share/pixmaps/afternoonstalker/white_robot_0.xpm
+share/pixmaps/afternoonstalker/white_robot_1.xpm
+share/pixmaps/afternoonstalker/white_robot_explosion_0.xpm
+share/pixmaps/afternoonstalker/white_robot_explosion_1.xpm
diff --git a/games/burgerspace/Makefile b/games/burgerspace/Makefile
index 72be624415e9..a887dd4d832d 100644
--- a/games/burgerspace/Makefile
+++ b/games/burgerspace/Makefile
@@ -1,24 +1,21 @@
 PORTNAME=	burgerspace
-PORTVERSION=	1.9.5
-PORTREVISION=	1
+PORTVERSION=	1.10.0
 CATEGORIES=	games
-MASTER_SITES=	http://perso.b2b2c.ca/~sarrazip/dev/ \
-		LOCAL/martymac
+MASTER_SITES=	http://perso.b2b2c.ca/~sarrazip/dev/
 
 MAINTAINER=	martymac@FreeBSD.org
 COMMENT=	BurgerTime clone
 WWW=		http://sarrazip.com/dev/burgerspace.html
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libflatzebra-0.1.so:devel/flatzebra
+LIB_DEPENDS=	libflatzebra-0.2.so:devel/flatzebra
 
 USES=		pkgconfig sdl
-USE_CXXSTD=	gnu++98
-USE_SDL=	image mixer sdl
+USE_SDL=	sdl2 gfx2 image2 mixer2 ttf2
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PORTDOCS=	AUTHORS NEWS README THANKS
 
diff --git a/games/burgerspace/distinfo b/games/burgerspace/distinfo
index 7079053bace9..ca35d08cfcc0 100644
--- a/games/burgerspace/distinfo
+++ b/games/burgerspace/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669238415
-SHA256 (burgerspace-1.9.5.tar.gz) = 991fdc5a95dd3ebeab94857b328f34c96f716be8ba51c6332afa79b1f1a24ae4
-SIZE (burgerspace-1.9.5.tar.gz) = 542551
+TIMESTAMP = 1717011747
+SHA256 (burgerspace-1.10.0.tar.gz) = ccb8320a7189f6d19a63f14794fbf811c6a3ba31ffd00a54853b7912c0a8cda3
+SIZE (burgerspace-1.10.0.tar.gz) = 251038
diff --git a/games/burgerspace/files/patch-src-BurgerSpaceEngine.cpp b/games/burgerspace/files/patch-src-BurgerSpaceEngine.cpp
new file mode 100644
index 000000000000..0ab8ff790eff
--- /dev/null
+++ b/games/burgerspace/files/patch-src-BurgerSpaceEngine.cpp
@@ -0,0 +1,10 @@
+--- src/BurgerSpaceEngine.cpp.orig	2024-05-25 03:03:08 UTC
++++ src/BurgerSpaceEngine.cpp
+@@ -30,6 +30,7 @@
+ #include <fstream>
+ #include <iomanip>
+ #include <algorithm>
++#include <sstream>
+ 
+ #include <sys/types.h>
+ #include <sys/stat.h>
diff --git a/games/burgerspace/pkg-plist b/games/burgerspace/pkg-plist
index d78a513ec4df..3a0b56ba9fee 100644
--- a/games/burgerspace/pkg-plist
+++ b/games/burgerspace/pkg-plist
@@ -1,5 +1,4 @@
 bin/burgerspace
-bin/burgerspace-server
 share/applications/burgerspace.desktop
 %%DATADIR%%/sounds/chef-gets-treat.wav
 %%DATADIR%%/sounds/chef-shoots-blanks.wav
@@ -15,6 +14,115 @@ share/applications/burgerspace.desktop
 %%DATADIR%%/sounds/new-game-starts.wav
 %%DATADIR%%/sounds/treat-appears.wav
 %%DATADIR%%/sounds/treat-disappears.wav
-share/man/man6/burgerspace-server.6.gz
 share/man/man6/burgerspace.6.gz
 share/pixmaps/burgerspace.png
+share/pixmaps/burgerspace/bottom-bun.xpm
+share/pixmaps/burgerspace/bottom-bun0.xpm
+share/pixmaps/burgerspace/bottom-bun1.xpm
+share/pixmaps/burgerspace/bottom-bun2.xpm
+share/pixmaps/burgerspace/bottom-bun3.xpm
+share/pixmaps/burgerspace/chef-back0.xpm
+share/pixmaps/burgerspace/chef-back1.xpm
+share/pixmaps/burgerspace/chef-back2.xpm
+share/pixmaps/burgerspace/chef-dead0.xpm
+share/pixmaps/burgerspace/chef-dead1.xpm
+share/pixmaps/burgerspace/chef-dead2.xpm
+share/pixmaps/burgerspace/chef-dead3.xpm
+share/pixmaps/burgerspace/chef-dead4.xpm
+share/pixmaps/burgerspace/chef-dead5.xpm
+share/pixmaps/burgerspace/chef-front0.xpm
+share/pixmaps/burgerspace/chef-front1.xpm
+share/pixmaps/burgerspace/chef-front2.xpm
+share/pixmaps/burgerspace/chef-left0.xpm
+share/pixmaps/burgerspace/chef-left1.xpm
+share/pixmaps/burgerspace/chef-left2.xpm
+share/pixmaps/burgerspace/chef-right0.xpm
+share/pixmaps/burgerspace/chef-right1.xpm
+share/pixmaps/burgerspace/chef-right2.xpm
+share/pixmaps/burgerspace/coffee.xpm
+share/pixmaps/burgerspace/digit0.xpm
+share/pixmaps/burgerspace/digit1.xpm
+share/pixmaps/burgerspace/digit2.xpm
+share/pixmaps/burgerspace/digit3.xpm
+share/pixmaps/burgerspace/digit4.xpm
+share/pixmaps/burgerspace/digit5.xpm
+share/pixmaps/burgerspace/digit6.xpm
+share/pixmaps/burgerspace/digit7.xpm
+share/pixmaps/burgerspace/digit8.xpm
+share/pixmaps/burgerspace/digit9.xpm
+share/pixmaps/burgerspace/egg-back0.xpm
+share/pixmaps/burgerspace/egg-back1.xpm
+share/pixmaps/burgerspace/egg-dead0.xpm
+share/pixmaps/burgerspace/egg-dead1.xpm
+share/pixmaps/burgerspace/egg-dead2.xpm
+share/pixmaps/burgerspace/egg-dead3.xpm
+share/pixmaps/burgerspace/egg-front0.xpm
+share/pixmaps/burgerspace/egg-front1.xpm
+share/pixmaps/burgerspace/egg-left0.xpm
+share/pixmaps/burgerspace/egg-left1.xpm
+share/pixmaps/burgerspace/egg-peppered0.xpm
+share/pixmaps/burgerspace/egg-peppered1.xpm
+share/pixmaps/burgerspace/egg-right0.xpm
+share/pixmaps/burgerspace/egg-right1.xpm
+share/pixmaps/burgerspace/empty.xpm
+share/pixmaps/burgerspace/floor-and-ladder.xpm
+share/pixmaps/burgerspace/floor.xpm
+share/pixmaps/burgerspace/fries.xpm
+share/pixmaps/burgerspace/hotdog-back0.xpm
+share/pixmaps/burgerspace/hotdog-back1.xpm
+share/pixmaps/burgerspace/hotdog-dead0.xpm
+share/pixmaps/burgerspace/hotdog-dead1.xpm
+share/pixmaps/burgerspace/hotdog-dead2.xpm
+share/pixmaps/burgerspace/hotdog-dead3.xpm
+share/pixmaps/burgerspace/hotdog-front0.xpm
+share/pixmaps/burgerspace/hotdog-front1.xpm
+share/pixmaps/burgerspace/hotdog-left0.xpm
+share/pixmaps/burgerspace/hotdog-left1.xpm
+share/pixmaps/burgerspace/hotdog-peppered0.xpm
+share/pixmaps/burgerspace/hotdog-peppered1.xpm
+share/pixmaps/burgerspace/hotdog-right0.xpm
+share/pixmaps/burgerspace/hotdog-right1.xpm
+share/pixmaps/burgerspace/icecream.xpm
+share/pixmaps/burgerspace/ladder.xpm
+share/pixmaps/burgerspace/lettuce.xpm
+share/pixmaps/burgerspace/lettuce0.xpm
+share/pixmaps/burgerspace/lettuce1.xpm
+share/pixmaps/burgerspace/lettuce2.xpm
+share/pixmaps/burgerspace/lettuce3.xpm
+share/pixmaps/burgerspace/meat.xpm
+share/pixmaps/burgerspace/meat0.xpm
+share/pixmaps/burgerspace/meat1.xpm
+share/pixmaps/burgerspace/meat2.xpm
+share/pixmaps/burgerspace/meat3.xpm
+share/pixmaps/burgerspace/pepper0.xpm
+share/pixmaps/burgerspace/pepper1.xpm
+share/pixmaps/burgerspace/pickle-back0.xpm
+share/pixmaps/burgerspace/pickle-back1.xpm
+share/pixmaps/burgerspace/pickle-dead0.xpm
+share/pixmaps/burgerspace/pickle-dead1.xpm
+share/pixmaps/burgerspace/pickle-dead2.xpm
+share/pixmaps/burgerspace/pickle-dead3.xpm
+share/pixmaps/burgerspace/pickle-front0.xpm
+share/pixmaps/burgerspace/pickle-front1.xpm
+share/pixmaps/burgerspace/pickle-left0.xpm
+share/pixmaps/burgerspace/pickle-left1.xpm
+share/pixmaps/burgerspace/pickle-peppered0.xpm
+share/pixmaps/burgerspace/pickle-peppered1.xpm
+share/pixmaps/burgerspace/pickle-right0.xpm
+share/pixmaps/burgerspace/pickle-right1.xpm
+share/pixmaps/burgerspace/plate.xpm
+share/pixmaps/burgerspace/redstuff.xpm
+share/pixmaps/burgerspace/redstuff0.xpm
+share/pixmaps/burgerspace/redstuff1.xpm
+share/pixmaps/burgerspace/redstuff2.xpm
+share/pixmaps/burgerspace/redstuff3.xpm
+share/pixmaps/burgerspace/top-bun.xpm
+share/pixmaps/burgerspace/top-bun0.xpm
+share/pixmaps/burgerspace/top-bun1.xpm
+share/pixmaps/burgerspace/top-bun2.xpm
+share/pixmaps/burgerspace/top-bun3.xpm
+share/pixmaps/burgerspace/yellowstuff.xpm
+share/pixmaps/burgerspace/yellowstuff0.xpm
+share/pixmaps/burgerspace/yellowstuff1.xpm
+share/pixmaps/burgerspace/yellowstuff2.xpm
+share/pixmaps/burgerspace/yellowstuff3.xpm
diff --git a/games/cosmosmash/Makefile b/games/cosmosmash/Makefile
index afe82e17d7ef..4bc2f7b79b92 100644
--- a/games/cosmosmash/Makefile
+++ b/games/cosmosmash/Makefile
@@ -1,35 +1,32 @@
 PORTNAME=	cosmosmash
-DISTVERSION=	1.4.8
-PORTREVISION=	1
+DISTVERSION=	1.5.0
 CATEGORIES=	games
-MASTER_SITES=	http://perso.b2b2c.ca/~sarrazip/dev/ \
-		LOCAL/martymac
+MASTER_SITES=	http://perso.b2b2c.ca/~sarrazip/dev/
 
 MAINTAINER=	martymac@FreeBSD.org
 COMMENT=	Clone of the Intellivision(TM) game Astrosmash(TM)
 WWW=		http://sarrazip.com/dev/cosmosmash.html
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libflatzebra-0.1.so:devel/flatzebra \
+LIB_DEPENDS=	libflatzebra-0.2.so:devel/flatzebra \
 		libaa.so:graphics/aalib \
 		libmikmod.so:audio/libmikmod \
 		libaudiofile.so:audio/libaudiofile
 
 USES=		desktop-file-utils iconv pkgconfig sdl xorg
-USE_CXXSTD=	gnu++98
-USE_SDL=	image mixer sdl
+USE_SDL=	sdl2 gfx2 image2 mixer2 ttf2
 USE_XORG=	x11 xau xdmcp
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
-PORTDOCS=	AUTHORS COPYING NEWS README THANKS
+PORTDOCS=	AUTHORS NEWS README THANKS
 
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	@${REINPLACE_CMD} 's|^pkgsounddir = .*|pkgsounddir = ${DATADIR}/sounds|' \
+	@${REINPLACE_CMD} 's|^pkgsounddir =.*|pkgsounddir = ${DATADIR}/sounds|' \
 		${WRKSRC}/src/Makefile.in
 	@${REINPLACE_CMD} 's|^docdir = .*|docdir = ${DOCSDIR}|' \
 		${WRKSRC}/Makefile.in
diff --git a/games/cosmosmash/distinfo b/games/cosmosmash/distinfo
index da728f7dc2fa..61d70465257c 100644
--- a/games/cosmosmash/distinfo
+++ b/games/cosmosmash/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1573571278
-SHA256 (cosmosmash-1.4.8.tar.gz) = 75bda3e5611e9330ac4c4f3d7d4b456933de0a3f59356957821450797c407217
-SIZE (cosmosmash-1.4.8.tar.gz) = 921859
+TIMESTAMP = 1717011714
+SHA256 (cosmosmash-1.5.0.tar.gz) = c9ba5a4f5af59bc7f8f32873fa9cf58145ba86da1098b3a63da123ee5cd8a918
+SIZE (cosmosmash-1.5.0.tar.gz) = 536986
diff --git a/games/cosmosmash/files/patch-Makefile.in b/games/cosmosmash/files/patch-Makefile.in
new file mode 100644
index 000000000000..3b82c6f64f6a
--- /dev/null
+++ b/games/cosmosmash/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig	2024-05-05 17:23:54 UTC
++++ Makefile.in
+@@ -345,7 +345,6 @@ doc_DATA = \
+ man_MANS = doc/cosmosmash.6
+ doc_DATA = \
+ 	AUTHORS \
+-	COPYING \
+ 	NEWS \
+ 	README \
+ 	THANKS
diff --git a/games/cosmosmash/pkg-plist b/games/cosmosmash/pkg-plist
index 6c4040d8b14c..26167b4c8a6f 100644
--- a/games/cosmosmash/pkg-plist
+++ b/games/cosmosmash/pkg-plist
@@ -1,11 +1,45 @@
 bin/cosmosmash
 share/applications/cosmosmash.desktop
-%%DATADIR%%/sounds/rock-hit-0.wav
-%%DATADIR%%/sounds/rock-hit-1.wav
+%%DATADIR%%/sounds/hyperspace.wav
 %%DATADIR%%/sounds/player-hit.wav
 %%DATADIR%%/sounds/pulsar-beep.wav
+%%DATADIR%%/sounds/rock-hit-0.wav
+%%DATADIR%%/sounds/rock-hit-1.wav
 %%DATADIR%%/sounds/saucer-shooting.wav
-%%DATADIR%%/sounds/hyperspace.wav
-%%DATADIR%%/sounds/level-finished.wav
 share/man/man6/cosmosmash.6.gz
 share/pixmaps/cosmosmash.png
+share/pixmaps/cosmosmash/base.xpm
+share/pixmaps/cosmosmash/basebullet.xpm
+share/pixmaps/cosmosmash/bigrock0.xpm
+share/pixmaps/cosmosmash/bigrock1.xpm
+share/pixmaps/cosmosmash/bigrock2.xpm
+share/pixmaps/cosmosmash/bigrock3.xpm
+share/pixmaps/cosmosmash/bigrock4.xpm
+share/pixmaps/cosmosmash/bigrock5.xpm
+share/pixmaps/cosmosmash/bigspinner_backslash.xpm
+share/pixmaps/cosmosmash/bigspinner_horizontal.xpm
+share/pixmaps/cosmosmash/bigspinner_slash.xpm
+share/pixmaps/cosmosmash/bigspinner_vertical.xpm
+share/pixmaps/cosmosmash/boosted-base.xpm
+share/pixmaps/cosmosmash/explosion0.xpm
+share/pixmaps/cosmosmash/explosion1.xpm
+share/pixmaps/cosmosmash/pulsar_empty.xpm
+share/pixmaps/cosmosmash/pulsar_full.xpm
+share/pixmaps/cosmosmash/pulsar_mid.xpm
+share/pixmaps/cosmosmash/question0.xpm
+share/pixmaps/cosmosmash/question1.xpm
+share/pixmaps/cosmosmash/saucer0.xpm
+share/pixmaps/cosmosmash/saucer1.xpm
+share/pixmaps/cosmosmash/saucerbullet_empty.xpm
+share/pixmaps/cosmosmash/saucerbullet_full.xpm
+share/pixmaps/cosmosmash/saucerbullet_mid.xpm
+share/pixmaps/cosmosmash/smallrock0.xpm
+share/pixmaps/cosmosmash/smallrock1.xpm
+share/pixmaps/cosmosmash/smallrock2.xpm
+share/pixmaps/cosmosmash/smallrock3.xpm
+share/pixmaps/cosmosmash/smallrock4.xpm
+share/pixmaps/cosmosmash/smallrock5.xpm
+share/pixmaps/cosmosmash/smallspinner_backslash.xpm
+share/pixmaps/cosmosmash/smallspinner_horizontal.xpm
+share/pixmaps/cosmosmash/smallspinner_slash.xpm
+share/pixmaps/cosmosmash/smallspinner_vertical.xpm