FreeBSD Bugzilla – Attachment 226883 Details for
Bug 257567
[New Port] games/brogue: Much-loved minimalist roguelike game (community edition)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
games/brogue: Much-loved minimalist roguelike game (community edition)
0001-games-brogue-new-port.patch (text/plain), 4.98 KB, created by
Robert Clausecker
on 2021-08-02 17:21:34 UTC
(
hide
)
Description:
games/brogue: Much-loved minimalist roguelike game (community edition)
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2021-08-02 17:21:34 UTC
Size:
4.98 KB
patch
obsolete
>From 637f4422cf1e57e8f71be5d70c861d6f0100f5bd Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Mon, 2 Aug 2021 18:46:13 +0200 >Subject: [PATCH] games/brogue: new port > >--- > games/brogue/Makefile | 65 ++++++++++++++++++++++++++++ > games/brogue/distinfo | 3 ++ > games/brogue/files/brogue.desktop.in | 13 ++++++ > games/brogue/files/brogue.sh.in | 7 +++ > games/brogue/pkg-descr | 19 ++++++++ > 5 files changed, 107 insertions(+) > create mode 100644 games/brogue/Makefile > create mode 100644 games/brogue/distinfo > create mode 100644 games/brogue/files/brogue.desktop.in > create mode 100755 games/brogue/files/brogue.sh.in > create mode 100644 games/brogue/pkg-descr > >diff --git a/games/brogue/Makefile b/games/brogue/Makefile >new file mode 100644 >index 000000000000..cd508ccfa9d1 >--- /dev/null >+++ b/games/brogue/Makefile >@@ -0,0 +1,65 @@ >+PORTNAME= brogue >+DISTVERSIONPREFIX= v >+DISTVERSION= 1.10 >+CATEGORIES= games >+ >+MAINTAINER= fuz@fuz.su >+COMMENT= Much-loved minimalist roguelike game (community edition) >+ >+LICENSE= AGPLv3+ CC-BY-SA-4.0 >+LICENSE_COMB= multi >+LICENSE_FILE_AGPLv3+ = ${WRKSRC}/LICENSE.txt >+LICENSE_FILE_CC-BY-SA-4.0= ${WRKSRC}/bin/assets/LICENSE.txt >+ >+FLAVORS= x11 nox11 >+FLAVOR?= ${FLAVORS:[1]} >+nox11_PKGNAMESUFFIX= -nox11 >+ >+USES= gmake >+USE_GITHUB= yes >+GH_ACCOUNT= tmewett >+GH_PROJECT= BrogueCE >+ >+.if ${FLAVOR} == x11 >+USES+= sdl >+USE_SDL= sdl2 image2 >+.endif >+ >+MAKE_ARGS= DATADIR=${DATADIR} \ >+ RELEASE=YES \ >+ GRAPHICS=${${FLAVOR:U} == x11:?YES:NO} >+ALL_TARGET= bin/brogue >+SUB_FILES= brogue.desktop brogue.sh >+PLIST_SUB= DISTVERSION=${DISTVERSION} >+ >+PLIST_FILES= bin/brogue \ >+ libexec/brogue \ >+ share/applications/brogue.desktop >+PORTDATA= assets/LICENSE.txt \ >+ assets/tiles.bin \ >+ assets/icon.png \ >+ assets/tiles.png \ >+ keymap.txt >+ >+OPTIONS_DEFINE= DEBUG NCURSES WEBUI >+OPTIONS_DEFAULT= NCURSES WEBUI >+DEBUG_MAKE_ARGS= DEBUG=YES >+DEBUG_MAKE_ARGS_OFF= DEBUG=NO >+NCURSES_USES= ncurses >+NCURSES_MAKE_ARGS= TERMINAL=YES >+NCURSES_MAKE_ARGS_OFF= TERMINAL=NO >+WEBUI_MAKE_ARGS= WEBUI=YES >+WEBUI_MAKE_ARGS_OFF= WEBUI=NO >+ >+post-patch: >+ ${REINPLACE_CMD} -e 's,/opt/brogue,${DATADIR},' ${WRKSRC}/linux/brogue-multiuser.sh >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/brogue ${STAGEDIR}${PREFIX}/libexec >+ ${INSTALL_SCRIPT} ${WRKDIR}/brogue.sh ${STAGEDIR}${PREFIX}/bin/brogue >+ ${MKDIR} ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${WRKSRC}/bin/keymap.txt ${STAGEDIR}${DATADIR} >+ ${CP} -r ${WRKSRC}/bin/assets ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${WRKDIR}/brogue.desktop ${STAGEDIR}${PREFIX}/share/applications >+ >+.include <bsd.port.mk> >diff --git a/games/brogue/distinfo b/games/brogue/distinfo >new file mode 100644 >index 000000000000..1d9072410624 >--- /dev/null >+++ b/games/brogue/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1627915047 >+SHA256 (tmewett-BrogueCE-v1.10_GH0.tar.gz) = 31af277940f784a6809ff08a2420b8122b9e15f2bfdf985d7678b69fc12d8e6b >+SIZE (tmewett-BrogueCE-v1.10_GH0.tar.gz) = 1159270 >diff --git a/games/brogue/files/brogue.desktop.in b/games/brogue/files/brogue.desktop.in >new file mode 100644 >index 000000000000..412c343db1a8 >--- /dev/null >+++ b/games/brogue/files/brogue.desktop.in >@@ -0,0 +1,13 @@ >+[Desktop Entry] >+Version=%%DISTVERSION%% >+Type=Application >+Name=Brogue >+GenericName=Roguelike >+Comment=Brave the Dungeons of Doom! >+Comment[de]=Meistere die Dungeons der Verdammnis! >+Comment[ru]=ÐÑоÑÑÑе вÑзов ÐодземелÑÑм Ðогибели! >+Exec=%%PREFIX%%/bin/brogue >+Path=%%DATADIR%% >+Icon=%%DATADIR%%/assets/icon.png >+Terminal=false >+Categories=Game; >diff --git a/games/brogue/files/brogue.sh.in b/games/brogue/files/brogue.sh.in >new file mode 100755 >index 000000000000..6aa940ae2414 >--- /dev/null >+++ b/games/brogue/files/brogue.sh.in >@@ -0,0 +1,7 @@ >+#!/bin/sh >+ >+set -e >+userdir="${XDG_DATA_HOME:-$HOME/.local/share}/Brogue" >+mkdir -p "$userdir" >+cd "$userdir" >+exec %%PREFIX%%/libexec/brogue "$@" >diff --git a/games/brogue/pkg-descr b/games/brogue/pkg-descr >new file mode 100644 >index 000000000000..6f9f00bd3283 >--- /dev/null >+++ b/games/brogue/pkg-descr >@@ -0,0 +1,19 @@ >+Countless adventurers before you have descended this torch-lit >+staircase, seeking the promised riches below. As you reach the bottom >+and step into the wide cavern, the doors behind you seal with a powerful >+magic... >+ >+ Welcome to the Dungeons of Doom! >+ >+Brogue is a single-player strategy game set in the halls of a mysterious >+and randomly-generated dungeon. The objective is simple enough -- >+retrieve the fabled Amulet of Yendor from the 26th level -- but the >+dungeon is riddled with danger. Horrifying creatures and devious, >+trap-ridden terrain await. Yet it is also riddled with weapons, potions, >+and artifacts of forgotten power. Survival demands strength and cunning >+in equal measure as you descend, making the most of what the dungeon >+gives you. You will make sacrifices, narrow escapes, and maybe even some >+friends along the way -- but will you be one of the lucky few to return >+alive? >+ >+WWW: https://sites.google.com/site/broguegame/ >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257567
: 226883