git: 22180963283a - main - games/cavezofphear: re-add port: Boulder Dash / Digger-like game for consoles/terminals

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Fri, 22 Oct 2021 14:24:47 UTC
The branch main has been updated by amdmi3:

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

commit 22180963283a30c826352fb9ce53408a3fa6e367
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-10-22 14:23:04 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2021-10-22 14:24:40 +0000

    games/cavezofphear: re-add port: Boulder Dash / Digger-like game for consoles/terminals
    
    You are trapped in the CAVEZ of PHEAR, your mission is to escape
    through all the caves and make it out alive. To escape through a
    cave you will have to find all the diamonds located in it. Once
    you've found all the diamonds, their powers combined will help you
    get to the next cave, one step closer to freedom.
    
    CAVEZ of PHEAR is a Boulder Dash / Digger-like game game for
    consoles/terminals with built in level editor.
    
    WWW: https://github.com/AMDmi3/cavezofphear
---
 MOVED                        |  1 -
 games/Makefile               |  1 +
 games/cavezofphear/Makefile  | 29 +++++++++++++++++++++++++++++
 games/cavezofphear/distinfo  |  3 +++
 games/cavezofphear/pkg-descr | 10 ++++++++++
 5 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/MOVED b/MOVED
index b96094000f8d..d41d2de6c115 100644
--- a/MOVED
+++ b/MOVED
@@ -16198,7 +16198,6 @@ x11/xgrab||2021-04-07|Has expired: Unmaintained and dead upstream, does not buil
 x11/xbanner||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
 x11/bricons||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
 x11/xmon||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
-games/cavezofphear||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
 astro/saoimage||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
 audio/ksmp3play||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
 audio/jamin||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
diff --git a/games/Makefile b/games/Makefile
index 9f4a971a99ed..51675c488e6b 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -140,6 +140,7 @@
     SUBDIR += cataclysm-dda-tiles
     SUBDIR += catesc
     SUBDIR += cave9
+    SUBDIR += cavezofphear
     SUBDIR += cdogs-sdl
     SUBDIR += cgoban
     SUBDIR += chapping
diff --git a/games/cavezofphear/Makefile b/games/cavezofphear/Makefile
new file mode 100644
index 000000000000..3f2a8922dc88
--- /dev/null
+++ b/games/cavezofphear/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	cavezofphear
+PORTVERSION=	0.5.2
+CATEGORIES=	games
+
+MAINTAINER=	amdmi3@FreeBSD.org
+COMMENT=	Boulder Dash / Digger-like game for consoles/terminals
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cmake ncurses
+USE_GITHUB=	true
+GH_ACCOUNT=	AMDmi3
+CMAKE_ON=	SYSTEMWIDE
+
+DATADIR=	${PREFIX}/share/phear
+PLIST_FILES=	bin/phear
+PORTDOCS=	ChangeLog.md README.md TODO
+PORTDATA=	*
+
+OPTIONS_DEFINE=	DOCS
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/games/cavezofphear/distinfo b/games/cavezofphear/distinfo
new file mode 100644
index 000000000000..3b6d350d2ea5
--- /dev/null
+++ b/games/cavezofphear/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634912070
+SHA256 (AMDmi3-cavezofphear-0.5.2_GH0.tar.gz) = 04d17e14c1e34e3fb30a097e1a754a66d6c49a7862e654dcbc2670bab3c2b50b
+SIZE (AMDmi3-cavezofphear-0.5.2_GH0.tar.gz) = 29297
diff --git a/games/cavezofphear/pkg-descr b/games/cavezofphear/pkg-descr
new file mode 100644
index 000000000000..cb8a9ca8f8dd
--- /dev/null
+++ b/games/cavezofphear/pkg-descr
@@ -0,0 +1,10 @@
+You are trapped in the CAVEZ of PHEAR, your mission is to escape
+through all the caves and make it out alive. To escape through a
+cave you will have to find all the diamonds located in it. Once
+you've found all the diamonds, their powers combined will help you
+get to the next cave, one step closer to freedom.
+
+CAVEZ of PHEAR is a Boulder Dash / Digger-like game game for
+consoles/terminals with built in level editor.
+
+WWW: https://github.com/AMDmi3/cavezofphear