Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/games
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4704
Added Files:
tome.info tome.patch
Log Message:
New package by request from someone.
--- NEW FILE: tome.info ---
Package: tome
Version: 2.3.1
Revision: 1
Maintainer: James Gibbs <[EMAIL PROTECTED]>
Source: http://www.t-o-m-e.net/dl/src/%n-231-src.tar.bz2
Source-MD5: 51067d664e34bec5cd9eb4b78f0c8f16
BuildDepends: ncurses-dev (>= 5.3-20031018-2)
Depends: passwd, ncurses, ncurses-shlibs
PatchScript: <<
sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
<<
CompileScript: <<
#!/bin/sh
cd src/
make -f makefile.std
<<
InstallScript: <<
#!/bin/sh
cd src/
make -f makefile.std install DESTDIR=%d
mkdir -p %i/var/games/%n/lib/
find %i/var/games/ -exec chmod ugo+w {} \;
<<
DocFiles: changes.old changes.txt credits.txt lib/help/* Copyright
Description: Troubles of Middle Earth, curses-based RPG.
DescDetail: <<
Angband is a roguelike dungeon exploration game based on JRR Tolkien's
works. There are a lot of Angband variants because Angband's sources were
cleaned up by a remarkable person, Ben Harrison, which meant that as more
people could understand the code, more people made variants. ToME, expands
upon the Middle-Earth influence and is based on Zangband 2.2.0. ToME now
follows the Tolkien world more closely than any other variant!
<<
DescPort: <<
tome should be running suid games, but I couldn't figure out why tome was
dropping uid while writing to lib directories. Therefore I am temporarily
making the lib directory world-writable until I can figure out what to do
about this.
<<
License: GPL
Homepage: http://www.t-o-m-e.net/
--- NEW FILE: tome.patch ---
diff -Naur tome-231-src/Copyright tome-231-src-patched/Copyright
--- tome-231-src/Copyright Wed Dec 31 19:00:00 1969
+++ tome-231-src-patched/Copyright Sun Feb 27 11:25:45 2005
@@ -0,0 +1,64 @@
+Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
+
+This software may be copied and distributed for educational, research,
+and not for profit purposes provided that this copyright and statement
+are included in all such copies. Other copyrights may also apply.
+
+
+All changes made by Ben Harrison, Robert Ruehlmann, and many other Angband
+developers are also available under the GNU GENERAL PUBLIC LICENSE.
+Note that this doesn't influence the current distribution, since parts of
+the source are still only available under the old Moria/Angband license.
+Until all parts of Angband are distributed under the GPL the only valid
+license remains the original Moria/Angband license.
+
+More informations about Angband and the GPL can be found at:
+http://thangorodrim.angband.org/development/opensource.html
+
+
+
+ Copyright (c) 1989 James E. Wilson
+ Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
+
+ This software may be copied and distributed for educational, research, and
+ not for profit purposes provided that this copyright and statement are
+ included in all such copies.
+
+ Note that these copyright messages apply to an ancient version
+ of Angband, as in, from pre-2.4.frog-knows days, and thus the
+ reference to "5.0" is rather misleading...
+
+ UNIX ANGBAND Version 5.0
+
+ Original copyright message follows.
+
+ ANGBAND Version 4.8 COPYRIGHT (c) Robert Alan Koeneke
+
+ I lovingly dedicate this game to hackers and adventurers
+ everywhere...
+
+ Designer and Programmer:
+ Robert Alan Koeneke
+ University of Oklahoma
+
+ Assistant Programmer:
+ Jimmey Wayne Todd
+ University of Oklahoma
+
+ Assistant Programmer:
+ Gary D. McAdoo
+ University of Oklahoma
+
+ UNIX Port:
+ James E. Wilson
+ UC Berkeley
+ [EMAIL PROTECTED]
+ ucbvax!ucbernie!wilson
+
+ ANGBAND may be copied and modified freely as long as the above
+ credits are retained. No one who-so-ever may sell or market
+ this software in any form without the expressed written consent
+ of the author Robert Alan Koeneke.
+
+ The Tome variant has been modified by Dark God <[EMAIL PROTECTED]>,
+ and is available under the same terms as Angband.
diff -Naur tome-231-src/src/config.h tome-231-src-patched/src/config.h
--- tome-231-src/src/config.h Wed Dec 29 19:24:30 2004
+++ tome-231-src-patched/src/config.h Sun Feb 27 11:38:50 2005
@@ -90,7 +90,7 @@
/*
* OPTION: Include "ncurses.h" instead of "curses.h" in "main-gcu.c"
*/
-/* #define USE_NCURSES */
+#define USE_NCURSES
/*
@@ -386,7 +386,7 @@
* that file.
*/
#ifndef DEFAULT_PATH
-# define DEFAULT_PATH "./lib/"
+# define DEFAULT_PATH "@PREFIX@/var/games/tome/lib/"
#endif
@@ -446,7 +446,7 @@
/*
* OPTION: Person to bother if something goes wrong.
*/
-#define MAINTAINER "[EMAIL PROTECTED]"
+#define MAINTAINER "[EMAIL PROTECTED]"
/*
diff -Naur tome-231-src/src/makefile.std tome-231-src-patched/src/makefile.std
--- tome-231-src/src/makefile.std Wed Dec 29 19:24:30 2004
+++ tome-231-src-patched/src/makefile.std Sun Feb 27 11:35:29 2005
@@ -54,13 +54,13 @@
# Sysadmins of commercial Unix and/or BSD might prefer this
#LIBDIR = /usr/local/lib/tome/
# If you like the old default, use this one
-LIBDIR = ./lib/
+LIBDIR = @PREFIX@/var/games/tome/lib/
# Another example: single user installation using absolute path
#LIBDIR = /home/myloginname/lib/tome/
# Where ToME binary goes
-BINDIR = /usr/local/games
+BINDIR = @PREFIX@/bin
# Another common location
#BINDIR = /usr/local/bin
@@ -126,11 +126,9 @@
# attempt to "guess" at many of these flags based on your system.
#
COPTS = -Wall -O1 -pipe -g
-INCLUDES = -I/usr/X11R6/include
-DEFINES = -DUSE_X11 \
- -DUSE_EGO_GRAPHICS -DUSE_TRANSPARENCY -DSUPPORT_GAMMA \
- -DUSE_PRECISE_CMOVIE -DUSE_UNIXSOCK
-LIBS = -lX11 -L/usr/X11R6/lib
+INCLUDES = [EMAIL PROTECTED]@/include/ncurses/ [EMAIL PROTECTED]@/include/
+DEFINES = -DUSE_GCU -DUSE_NCURSES
+LIBS = -lncurses -lcurses -ltermcap
##
## Variation -- Only support "main-gtk.c" (not "main-gcu.c, main-x11.c")
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits