Index: head/games/nlarn/files/patch-src-game.c =================================================================== --- head/games/nlarn/files/patch-src-game.c (revision 491568) +++ head/games/nlarn/files/patch-src-game.c (nonexistent) @@ -1,11 +0,0 @@ ---- src/game.c.orig 2012-07-06 17:29:35 UTC -+++ src/game.c -@@ -1353,7 +1353,7 @@ static void game_scores_save(game *g, GL - if (sb == NULL) - { - /* opening the file failed */ -- log_add_entry(g->log, "Error opening scoreboard file \"%s\"."); -+ log_add_entry(g->log, "Error opening scoreboard file."); - free(uscores); - return; - } Property changes on: head/games/nlarn/files/patch-src-game.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/nlarn/files/patch-src-monsters.c =================================================================== --- head/games/nlarn/files/patch-src-monsters.c (revision 491568) +++ head/games/nlarn/files/patch-src-monsters.c (nonexistent) @@ -1,14 +0,0 @@ ---- src/monsters.c.orig 2012-07-06 17:29:35 UTC -+++ src/monsters.c -@@ -2725,6 +2725,11 @@ static position monster_move_serve(monst - map_path_element *pe = g_queue_pop_head(path->path); - npos = pe->pos; - } -+ else -+ { -+ /* ensure npos is initialized */ -+ npos = m->pos; -+ } - - if (path != NULL) - map_path_destroy(path); Property changes on: head/games/nlarn/files/patch-src-monsters.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/nlarn/files/patch-Makefile =================================================================== --- head/games/nlarn/files/patch-Makefile (revision 491568) +++ head/games/nlarn/files/patch-Makefile (nonexistent) @@ -1,27 +0,0 @@ ---- Makefile.orig 2012-07-06 17:29:35 UTC -+++ Makefile -@@ -102,13 +102,13 @@ else - LDFLAGS += $(shell pkg-config --libs glib-2.0) - - # Configuration for ncurses -- ifeq ($(filter Darwin DragonFly OpenBSD,$(OS)),) -+ ifeq ($(filter Darwin DragonFly FreeBSD OpenBSD,$(OS)),) - CFLAGS += $(shell ncurses5-config --cflags) - LDFLAGS += $(shell ncurses5-config --libs) -lpanel - else - # OS X is handled separately - ifneq ($(OS), Darwin) -- # DragonFly and OpenBSD have ncurses in base (and no config tool) -+ # DragonFly, FreeBSD and OpenBSD have ncurses in base (and no config tool) - LDFLAGS += -lncurses -lpanel - endif - endif -@@ -117,6 +117,8 @@ else - # Debian and derivates use lua5.1, the rest of the world lua - ifneq ($(wildcard /etc/debian_version),) - lua = lua5.1 -+ else ifeq ($(OS), FreeBSD) -+ lua = lua-5.1 - else - lua = lua - endif Property changes on: head/games/nlarn/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/nlarn/files/patch-src-player.c =================================================================== --- head/games/nlarn/files/patch-src-player.c (revision 491568) +++ head/games/nlarn/files/patch-src-player.c (nonexistent) @@ -1,14 +0,0 @@ ---- src/player.c.orig 2012-07-06 17:29:35 UTC -+++ src/player.c -@@ -1605,6 +1605,11 @@ int player_map_enter(player *p, map *l, - else - pos = map_find_sobject(l, LS_STAIRSUP); - } -+ /* doing nothing? */ -+ else -+ { -+ pos = p->pos; -+ } - - if (l->nlevel == 0) - { Property changes on: head/games/nlarn/files/patch-src-player.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/games/nlarn/Makefile =================================================================== --- head/games/nlarn/Makefile (revision 491568) +++ head/games/nlarn/Makefile (revision 491569) @@ -1,27 +1,29 @@ # Created by: Martin Tournoij <martin@arp242.net> # $FreeBSD$ PORTNAME= nlarn -PORTVERSION= 0.7.2 -PORTREVISION= 1 +DISTVERSIONPREFIX= NLarn- +DISTVERSION= 0.7.3 CATEGORIES= games -MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= egypcio@FreeBSD.org COMMENT= Roguelike game and as such a remake of the classic game Larn LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake lua:51 ncurses pkgconfig -USE_GNOME= glib20 +USES= gmake gnome lua:53 ncurses pkgconfig +USE_GNOME= glib20 introspection:build +USE_GITHUB= yes post-configure: - @${REINPLACE_CMD} 's|/usr/share/nlarn|${DATADIR}|' \ + ${REINPLACE_CMD} 's|/usr/share/nlarn|${DATADIR}|' \ ${WRKSRC}/src/game.c do-install: - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_PROGRAM} ${WRKSRC}/nlarn ${STAGEDIR}${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/nlarn.ini-sample ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}/ + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/nlarn ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/nlarn.ini-sample ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR} .include <bsd.port.mk> Index: head/games/nlarn/distinfo =================================================================== --- head/games/nlarn/distinfo (revision 491568) +++ head/games/nlarn/distinfo (revision 491569) @@ -1,2 +1,3 @@ -SHA256 (nlarn-0.7.2.tar.gz) = 291fed77cb80261c5dfd375c702482f4d38415e3ce769b237ac22957d42dfbc8 -SIZE (nlarn-0.7.2.tar.gz) = 813829 +TIMESTAMP = 1547652196 +SHA256 (nlarn-nlarn-NLarn-0.7.3_GH0.tar.gz) = f604286374774d48cb96baa6fa09902e1d190e0f9ae47d80a7494a90a1eba7db +SIZE (nlarn-nlarn-NLarn-0.7.3_GH0.tar.gz) = 912955 Index: head/games/nlarn/pkg-descr =================================================================== --- head/games/nlarn/pkg-descr (revision 491568) +++ head/games/nlarn/pkg-descr (revision 491569) @@ -1,11 +1,11 @@ NLarn is a roguelike game and as such a remake of the classic game Larn. Very noticeable differences to the original so far include: - advanced user interface - extremely different item handling - extended monster AI - a real town - colour -WWW: http://nlarn.sourceforge.net/ +WWW: https://nlarn.github.io/ Index: head/games/nlarn/pkg-plist =================================================================== --- head/games/nlarn/pkg-plist (revision 491568) +++ head/games/nlarn/pkg-plist (revision 491569) @@ -1,10 +1,11 @@ bin/nlarn -%%DATADIR%%/README.txt +%%DATADIR%%/FiraMono-Medium.otf +%%DATADIR%%/README.md %%DATADIR%%/fortune %%DATADIR%%/maze %%DATADIR%%/maze_doc.txt %%DATADIR%%/monsters.lua %%DATADIR%%/nlarn-128.bmp %%DATADIR%%/nlarn.hlp %%DATADIR%%/nlarn.ini-sample %%DATADIR%%/nlarn.msg