summaryrefslogtreecommitdiff
path: root/games/crossfire-server
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2006-05-11 05:57:14 +0000
committeradam <adam@pkgsrc.org>2006-05-11 05:57:14 +0000
commitbf2af166e13540fd51c8472f661b2eeee6f00e50 (patch)
tree246026570543b0bc5e6e711ab92ebab3b48d39b7 /games/crossfire-server
parent88ff814796dcb3e1e58f7799a692e8f5ec12df01 (diff)
downloadpkgsrc-bf2af166e13540fd51c8472f661b2eeee6f00e50.tar.gz
Crossfire is a multi-player graphical arcade and adventure game made for the
X Windows systems environment. It has certain flavours from other games, especially gauntlet and the rogue-like games (Nethack, Moria, Angband, and Ragnarok.) Any number of players can move around in their own window, finding and using items and battling monsters. They can choose to cooperate or compete in the same world. In the years of development that have followed, Crossfire has grown to encompass over 150 monsters, ~3000 maps to explore, an elaborate magic system, over 15 character types, a system of skills, and many, many artifacts and treasures.
Diffstat (limited to 'games/crossfire-server')
-rw-r--r--games/crossfire-server/DESCR11
-rw-r--r--games/crossfire-server/Makefile38
-rw-r--r--games/crossfire-server/PLIST143
-rw-r--r--games/crossfire-server/distinfo7
-rw-r--r--games/crossfire-server/patches/patch-aa13
-rw-r--r--games/crossfire-server/patches/patch-ae12
6 files changed, 224 insertions, 0 deletions
diff --git a/games/crossfire-server/DESCR b/games/crossfire-server/DESCR
new file mode 100644
index 00000000000..5688fcdd17c
--- /dev/null
+++ b/games/crossfire-server/DESCR
@@ -0,0 +1,11 @@
+Crossfire is a multi-player graphical arcade and adventure game made for the
+X Windows systems environment. It has certain flavours from other games,
+especially gauntlet and the rogue-like games (Nethack, Moria, Angband, and
+Ragnarok.) Any number of players can move around in their own window, finding
+and using items and battling monsters. They can choose to cooperate or compete
+in the same world.
+
+In the years of development that have followed, Crossfire has grown to
+encompass over 150 monsters, ~3000 maps to explore, an elaborate magic system,
+over 15 character types, a system of skills, and many, many artifacts and
+treasures.
diff --git a/games/crossfire-server/Makefile b/games/crossfire-server/Makefile
new file mode 100644
index 00000000000..639ba34e29e
--- /dev/null
+++ b/games/crossfire-server/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/11 05:59:36 adam Exp $
+
+DISTNAME= crossfire-1.9.0
+PKGNAME= crossfire-server-1.9.0
+CATEGORIES= games x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=crossfire/}
+
+MAINTAINER= adam@NetBSD.org
+HOMEPAGE= http://crossfire.real-time.com/
+COMMENT= X11 multi/single player game similar to gauntlet and nethack
+
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake perl:run
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}/games
+CONFIGURE_ENV+= ac_cv_path_GZIP=${GZIP_CMD:Q}
+
+REPLACE_PERL+= doc/include_html.pl doc/playbook/make_index.pl
+REPLACE_PERL+= doc/scripts/items-extract.pl doc/scripts/makeps.pl
+REPLACE_PERL+= doc/scripts/monster-extract.pl lib/adm/archsearch.pl
+REPLACE_PERL+= lib/adm/collect_images.pl lib/adm/map_expand.pl
+REPLACE_PERL+= lib/adm/mapslitter.pl lib/checkarch.pl
+REPLACE_PERL+= lib/collect.pl lib/util.pl utils/metaserver.pl
+
+EGDIR= ${PREFIX}/share/examples/crossfire
+CONF_FILES+= ${EGDIR:Q}/ban_file ${PKG_SYSCONFDIR:Q}/crossfire/ban_file
+CONF_FILES+= ${EGDIR:Q}/dm_file ${PKG_SYSCONFDIR:Q}/crossfire/dm_file
+CONF_FILES+= ${EGDIR:Q}/exp_table ${PKG_SYSCONFDIR:Q}/crossfire/exp_table
+CONF_FILES+= ${EGDIR:Q}/forbid ${PKG_SYSCONFDIR:Q}/crossfire/forbid
+CONF_FILES+= ${EGDIR:Q}/motd ${PKG_SYSCONFDIR:Q}/crossfire/motd
+CONF_FILES+= ${EGDIR:Q}/news ${PKG_SYSCONFDIR:Q}/crossfire/news
+CONF_FILES+= ${EGDIR:Q}/rules ${PKG_SYSCONFDIR:Q}/crossfire/rules
+CONF_FILES+= ${EGDIR:Q}/settings ${PKG_SYSCONFDIR:Q}/crossfire/settings
+
+.include "../../graphics/png/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/x11.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/crossfire-server/PLIST b/games/crossfire-server/PLIST
new file mode 100644
index 00000000000..2e2bdd5941d
--- /dev/null
+++ b/games/crossfire-server/PLIST
@@ -0,0 +1,143 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/11 05:59:36 adam Exp $
+bin/crossedit
+bin/crossfire
+bin/crossfire-config
+bin/crossloop
+bin/crossloop.pl
+bin/crossloop.web
+bin/player_dl.pl
+lib/crossfire/add_throw.perl
+lib/crossfire/metaserver.pl
+lib/crossfire/mktable.script
+lib/crossfire/plugins/cfanim.la
+lib/crossfire/random_map
+man/man6/crossedit.6
+man/man6/crossfire-config.6
+man/man6/crossfire.6
+man/man6/crossloop.6
+man/man6/crossloop.web.6
+share/crossfire/adm/archsearch.pl
+share/crossfire/adm/collect_images.pl
+share/crossfire/adm/map_expand.pl
+share/crossfire/adm/map_info
+share/crossfire/adm/mapslitter.pl
+share/crossfire/animations
+share/crossfire/archetypes
+share/crossfire/artifacts
+share/crossfire/attackmess
+share/crossfire/bmaps
+share/crossfire/bmaps.paths
+share/crossfire/crossfire.0
+share/crossfire/crossfire.1
+share/crossfire/def_help
+share/crossfire/faces
+share/crossfire/formulae
+share/crossfire/help/apply
+share/crossfire/help/applymode
+share/crossfire/help/bind
+share/crossfire/help/bowmode
+share/crossfire/help/brace
+share/crossfire/help/cast
+share/crossfire/help/drop
+share/crossfire/help/dropall
+share/crossfire/help/golem
+share/crossfire/help/invoke
+share/crossfire/help/keys
+share/crossfire/help/killpets
+share/crossfire/help/listen
+share/crossfire/help/mark
+share/crossfire/help/melee
+share/crossfire/help/mode
+share/crossfire/help/mouse
+share/crossfire/help/move
+share/crossfire/help/output
+share/crossfire/help/output-count
+share/crossfire/help/output-sync
+share/crossfire/help/party
+share/crossfire/help/peaceful
+share/crossfire/help/petmode
+share/crossfire/help/pickup
+share/crossfire/help/quests
+share/crossfire/help/quit
+share/crossfire/help/range
+share/crossfire/help/rename
+share/crossfire/help/save
+share/crossfire/help/shout
+share/crossfire/help/showpets
+share/crossfire/help/sort_inventory
+share/crossfire/help/spells
+share/crossfire/help/statistics
+share/crossfire/help/take
+share/crossfire/help/traps
+share/crossfire/help/unbind
+share/crossfire/help/usekeys
+share/crossfire/help/whereabouts
+share/crossfire/image_info
+share/crossfire/materials
+share/crossfire/messages
+share/crossfire/races
+share/crossfire/regions
+share/crossfire/smooth
+share/crossfire/treasures
+share/crossfire/wizhelp/abil
+share/crossfire/wizhelp/addexp
+share/crossfire/wizhelp/banish
+share/crossfire/wizhelp/create
+share/crossfire/wizhelp/debug
+share/crossfire/wizhelp/dump
+share/crossfire/wizhelp/dumpallarchtypes
+share/crossfire/wizhelp/dumpallmaps
+share/crossfire/wizhelp/dumpallobjects
+share/crossfire/wizhelp/dumpbelow
+share/crossfire/wizhelp/dumpfriendlyobjects
+share/crossfire/wizhelp/forget_spell
+share/crossfire/wizhelp/free
+share/crossfire/wizhelp/goto
+share/crossfire/wizhelp/hide
+share/crossfire/wizhelp/insert_into
+share/crossfire/wizhelp/invisible
+share/crossfire/wizhelp/kick
+share/crossfire/wizhelp/learn_special_prayer
+share/crossfire/wizhelp/learn_spell
+share/crossfire/wizhelp/mon_aggr
+share/crossfire/wizhelp/nodm
+share/crossfire/wizhelp/nowiz
+share/crossfire/wizhelp/overlay_save
+share/crossfire/wizhelp/patch
+share/crossfire/wizhelp/plugin
+share/crossfire/wizhelp/pluglist
+share/crossfire/wizhelp/plugout
+share/crossfire/wizhelp/possess
+share/crossfire/wizhelp/printlos
+share/crossfire/wizhelp/remove
+share/crossfire/wizhelp/reset
+share/crossfire/wizhelp/server_speed
+share/crossfire/wizhelp/set_god
+share/crossfire/wizhelp/shutdown
+share/crossfire/wizhelp/spellreset
+share/crossfire/wizhelp/ssdumptable
+share/crossfire/wizhelp/stats
+share/crossfire/wizhelp/style_info
+share/crossfire/wizhelp/summon
+share/crossfire/wizhelp/teleport
+share/crossfire/wizhelp/time
+share/crossfire/wizhelp/toggle_shout
+share/crossfire/wizhelp/who
+share/crossfire/wizhelp/wizcast
+share/crossfire/wizhelp/wizhelp
+share/crossfire/wizhelp/wizpass
+share/examples/crossfire/ban_file
+share/examples/crossfire/dm_file
+share/examples/crossfire/exp_table
+share/examples/crossfire/forbid
+share/examples/crossfire/motd
+share/examples/crossfire/news
+share/examples/crossfire/rules
+share/examples/crossfire/settings
+@dirrm share/examples/crossfire
+@dirrm share/crossfire/wizhelp
+@dirrm share/crossfire/help
+@dirrm share/crossfire/adm
+@dirrm share/crossfire
+@dirrm lib/crossfire/plugins
+@dirrm lib/crossfire
diff --git a/games/crossfire-server/distinfo b/games/crossfire-server/distinfo
new file mode 100644
index 00000000000..975e7223c39
--- /dev/null
+++ b/games/crossfire-server/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/05/11 05:59:36 adam Exp $
+
+SHA1 (crossfire-1.9.0.tar.gz) = 7f8ef84f4d465736fc854b4be4e32f39ed415eaf
+RMD160 (crossfire-1.9.0.tar.gz) = 6069e1d566a738c73756096240694d8f62ab8ce4
+Size (crossfire-1.9.0.tar.gz) = 5317109 bytes
+SHA1 (patch-aa) = 7102244e70498f89dc2f0a600415f06dcb93853f
+SHA1 (patch-ae) = 4f9aee487d8cff1bb6295f3661d0194d045b328c
diff --git a/games/crossfire-server/patches/patch-aa b/games/crossfire-server/patches/patch-aa
new file mode 100644
index 00000000000..31bda4235fd
--- /dev/null
+++ b/games/crossfire-server/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/05/11 05:59:36 adam Exp $
+
+--- lib/Makefile.in.orig 2006-04-03 19:50:56.000000000 +0200
++++ lib/Makefile.in
+@@ -215,7 +215,7 @@ mandir = @mandir@
+ mkdir_p = @mkdir_p@
+ no_x = @no_x@
+ oldincludedir = @oldincludedir@
+-pkgconfdir = @pkgconfdir@
++pkgconfdir = ${prefix}/share/examples/crossfire
+ pkgstatedir = @pkgstatedir@
+ prefix = @prefix@
+ program_transform_name = @program_transform_name@
diff --git a/games/crossfire-server/patches/patch-ae b/games/crossfire-server/patches/patch-ae
new file mode 100644
index 00000000000..db3742de95f
--- /dev/null
+++ b/games/crossfire-server/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.1.1.1 2006/05/11 05:59:36 adam Exp $
+
+--- socket/lowlevel.c.orig 2005-12-12 03:36:26.000000000 +0100
++++ socket/lowlevel.c
+@@ -117,7 +117,6 @@ short GetShort_String(unsigned char *dat
+ int SockList_ReadPacket(int fd, SockList *sl, int len)
+ {
+ int stat,toread;
+- extern int errno;
+
+ /* Sanity check - shouldn't happen */
+ if (sl->len < 0) {