On 11/7/18 7:53 PM, Brian Callahan wrote:
Hi ports --
Attached is a new port, games/brogue. Brogue is a graphical Roguelike
game.
I freely admit that pkg/DESCR, "Brogue is a graphical Roguelike
game.", sucks. I could not find a serious description of the game on
its HOMEPAGE or in its source code. Perhaps someone who knows the game
better can provide one?
However, it does work well for me on amd64.
Some notes:
1. Brogue carries its own copy of a support library called libtcod. I
chose to build a static version of the library and link it directly
into the binary because it is an older version of the library that
still supports SDL1 (upstream libtcod removed SDL1 support quite some
time ago); Brogue does use some of those SDL1 functions from the old
library.
2. I fixed up the .desktop file; I think it's worth having the
.desktop file around with the associated RDEP. However, I placed the
icon file in LOCALBASE/share/pixmaps to avoid the RDEP on gtk+3,-guic,
which does seem like overkill for a port with such few dependencies.
It seems to work fine this way--tint2 found the .desktop file with the
proper icon.
3. While brogue can be built curses-only, I decided against a no_x11
FLAVOR since the curses version of the game requires a minimum
terminal size of 100x34 and appears to still require the mouse to
access certain menu options so I'm just not sure how useful a no_x11
FLAVOR could really be.
4. Brogue drops its high score and replay files into whatever your cwd
is.
OK?
~Brian
Ping.