svn commit: r325132 - in head/games: . tomenet tomenet/files
Frederic Culot
culot at FreeBSD.org
Wed Aug 21 14:00:45 UTC 2013
Author: culot
Date: Wed Aug 21 14:00:43 2013
New Revision: 325132
URL: http://svnweb.freebsd.org/changeset/ports/325132
Log:
TomeNET is an online multiplayer rogue-like role-playing game,
derived from MAngband (Multiplayer-Angband).
TomeNET loosely bases on the stories of J.R.R. Tolkien mainly
"The Lord Of The Rings", hence the name "the Troubles of Middle
Earth" or alternatively "the Tales of Middle Earth".
WWW: http://tomenet.net/
Note: only the curses interface is available with this port.
Adding support for graphical interface using X11 is not planned
for now on because I could not easily test it.
Added:
head/games/tomenet/
head/games/tomenet/Makefile (contents, props changed)
head/games/tomenet/distinfo (contents, props changed)
head/games/tomenet/files/
head/games/tomenet/files/patch-makefile (contents, props changed)
head/games/tomenet/files/pkg-message.in (contents, props changed)
head/games/tomenet/pkg-descr (contents, props changed)
head/games/tomenet/pkg-plist (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Wed Aug 21 13:54:13 2013 (r325131)
+++ head/games/Makefile Wed Aug 21 14:00:43 2013 (r325132)
@@ -933,6 +933,7 @@
SUBDIR += tksol
SUBDIR += tmw
SUBDIR += tomatoes
+ SUBDIR += tomenet
SUBDIR += tong
SUBDIR += toppler
SUBDIR += torcs
Added: head/games/tomenet/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/tomenet/Makefile Wed Aug 21 14:00:43 2013 (r325132)
@@ -0,0 +1,40 @@
+# Created by: Frederic Culot <culot at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= tomenet
+PORTVERSION= 4.5.4
+CATEGORIES= games
+MASTER_SITES= http://tomenet.net/downloads/
+
+MAINTAINER= culot at FreeBSD.org
+COMMENT= Online multiplayer rogue-like role-playing game
+
+USE_BZIP2= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+MAKEFILE= ${WRKSRC}/makefile
+
+USES= ncurses
+USE_GMAKE= yes
+CFLAGS+= -DDEFAULT_PATH="\\\"${DATADIR}/lib/\\\""
+
+SUB_FILES= pkg-message
+
+do-install:
+.for f in tomenet tomenet.server accedit evilmeta
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+.endfor
+ ${MKDIR} ${DATADIR}
+ (cd ${WRKDIR}/${DISTNAME} && ${COPYTREE_SHARE} lib ${DATADIR})
+ ${MKDIR} ${ETCDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/.tomenetrc ${ETCDIR}/tomenetrc
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TomeNET-Guide.txt ${DOCSDIR}
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
Added: head/games/tomenet/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/tomenet/distinfo Wed Aug 21 14:00:43 2013 (r325132)
@@ -0,0 +1,2 @@
+SHA256 (tomenet-4.5.4.tar.bz2) = 3bb8955619f3da571c7982d323cae837203dfd30eb65a508f678efae2ac40f70
+SIZE (tomenet-4.5.4.tar.bz2) = 2740555
Added: head/games/tomenet/files/patch-makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/tomenet/files/patch-makefile Wed Aug 21 14:00:43 2013 (r325132)
@@ -0,0 +1,24 @@
+--- makefile.orig 2013-08-20 08:00:23.000000000 -0400
++++ makefile 2013-08-20 08:03:26.000000000 -0400
+@@ -256,8 +256,8 @@
+ # attempt to "guess" at many of these flags based on your system.
+ #
+ ## With SDL
+-CFLAGS = -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I${X11BASE}/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -DSOUND_SDL `sdl-config --cflags`
+-LIBS = -L${X11BASE}/lib -L/usr/pkg/lib -lX11 -lncurses -lcrypt -lm `sdl-config --libs` -lSDL_mixer
++#CFLAGS = -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I${X11BASE}/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937 -DSOUND_SDL `sdl-config --cflags`
++#LIBS = -L${X11BASE}/lib -L/usr/pkg/lib -lX11 -lncurses -lcrypt -lm `sdl-config --libs` -lSDL_mixer
+ ##
+ ## Without SDL
+ #CFLAGS = -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I${X11BASE}/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937
+@@ -304,8 +304,8 @@
+ #LDFLAGS = -Wl,-rpath,\$$ORIGIN
+ ##
+ ## Without SDL
+-#CFLAGS = -g -pipe -Wall -DUSE_X11 -DUSE_GCU -I${X11BASE}/include -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937
+-#LIBS = -L${X11BASE}/lib -L/usr/pkg/lib -lX11 -lncurses -lcrypt -lm
++CFLAGS += -g -pipe -Wall -DUSE_GCU -D_XOPEN_SOURCE -D_BSD_SOURCE -DMEXP=19937
++LIBS += -lncurses -lcrypt -lm
+
+
+ ## Added by thaler, 6/28/97
Added: head/games/tomenet/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/tomenet/files/pkg-message.in Wed Aug 21 14:00:43 2013 (r325132)
@@ -0,0 +1,18 @@
+========================================================================
+
+To complete your installation of TomeNET, you should create a
+configuration file to suit your needs:
+
+ cp %%ETCDIR%%/tomenetrc ~/.tomenetrc
+ $EDITOR ~/.tomenetrc
+
+and then you can start playing the game.
+If installed, extensive documentation can be found in
+
+%%DOCSDIR%%/TomeNET-Guide.txt
+
+otherwise the guide is available online at:
+
+http://www.tomenet.net/guide.php
+
+========================================================================
Added: head/games/tomenet/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/tomenet/pkg-descr Wed Aug 21 14:00:43 2013 (r325132)
@@ -0,0 +1,7 @@
+TomeNET is an online multiplayer rogue-like role-playing game,
+derived from MAngband (Multiplayer-Angband).
+TomeNET loosely bases on the stories of J.R.R. Tolkien mainly
+"The Lord Of The Rings", hence the name "the Troubles of Middle
+Earth" or alternatively "the Tales of Middle Earth".
+
+WWW: http://tomenet.net/
Added: head/games/tomenet/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/tomenet/pkg-plist Wed Aug 21 14:00:43 2013 (r325132)
@@ -0,0 +1,168 @@
+bin/accedit
+bin/evilmeta
+bin/tomenet
+bin/tomenet.server
+%%ETCDIR%%/tomenetrc
+%%DATADIR%%/lib/config/badnames.txt
+%%DATADIR%%/lib/config/nonswearing.txt
+%%DATADIR%%/lib/config/swearing.txt
+%%DATADIR%%/lib/config/tomenet.cfg
+%%DATADIR%%/lib/data/tomenet.log
+%%DATADIR%%/lib/game/a_info.txt
+%%DATADIR%%/lib/game/ba_info.txt
+%%DATADIR%%/lib/game/d_info.txt
+%%DATADIR%%/lib/game/e_info.txt
+%%DATADIR%%/lib/game/f_info.txt
+%%DATADIR%%/lib/game/k_info.txt
+%%DATADIR%%/lib/game/ow_info.txt
+%%DATADIR%%/lib/game/r_info.txt
+%%DATADIR%%/lib/game/re_info.txt
+%%DATADIR%%/lib/game/renumber.pl
+%%DATADIR%%/lib/game/s_info.txt
+%%DATADIR%%/lib/game/st_info.txt
+%%DATADIR%%/lib/game/t_arena_pvp.txt
+%%DATADIR%%/lib/game/t_arena_tt.txt
+%%DATADIR%%/lib/game/t_arena1.txt
+%%DATADIR%%/lib/game/t_bree.txt
+%%DATADIR%%/lib/game/t_bree_arcade.txt
+%%DATADIR%%/lib/game/t_gondol.txt
+%%DATADIR%%/lib/game/t_info.txt
+%%DATADIR%%/lib/game/t_khazad.txt
+%%DATADIR%%/lib/game/t_lorien.txt
+%%DATADIR%%/lib/game/t_menegroth.txt
+%%DATADIR%%/lib/game/t_minas.txt
+%%DATADIR%%/lib/game/t_nargothrond.txt
+%%DATADIR%%/lib/game/t_pref.txt
+%%DATADIR%%/lib/game/t_valinor.txt
+%%DATADIR%%/lib/game/tr_info.txt
+%%DATADIR%%/lib/game/v_info.txt
+%%DATADIR%%/lib/save/delete.me
+%%DATADIR%%/lib/scpt/audio.lua
+%%DATADIR%%/lib/scpt/c-init.lua
+%%DATADIR%%/lib/scpt/cblue.lua
+%%DATADIR%%/lib/scpt/classes.lua
+%%DATADIR%%/lib/scpt/custom.lua
+%%DATADIR%%/lib/scpt/d_astral.lua
+%%DATADIR%%/lib/scpt/dg.lua
+%%DATADIR%%/lib/scpt/dr_arcane.lua
+%%DATADIR%%/lib/scpt/dr_physical.lua
+%%DATADIR%%/lib/scpt/evil.lua
+%%DATADIR%%/lib/scpt/init.lua
+%%DATADIR%%/lib/scpt/it.lua
+%%DATADIR%%/lib/scpt/jir.lua
+%%DATADIR%%/lib/scpt/m_mintrusion.lua
+%%DATADIR%%/lib/scpt/m_ppower.lua
+%%DATADIR%%/lib/scpt/m_tcontact.lua
+%%DATADIR%%/lib/scpt/meta.lua
+%%DATADIR%%/lib/scpt/mikaelh.lua
+%%DATADIR%%/lib/scpt/moltor.lua
+%%DATADIR%%/lib/scpt/p_curing.lua
+%%DATADIR%%/lib/scpt/p_defense.lua
+%%DATADIR%%/lib/scpt/p_offense.lua
+%%DATADIR%%/lib/scpt/p_support.lua
+%%DATADIR%%/lib/scpt/player.lua
+%%DATADIR%%/lib/scpt/player-info.lua
+%%DATADIR%%/lib/scpt/powers.lua
+%%DATADIR%%/lib/scpt/races.lua
+%%DATADIR%%/lib/scpt/s_air.lua
+%%DATADIR%%/lib/scpt/s_aux.lua
+%%DATADIR%%/lib/scpt/s_convey.lua
+%%DATADIR%%/lib/scpt/s_divin.lua
+%%DATADIR%%/lib/scpt/s_earth.lua
+%%DATADIR%%/lib/scpt/s_fire.lua
+%%DATADIR%%/lib/scpt/s_mana.lua
+%%DATADIR%%/lib/scpt/s_meta.lua
+%%DATADIR%%/lib/scpt/s_mind.lua
+%%DATADIR%%/lib/scpt/s_nature.lua
+%%DATADIR%%/lib/scpt/s_tempo.lua
+%%DATADIR%%/lib/scpt/s_udun.lua
+%%DATADIR%%/lib/scpt/s_water.lua
+%%DATADIR%%/lib/scpt/spells.lua
+%%DATADIR%%/lib/scpt/test.lua
+%%DATADIR%%/lib/scpt/traits.lua
+%%DATADIR%%/lib/scpt/update.lua
+%%DATADIR%%/lib/scpt/xml.lua
+%%DATADIR%%/lib/text/attack.txt
+%%DATADIR%%/lib/text/birth.txt
+%%DATADIR%%/lib/text/book-50.txt
+%%DATADIR%%/lib/text/book-51.txt
+%%DATADIR%%/lib/text/book-52.txt
+%%DATADIR%%/lib/text/book-60.txt
+%%DATADIR%%/lib/text/book-61.txt
+%%DATADIR%%/lib/text/book-62.txt
+%%DATADIR%%/lib/text/book-63.txt
+%%DATADIR%%/lib/text/book-64.txt
+%%DATADIR%%/lib/text/book-65.txt
+%%DATADIR%%/lib/text/book-66.txt
+%%DATADIR%%/lib/text/book-67.txt
+%%DATADIR%%/lib/text/chainswd.txt
+%%DATADIR%%/lib/text/command.txt
+%%DATADIR%%/lib/text/dead.txt
+%%DATADIR%%/lib/text/dead2.txt
+%%DATADIR%%/lib/text/death.txt
+%%DATADIR%%/lib/text/dungeon.txt
+%%DATADIR%%/lib/text/error.txt
+%%DATADIR%%/lib/text/gambling.txt
+%%DATADIR%%/lib/text/general.txt
+%%DATADIR%%/lib/text/help.hlp
+%%DATADIR%%/lib/text/hints.txt
+%%DATADIR%%/lib/text/news.txt
+%%DATADIR%%/lib/text/option.txt
+%%DATADIR%%/lib/text/randarts.txt
+%%DATADIR%%/lib/text/rumors.txt
+%%DATADIR%%/lib/text/slash.hlp
+%%DATADIR%%/lib/text/slash_ad.hlp
+%%DATADIR%%/lib/text/timefun.txt
+%%DATADIR%%/lib/text/timenorm.txt
+%%DATADIR%%/lib/text/tomenet.hlp
+%%DATADIR%%/lib/text/version.txt
+%%DATADIR%%/lib/user/arcade-win.prf
+%%DATADIR%%/lib/user/arcade-x11.prf
+%%DATADIR%%/lib/user/font-ami.prf
+%%DATADIR%%/lib/user/font-ibm.prf
+%%DATADIR%%/lib/user/font-win.prf
+%%DATADIR%%/lib/user/font-win(solid).prf
+%%DATADIR%%/lib/user/graf-ami.prf
+%%DATADIR%%/lib/user/graf-win.prf
+%%DATADIR%%/lib/user/linux_caster.prf
+%%DATADIR%%/lib/user/linux_fighter.prf
+%%DATADIR%%/lib/user/options.prf
+%%DATADIR%%/lib/user/pref.prf
+%%DATADIR%%/lib/user/pref-acn.prf
+%%DATADIR%%/lib/user/pref-emx.prf
+%%DATADIR%%/lib/user/pref-ibm.prf
+%%DATADIR%%/lib/user/pref-lsl.prf
+%%DATADIR%%/lib/user/pref-mac.prf
+%%DATADIR%%/lib/user/pref-win.prf
+%%DATADIR%%/lib/user/pref-x11.prf
+%%DATADIR%%/lib/user/pref-xaw.prf
+%%DATADIR%%/lib/user/smash-win.prf
+%%DATADIR%%/lib/user/smash-x11.prf
+%%DATADIR%%/lib/user/tron-win.prf
+%%DATADIR%%/lib/user/tron-x11.prf
+%%DATADIR%%/lib/user/window.prf
+%%DATADIR%%/lib/user/windows_caster.prf
+%%DATADIR%%/lib/user/windows_fighter.prf
+%%DATADIR%%/lib/xtra/music/music.cfg.default
+%%DATADIR%%/lib/xtra/sound/credits.txt
+%%DATADIR%%/lib/xtra/sound/sound.cfg.default
+%%DATADIR%%/lib/xtra/sound/misc/paging/ding.ogg
+%%DATADIR%%/lib/xtra/sound/misc/paging/greeting.ogg
+%%DATADIR%%/lib/xtra/sound/misc/paging/warning.ogg
+%%PORTDOCS%%%%DOCSDIR%%/TomeNET-Guide.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm %%ETCDIR%%
+ at dirrm %%DATADIR%%/lib/config
+ at dirrm %%DATADIR%%/lib/data
+ at dirrm %%DATADIR%%/lib/game
+ at dirrm %%DATADIR%%/lib/save
+ at dirrm %%DATADIR%%/lib/scpt
+ at dirrm %%DATADIR%%/lib/text
+ at dirrm %%DATADIR%%/lib/user
+ at dirrm %%DATADIR%%/lib/xtra/music
+ at dirrm %%DATADIR%%/lib/xtra/sound/misc/paging
+ at dirrm %%DATADIR%%/lib/xtra/sound/misc
+ at dirrm %%DATADIR%%/lib/xtra/sound
+ at dirrm %%DATADIR%%/lib/xtra
+ at dirrm %%DATADIR%%/lib
+ at dirrm %%DATADIR%%
More information about the svn-ports-head
mailing list