From owner-svn-ports-head@FreeBSD.ORG Thu Mar 28 15:40:53 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3EF52422; Thu, 28 Mar 2013 15:40:53 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 318BAF67; Thu, 28 Mar 2013 15:40:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2SFerQc094533; Thu, 28 Mar 2013 15:40:53 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2SFeqGI094525; Thu, 28 Mar 2013 15:40:52 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201303281540.r2SFeqGI094525@svn.freebsd.org> From: Pawel Pekala Date: Thu, 28 Mar 2013 15:40:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r315473 - in head/games/nlarn: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 15:40:53 -0000 Author: pawel Date: Thu Mar 28 15:40:51 2013 New Revision: 315473 URL: http://svnweb.freebsd.org/changeset/ports/315473 Log: Update to version 0.7.2 PR: ports/176785 Submitted by: Vitaly Magerya Approved by: maintainer timeout Added: head/games/nlarn/files/patch-Makefile (contents, props changed) head/games/nlarn/files/patch-src-game.c (contents, props changed) Deleted: head/games/nlarn/files/patch-premake4.lua Modified: head/games/nlarn/Makefile head/games/nlarn/distinfo (contents, props changed) head/games/nlarn/pkg-plist (contents, props changed) Modified: head/games/nlarn/Makefile ============================================================================== --- head/games/nlarn/Makefile Thu Mar 28 15:22:11 2013 (r315472) +++ head/games/nlarn/Makefile Thu Mar 28 15:40:51 2013 (r315473) @@ -1,12 +1,8 @@ -# Ports collection makefile for: games/nlarn -# Date created: 2011-11-08 -# Whom: Martin Tournoij -# +# Created by: Martin Tournoij # $FreeBSD$ -# PORTNAME= nlarn -PORTVERSION= 0.7 +PORTVERSION= 0.7.2 CATEGORIES= games MASTER_SITES= SF @@ -15,24 +11,13 @@ COMMENT= Roguelike game and as such a re LICENSE= GPLv3 -BUILD_DEPENDS= premake4:${PORTSDIR}/devel/premake4 - -WRKSRC= ${WRKDIR}/jaydg-nlarn-NLarn-${PORTVERSION}.0 USE_LUA= 5.1 USE_GNOME= glib20 USE_PKGCONFIG= build USE_GMAKE= yes -do-configure: - cd ${WRKSRC} && ${LOCALBASE}/bin/premake4 --os=bsd gmake - post-configure: - @${REINPLACE_CMD} 's|$$(ARCH)||g; \ - s|-I${LOCALBASE}|-I${LUA_INCDIR} -I${LOCALBASE}|g; \ - s|-lz|-lz -llua-5.1 -lncurses -lpanel|g;' \ - ${WRKSRC}/nlarn.make - - @${REINPLACE_CMD} 's|/usr/share/games/nlarn|${DATADIR}|' \ + @${REINPLACE_CMD} 's|/usr/share/nlarn|${DATADIR}|' \ ${WRKSRC}/src/game.c do-install: Modified: head/games/nlarn/distinfo ============================================================================== --- head/games/nlarn/distinfo Thu Mar 28 15:22:11 2013 (r315472) +++ head/games/nlarn/distinfo Thu Mar 28 15:40:51 2013 (r315473) @@ -1,2 +1,2 @@ -SHA256 (nlarn-0.7.tar.gz) = 21818bbc1691a8a79d3d6ce71934076895c2708725e5a0b431d46dba39e2795a -SIZE (nlarn-0.7.tar.gz) = 244698 +SHA256 (nlarn-0.7.2.tar.gz) = 291fed77cb80261c5dfd375c702482f4d38415e3ce769b237ac22957d42dfbc8 +SIZE (nlarn-0.7.2.tar.gz) = 813829 Added: head/games/nlarn/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/nlarn/files/patch-Makefile Thu Mar 28 15:40:51 2013 (r315473) @@ -0,0 +1,27 @@ +--- Makefile.orig 2012-07-06 20:29:35.000000000 +0300 ++++ Makefile 2013-03-09 11:15:05.000000000 +0200 +@@ -102,13 +102,13 @@ + 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 @@ + # 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 Added: head/games/nlarn/files/patch-src-game.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/nlarn/files/patch-src-game.c Thu Mar 28 15:40:51 2013 (r315473) @@ -0,0 +1,11 @@ +--- src/game.c.orig 2012-07-06 20:29:35.000000000 +0300 ++++ src/game.c 2013-03-09 12:23:13.000000000 +0200 +@@ -1353,7 +1354,7 @@ + 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; + } Modified: head/games/nlarn/pkg-plist ============================================================================== --- head/games/nlarn/pkg-plist Thu Mar 28 15:22:11 2013 (r315472) +++ head/games/nlarn/pkg-plist Thu Mar 28 15:40:51 2013 (r315473) @@ -4,6 +4,7 @@ bin/nlarn %%DATADIR%%/maze %%DATADIR%%/maze_doc.txt %%DATADIR%%/monsters.lua +%%DATADIR%%/nlarn-128.bmp %%DATADIR%%/nlarn.hlp %%DATADIR%%/nlarn.ini-sample %%DATADIR%%/nlarn.msg