git: 03a64c079938 - main - games/blues: new port had been added (+)

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Wed, 14 Sep 2022 20:23:05 UTC
The branch main has been updated by danfe:

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

commit 03a64c079938b46e4ed5a317d45418b42d80534e
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2022-09-14 20:21:42 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2022-09-14 20:21:42 +0000

    games/blues: new port had been added (+)
    
    This is a rewrite of the Blues Brothers and Blues Brothers: Jukebox
    Adventure game engines developed by Titus Interactive, using SDL 2.
    
    WWW: https://github.com/cyxx/blues
---
 games/Makefile        |  3 ++-
 games/blues/Makefile  | 30 ++++++++++++++++++++++++++++++
 games/blues/distinfo  |  3 +++
 games/blues/pkg-descr |  8 ++++++++
 4 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/games/Makefile b/games/Makefile
index b3e3f9c0e101..fc5711428d5c 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -108,6 +108,7 @@
     SUBDIR += blokish
     SUBDIR += bloodfrontier
     SUBDIR += bluemoon
+    SUBDIR += blues
     SUBDIR += bomber
     SUBDIR += bomberclone
     SUBDIR += bombherman
@@ -526,8 +527,8 @@
     SUBDIR += libretro-mame2000
     SUBDIR += libretro-mame2003
     SUBDIR += libretro-mame2003_plus
-    SUBDIR += libretro-mgba
     SUBDIR += libretro-melonds
+    SUBDIR += libretro-mgba
     SUBDIR += libretro-mu
     SUBDIR += libretro-nestopia
     SUBDIR += libretro-nxengine
diff --git a/games/blues/Makefile b/games/blues/Makefile
new file mode 100644
index 000000000000..2ffbce20e7a6
--- /dev/null
+++ b/games/blues/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	blues
+PORTVERSION=	g20220312
+CATEGORIES=	games
+
+MAINTAINER=	danfe@FreeBSD.org
+COMMENT=	Blues Brothers, Jukebox Adventure, and Prehistorik 2 engine reimplementation
+WWW=		https://github.com/cyxx/blues
+
+LIB_DEPENDS=	libmodplug.so:audio/libmodplug
+
+USES=		gmake sdl
+USE_SDL=	sdl2
+USE_GITHUB=	yes
+GH_ACCOUNT=	cyxx
+GH_TAGNAME=	d4b94bb
+
+PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+do-install:
+	${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/games/blues/distinfo b/games/blues/distinfo
new file mode 100644
index 000000000000..9c5353353ee5
--- /dev/null
+++ b/games/blues/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1647125623
+SHA256 (cyxx-blues-g20220312-d4b94bb_GH0.tar.gz) = 9a8dedb16f1cb9de813a40e510abe56e2eb68fc6487c28d019f73a58d74e6a08
+SIZE (cyxx-blues-g20220312-d4b94bb_GH0.tar.gz) = 163387
diff --git a/games/blues/pkg-descr b/games/blues/pkg-descr
new file mode 100644
index 000000000000..f20b46a5ca6e
--- /dev/null
+++ b/games/blues/pkg-descr
@@ -0,0 +1,8 @@
+This is a rewrite of the Blues Brothers and Blues Brothers: Jukebox
+Adventure game engines developed by Titus Interactive.  There is also
+support for Prehistorik 2.  Compared to the original DOS executables,
+the rewritten engines feature:
+
+  - Horizontal scrolling
+  - Configurable screen size
+  - Game cheats: unlimited lives and energy, no hit