From root@daemonforums.org  Tue Nov  8 23:53:33 2011
Return-Path: <root@daemonforums.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6E6A71065674
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Nov 2011 23:53:33 +0000 (UTC)
	(envelope-from root@daemonforums.org)
Received: from cthulhu.daemonforums.org (cthulhu.daemonforums.org [94.142.244.51])
	by mx1.freebsd.org (Postfix) with ESMTP id BEED98FC20
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Nov 2011 23:53:32 +0000 (UTC)
Received: by cthulhu.daemonforums.org (Postfix, from userid 0)
	id 0D31317018; Wed,  9 Nov 2011 00:37:30 +0100 (CET)
Message-Id: <20111108233730.0D31317018@cthulhu.daemonforums.org>
Date: Wed,  9 Nov 2011 00:37:30 +0100 (CET)
From: Martin Tournoij <martin@arp242.net>
Reply-To: Martin Tournoij <martin@arp242.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] games/nlarn  Roguelike game and as such a remake of the classic game Larn
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         162393
>Category:       ports
>Synopsis:       [NEW PORT] games/nlarn  Roguelike game and as such a remake of the classic game Larn
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 09 00:00:18 UTC 2011
>Closed-Date:    Sat Jan 28 10:29:26 UTC 2012
>Last-Modified:  Sat Jan 28 10:30:12 UTC 2012
>Originator:     Martin Tournoij
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cthulhu.daemonforums.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Apr 14 22:52:12 CEST 2011 carpetsmoker@cthulhu.daemonforums.org:/usr/obj/usr/src/sys/CTHULHU i386


	
>Description:
**Note**
This port depends on ports/160006

>How-To-Repeat:
	
>Fix:

	



--- nlarn.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	nlarn
#	nlarn/Makefile
#	nlarn/pkg-descr
#	nlarn/distinfo
#	nlarn/pkg-plist
#	nlarn/files
#	nlarn/files/patch-premake4.lua
#
echo c - nlarn
mkdir -p nlarn > /dev/null 2>&1
echo x - nlarn/Makefile
sed 's/^X//' >nlarn/Makefile << '2a3f71f67cfadf33ec648fe8388db0bf'
X# Ports collection makefile for:  games/nlarn
X# Date created:			  2011-11-08
X# Whom:				  Martin Tournoij <martin@arp242.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	nlarn
XPORTVERSION=	0.7
XCATEGORIES=	games
XMASTER_SITES=	SF
X
XMAINTAINER=	martin@arp242.net
XCOMMENT=	Roguelike game and as such a remake of the classic game Larn
X
XLICENSE=	GPLv3
X
XBUILD_DEPENDS=	premake4:${PORTSDIR}/devel/premake4
X
XWRKSRC=		${WRKDIR}/jaydg-nlarn-NLarn-${PORTVERSION}.0
XUSE_LUA=	5.1
XUSE_GNOME=	glib20
XUSE_GMAKE=	yes
X
Xdo-configure:
X	cd ${WRKSRC} && ${LOCALBASE}/bin/premake4 --os=bsd gmake
X
Xpost-configure:
X	@${REINPLACE_CMD} 's|$$(ARCH)||g; \
X		s|-I${LOCALBASE}|-I${LUA_INCDIR} -I${LOCALBASE}|g; \
X		s|-lz|-lz -llua-5.1 -lncurses -lpanel|g;' \
X	${WRKSRC}/nlarn.make
X
X	@${REINPLACE_CMD} 's|/usr/share/games/nlarn|${DATADIR}|' \
X		${WRKSRC}/src/game.c
X
Xdo-install:
X	${MKDIR} ${DATADIR}
X	${INSTALL_PROGRAM} ${WRKSRC}/nlarn ${PREFIX}/bin/
X	${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/nlarn.ini-sample ${WRKSRC}/lib/* ${DATADIR}/
X
X.include <bsd.port.mk>
2a3f71f67cfadf33ec648fe8388db0bf
echo x - nlarn/pkg-descr
sed 's/^X//' >nlarn/pkg-descr << '2506f44363157777151936044d368c5b'
XNLarn is a roguelike game and as such a remake of the classic game Larn.
X
XMy intention when starting this project was to get a copy of Larn that one
Xcould actually play: I just couldn't stand the user interface of the original.
XTo improve it, I peeked into the original code, which revealed to be
Xunmaintainable. So a rewrite seemed to be the best idea - and that is what I
Xdid. 
X
XAs I never really played Larn, NLarn might be quite different to Larn in
Xcertain areas, but at least I tried to follow the original. Some aspects of
XLarn's game-play (which I only experienced by reading the code) seemed a bit
Xweird and didn't suit my taste, so I changed them intentionally. Other changes
Xare caused by the unreadability of Larn's code.
X
XAs todays computers are a bit more advanced compared to those in the eighties,
XI could do a completely different approach to how things are handled under the
Xcover. 
X
XVery noticeable differences to the original so far include: 
X- advanced user interface
X- extremely different item handling
X- extended monster AI
X- a real town
X- colour
X
XMaintainer note: The original larn is available as part of games/bsdgames
X
XWWW: http://nlarn.sourceforge.net/
2506f44363157777151936044d368c5b
echo x - nlarn/distinfo
sed 's/^X//' >nlarn/distinfo << '1932f92f72211ff5768d3879026cf13a'
XSHA256 (nlarn-0.7.tar.gz) = 21818bbc1691a8a79d3d6ce71934076895c2708725e5a0b431d46dba39e2795a
XSIZE (nlarn-0.7.tar.gz) = 244698
1932f92f72211ff5768d3879026cf13a
echo x - nlarn/pkg-plist
sed 's/^X//' >nlarn/pkg-plist << '80a3c063bfbb127e015067d9b6a0a330'
Xbin/nlarn
X%%DATADIR%%/README.txt
X%%DATADIR%%/fortune
X%%DATADIR%%/maze
X%%DATADIR%%/maze_doc.txt
X%%DATADIR%%/monsters.lua
X%%DATADIR%%/nlarn.hlp
X%%DATADIR%%/nlarn.ini-sample
X%%DATADIR%%/nlarn.msg
X@dirrm %%DATADIR%%
80a3c063bfbb127e015067d9b6a0a330
echo c - nlarn/files
mkdir -p nlarn/files > /dev/null 2>&1
echo x - nlarn/files/patch-premake4.lua
sed 's/^X//' >nlarn/files/patch-premake4.lua << '1580844a953138e86cee6016c166559a'
X--- premake4.lua.orig	2011-11-08 23:01:23.000000000 +0100
X+++ premake4.lua	2011-11-08 23:01:44.000000000 +0100
X@@ -75,12 +75,11 @@
X       -- Add configuration for Lua
X       -- Debian and Ubuntu have a specific naming convention for the lua
X       -- package; fortunately it can be configured with pkg-config
X-      if os.is("linux") and (get_linux_distribution() == "Debian"
X-          or get_linux_distribution() == "Ubuntu")
X+      if os.is("bsd")
X       then
X-        includedirs { get_dirs("include", "lua5.1") }
X-        links { "lua5.1" }
X-        libdirs { get_dirs("lib", "lua5.1") }
X+        includedirs { get_dirs("include", "lua-5.1") }
X+        links { "lua-5.1" }
X+        libdirs { get_dirs("lib", "lua-5.1") }
X       else
X         includedirs { get_dirs("include", "lua") }
X         links { "lua" }
1580844a953138e86cee6016c166559a
exit
--- nlarn.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Wed Nov 9 03:55:34 UTC 2011 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162393 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jan 28 10:29:24 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162393 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162393: commit references a PR
Date: Sat, 28 Jan 2012 10:29:50 +0000 (UTC)

 miwi        2012-01-28 10:29:36 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games                Makefile 
   Added files:
     games/nlarn          Makefile distinfo pkg-descr pkg-plist 
     games/nlarn/files    patch-premake4.lua 
   Log:
   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/
   
   PR:             ports/162393
   Submitted by:   Martin Tournoij <martin@arp242.net>
   
   Revision  Changes    Path
   1.1403    +1 -0      ports/games/Makefile
   1.1       +42 -0     ports/games/nlarn/Makefile (new)
   1.1       +2 -0      ports/games/nlarn/distinfo (new)
   1.1       +19 -0     ports/games/nlarn/files/patch-premake4.lua (new)
   1.1       +11 -0     ports/games/nlarn/pkg-descr (new)
   1.1       +10 -0     ports/games/nlarn/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
