mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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>
This commit is contained in:
parent
10dc9e4785
commit
d4825fa7da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289927
6 changed files with 85 additions and 0 deletions
|
@ -578,6 +578,7 @@
|
||||||
SUBDIR += nimuh
|
SUBDIR += nimuh
|
||||||
SUBDIR += ninix-aya
|
SUBDIR += ninix-aya
|
||||||
SUBDIR += njam
|
SUBDIR += njam
|
||||||
|
SUBDIR += nlarn
|
||||||
SUBDIR += noegnud-addons
|
SUBDIR += noegnud-addons
|
||||||
SUBDIR += noegnud-data
|
SUBDIR += noegnud-data
|
||||||
SUBDIR += noegnud-littlehack
|
SUBDIR += noegnud-littlehack
|
||||||
|
|
42
games/nlarn/Makefile
Normal file
42
games/nlarn/Makefile
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Ports collection makefile for: games/nlarn
|
||||||
|
# Date created: 2011-11-08
|
||||||
|
# Whom: Martin Tournoij <martin@arp242.net>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= nlarn
|
||||||
|
PORTVERSION= 0.7
|
||||||
|
CATEGORIES= games
|
||||||
|
MASTER_SITES= SF
|
||||||
|
|
||||||
|
MAINTAINER= martin@arp242.net
|
||||||
|
COMMENT= Roguelike game and as such a remake of the classic game Larn
|
||||||
|
|
||||||
|
LICENSE= GPLv3
|
||||||
|
|
||||||
|
BUILD_DEPENDS= premake4:${PORTSDIR}/devel/premake4
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/jaydg-nlarn-NLarn-${PORTVERSION}.0
|
||||||
|
USE_LUA= 5.1
|
||||||
|
USE_GNOME= glib20
|
||||||
|
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}|' \
|
||||||
|
${WRKSRC}/src/game.c
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${MKDIR} ${DATADIR}
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/nlarn ${PREFIX}/bin/
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/nlarn.ini-sample ${WRKSRC}/lib/* ${DATADIR}/
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
2
games/nlarn/distinfo
Normal file
2
games/nlarn/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (nlarn-0.7.tar.gz) = 21818bbc1691a8a79d3d6ce71934076895c2708725e5a0b431d46dba39e2795a
|
||||||
|
SIZE (nlarn-0.7.tar.gz) = 244698
|
19
games/nlarn/files/patch-premake4.lua
Normal file
19
games/nlarn/files/patch-premake4.lua
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--- premake4.lua.orig 2011-11-08 23:01:23.000000000 +0100
|
||||||
|
+++ premake4.lua 2011-11-08 23:01:44.000000000 +0100
|
||||||
|
@@ -75,12 +75,11 @@
|
||||||
|
-- Add configuration for Lua
|
||||||
|
-- Debian and Ubuntu have a specific naming convention for the lua
|
||||||
|
-- package; fortunately it can be configured with pkg-config
|
||||||
|
- if os.is("linux") and (get_linux_distribution() == "Debian"
|
||||||
|
- or get_linux_distribution() == "Ubuntu")
|
||||||
|
+ if os.is("bsd")
|
||||||
|
then
|
||||||
|
- includedirs { get_dirs("include", "lua5.1") }
|
||||||
|
- links { "lua5.1" }
|
||||||
|
- libdirs { get_dirs("lib", "lua5.1") }
|
||||||
|
+ includedirs { get_dirs("include", "lua-5.1") }
|
||||||
|
+ links { "lua-5.1" }
|
||||||
|
+ libdirs { get_dirs("lib", "lua-5.1") }
|
||||||
|
else
|
||||||
|
includedirs { get_dirs("include", "lua") }
|
||||||
|
links { "lua" }
|
11
games/nlarn/pkg-descr
Normal file
11
games/nlarn/pkg-descr
Normal file
|
@ -0,0 +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/
|
10
games/nlarn/pkg-plist
Normal file
10
games/nlarn/pkg-plist
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
bin/nlarn
|
||||||
|
%%DATADIR%%/README.txt
|
||||||
|
%%DATADIR%%/fortune
|
||||||
|
%%DATADIR%%/maze
|
||||||
|
%%DATADIR%%/maze_doc.txt
|
||||||
|
%%DATADIR%%/monsters.lua
|
||||||
|
%%DATADIR%%/nlarn.hlp
|
||||||
|
%%DATADIR%%/nlarn.ini-sample
|
||||||
|
%%DATADIR%%/nlarn.msg
|
||||||
|
@dirrm %%DATADIR%%
|
Loading…
Add table
Reference in a new issue