summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/quakeforge/DESCR6
-rw-r--r--games/quakeforge/MESSAGE8
-rw-r--r--games/quakeforge/Makefile36
-rw-r--r--games/quakeforge/PLIST249
-rw-r--r--games/quakeforge/distinfo6
-rw-r--r--games/quakeforge/patches/patch-aa13
-rw-r--r--games/quakeforge/patches/patch-ab13
7 files changed, 331 insertions, 0 deletions
diff --git a/games/quakeforge/DESCR b/games/quakeforge/DESCR
new file mode 100644
index 00000000000..1b23df0f277
--- /dev/null
+++ b/games/quakeforge/DESCR
@@ -0,0 +1,6 @@
+QuakeForge is a 3D graphics game engine based on id Software's legendary
+Quake and QuakeWorld game engine. Its purpose? To improve the state of
+the game by improving the engine and making it accessible to as many
+people as possible.
+
+It uses SDL, straight Xlib, or OpenGL.
diff --git a/games/quakeforge/MESSAGE b/games/quakeforge/MESSAGE
new file mode 100644
index 00000000000..5376996f2f1
--- /dev/null
+++ b/games/quakeforge/MESSAGE
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2004/04/17 03:04:03 snj Exp $
+
+To use QuakeForge, you must have a set of data files. One possible source
+is pkgsrc/games/quakedata/. Once you have obtained a set of data files,
+place the id1 directory in ~/.quakeforge/.
+
+===========================================================================
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile
new file mode 100644
index 00000000000..abe018b6f4b
--- /dev/null
+++ b/games/quakeforge/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/04/17 03:04:03 snj Exp $
+
+DISTNAME= quakeforge-0.5.4
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=quake/}
+
+MAINTAINER= snj@NetBSD.org
+HOMEPAGE= http://www.quakeforge.net/
+COMMENT= Improved Quake engine
+
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+
+CONFIGURE_ARGS+= --with-cpp="${CPP} %d %i %o"
+GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= YES
+USE_X11= YES
+YACC= ${LOCALBASE}/bin/bison
+
+SUBST_CLASSES+= dsp
+SUBST_STAGE.dsp= post-patch
+SUBST_MESSAGE.dsp= Adjusting sound device path.
+SUBST_FILES.dsp= libs/audio/targets/snd_oss.c
+SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
+
+BUILD_DEFS+= USE_INET6
+
+.include "../../mk/bsd.prefs.mk"
+.if !(defined(USE_INET6) && ${USE_INET6} == "YES")
+CONFIGURE_ARGS+= --without-ipv6
+.endif
+
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/quakeforge/PLIST b/games/quakeforge/PLIST
new file mode 100644
index 00000000000..9934aa4165e
--- /dev/null
+++ b/games/quakeforge/PLIST
@@ -0,0 +1,249 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/04/17 03:04:03 snj Exp $
+bin/bsp2img
+bin/hw-master
+bin/nq-glx
+bin/nq-sdl
+bin/nq-sdl32
+bin/nq-server
+bin/nq-sgl
+bin/nq-x11
+bin/pak
+bin/qfbsp
+bin/qfcc
+bin/qfdefs
+bin/qflight
+bin/qfmodelgen
+bin/qfprogs
+bin/qfvis
+bin/qfwavinfo
+bin/qw-client-glx
+bin/qw-client-sdl
+bin/qw-client-sdl32
+bin/qw-client-sgl
+bin/qw-client-x11
+bin/qw-master
+bin/qw-server
+bin/zpak
+include/QF/GL/defines.h
+include/QF/GL/extensions.h
+include/QF/GL/funcs.h
+include/QF/GL/qf_explosions.h
+include/QF/GL/qf_funcs_list.h
+include/QF/GL/qf_lightmap.h
+include/QF/GL/qf_noisetextures.h
+include/QF/GL/qf_rlight.h
+include/QF/GL/qf_rmain.h
+include/QF/GL/qf_rsurf.h
+include/QF/GL/qf_screen.h
+include/QF/GL/qf_sky.h
+include/QF/GL/qf_textures.h
+include/QF/GL/qf_vid.h
+include/QF/GL/types.h
+include/QF/bspfile.h
+include/QF/cbuf.h
+include/QF/cdaudio.h
+include/QF/checksum.h
+include/QF/clip_hull.h
+include/QF/cmd.h
+include/QF/console.h
+include/QF/crc.h
+include/QF/csqc.h
+include/QF/cvar.h
+include/QF/draw.h
+include/QF/dstring.h
+include/QF/gib.h
+include/QF/hash.h
+include/QF/hl.h
+include/QF/idparse.h
+include/QF/in_event.h
+include/QF/info.h
+include/QF/input.h
+include/QF/joystick.h
+include/QF/keys.h
+include/QF/link.h
+include/QF/locs.h
+include/QF/mathlib.h
+include/QF/mdfour.h
+include/QF/model.h
+include/QF/modelgen.h
+include/QF/msg.h
+include/QF/pak.h
+include/QF/pakfile.h
+include/QF/pcx.h
+include/QF/plugin.h
+include/QF/plugin/cd.h
+include/QF/plugin/console.h
+include/QF/plugin/general.h
+include/QF/plugin/input.h
+include/QF/plugin/snd_output.h
+include/QF/plugin/snd_render.h
+include/QF/pr_comp.h
+include/QF/pr_debug.h
+include/QF/pr_obj.h
+include/QF/progs.h
+include/QF/qargs.h
+include/QF/qdefs.h
+include/QF/qendian.h
+include/QF/qfplist.h
+include/QF/qtypes.h
+include/QF/quakefs.h
+include/QF/quakeio.h
+include/QF/render.h
+include/QF/riff.h
+include/QF/ruamoko/Array.h
+include/QF/ruamoko/Entity.h
+include/QF/ruamoko/InputLine.h
+include/QF/ruamoko/Object.h
+include/QF/ruamoko/Point.h
+include/QF/ruamoko/Rect.h
+include/QF/ruamoko/Size.h
+include/QF/ruamoko/cbuf.h
+include/QF/ruamoko/cmd.h
+include/QF/ruamoko/crudefile.h
+include/QF/ruamoko/cvar.h
+include/QF/ruamoko/debug.h
+include/QF/ruamoko/draw.h
+include/QF/ruamoko/entities.h
+include/QF/ruamoko/file.h
+include/QF/ruamoko/gib.h
+include/QF/ruamoko/hash.h
+include/QF/ruamoko/infokey.h
+include/QF/ruamoko/key.h
+include/QF/ruamoko/math.h
+include/QF/ruamoko/message.h
+include/QF/ruamoko/nq_message.h
+include/QF/ruamoko/physics.h
+include/QF/ruamoko/plist.h
+include/QF/ruamoko/qfile.h
+include/QF/ruamoko/qw_message.h
+include/QF/ruamoko/qw_physics.h
+include/QF/ruamoko/qw_sys.h
+include/QF/ruamoko/sound.h
+include/QF/ruamoko/string.h
+include/QF/ruamoko/system.h
+include/QF/screen.h
+include/QF/sizebuf.h
+include/QF/skin.h
+include/QF/sound.h
+include/QF/spritegn.h
+include/QF/sys.h
+include/QF/teamplay.h
+include/QF/texture.h
+include/QF/tga.h
+include/QF/uint32.h
+include/QF/va.h
+include/QF/ver_check.h
+include/QF/vid.h
+include/QF/view.h
+include/QF/wad.h
+include/QF/zone.h
+lib/libQFcd.a
+lib/libQFcd.la
+lib/libQFcd.so
+lib/libQFcd.so.1
+lib/libQFcd.so.1.0
+lib/libQFconsole.a
+lib/libQFconsole.la
+lib/libQFconsole.so
+lib/libQFconsole.so.1
+lib/libQFconsole.so.1.0
+lib/libQFcsqc.a
+lib/libQFcsqc.la
+lib/libQFcsqc.so
+lib/libQFcsqc.so.1
+lib/libQFcsqc.so.1.0
+lib/libQFgamecode.a
+lib/libQFgamecode.la
+lib/libQFgamecode.so
+lib/libQFgamecode.so.1
+lib/libQFgamecode.so.1.0
+lib/libQFgamecode_builtins.a
+lib/libQFgamecode_builtins.la
+lib/libQFgamecode_builtins.so
+lib/libQFgamecode_builtins.so.1
+lib/libQFgamecode_builtins.so.1.0
+lib/libQFgib.a
+lib/libQFgib.la
+lib/libQFgib.so
+lib/libQFgib.so.1
+lib/libQFgib.so.1.0
+lib/libQFjs.a
+lib/libQFjs.la
+lib/libQFjs.so
+lib/libQFjs.so.1
+lib/libQFjs.so.1.0
+lib/libQFmodels.a
+lib/libQFmodels.la
+lib/libQFmodels.so
+lib/libQFmodels.so.1
+lib/libQFmodels.so.1.0
+lib/libQFmodels_gl.a
+lib/libQFmodels_gl.la
+lib/libQFmodels_gl.so
+lib/libQFmodels_gl.so.1
+lib/libQFmodels_gl.so.1.0
+lib/libQFmodels_sw.a
+lib/libQFmodels_sw.la
+lib/libQFmodels_sw.so
+lib/libQFmodels_sw.so.1
+lib/libQFmodels_sw.so.1.0
+lib/libQFrenderer_gl.a
+lib/libQFrenderer_gl.la
+lib/libQFrenderer_gl.so
+lib/libQFrenderer_gl.so.1
+lib/libQFrenderer_gl.so.1.0
+lib/libQFrenderer_sw32.a
+lib/libQFrenderer_sw32.la
+lib/libQFrenderer_sw32.so
+lib/libQFrenderer_sw32.so.1
+lib/libQFrenderer_sw32.so.1.0
+lib/libQFsound.a
+lib/libQFsound.la
+lib/libQFsound.so
+lib/libQFsound.so.1
+lib/libQFsound.so.1.0
+lib/libQFutil.a
+lib/libQFutil.la
+lib/libQFutil.so
+lib/libQFutil.so.1
+lib/libQFutil.so.1.0
+lib/quakeforge/cd_sdl.a
+lib/quakeforge/cd_sdl.la
+lib/quakeforge/cd_sdl.so
+lib/quakeforge/console_client.a
+lib/quakeforge/console_client.la
+lib/quakeforge/console_client.so
+lib/quakeforge/console_server.a
+lib/quakeforge/console_server.la
+lib/quakeforge/console_server.so
+lib/quakeforge/snd_output_disk.a
+lib/quakeforge/snd_output_disk.la
+lib/quakeforge/snd_output_disk.so
+lib/quakeforge/snd_output_oss.a
+lib/quakeforge/snd_output_oss.la
+lib/quakeforge/snd_output_oss.so
+lib/quakeforge/snd_output_sdl.a
+lib/quakeforge/snd_output_sdl.la
+lib/quakeforge/snd_output_sdl.so
+lib/quakeforge/snd_output_sun.a
+lib/quakeforge/snd_output_sun.la
+lib/quakeforge/snd_output_sun.so
+lib/quakeforge/snd_render_default.a
+lib/quakeforge/snd_render_default.la
+lib/quakeforge/snd_render_default.so
+lib/ruamoko/libcsqc.a
+lib/ruamoko/libgui.a
+lib/ruamoko/libr.a
+man/man1/pak.1
+man/man1/qfcc.1
+man/man1/qflight.1
+man/man1/qfvis.1
+share/games/quakeforge/QF/menu.dat.gz
+@dirrm share/games/quakeforge/QF
+@dirrm share/games/quakeforge
+@dirrm lib/ruamoko
+@dirrm lib/quakeforge
+@dirrm include/QF/ruamoko
+@dirrm include/QF/plugin
+@dirrm include/QF/GL
+@dirrm include/QF
diff --git a/games/quakeforge/distinfo b/games/quakeforge/distinfo
new file mode 100644
index 00000000000..9a5adb8188d
--- /dev/null
+++ b/games/quakeforge/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/04/17 03:04:03 snj Exp $
+
+SHA1 (quakeforge-0.5.4.tar.gz) = 9ba39f486f4faee5e7885631ffa8c5f9c512137d
+Size (quakeforge-0.5.4.tar.gz) = 2391110 bytes
+SHA1 (patch-aa) = d54d4784c5832a00382946d78929cf618696b898
+SHA1 (patch-ab) = 0f6dd69d54e634834ed5144053199a01cc1cc0fc
diff --git a/games/quakeforge/patches/patch-aa b/games/quakeforge/patches/patch-aa
new file mode 100644
index 00000000000..b5537c8d53c
--- /dev/null
+++ b/games/quakeforge/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/04/17 03:04:03 snj Exp $
+
+--- libs/util/plugin.c.orig 2003-12-27 23:56:05.000000000 -0800
++++ libs/util/plugin.c 2003-12-27 23:59:08.000000000 -0800
+@@ -121,7 +121,7 @@
+ {
+ void *dlhand;
+ #ifndef _WIN32
+-# ifdef __OpenBSD__
++# if defined(__OpenBSD__) || defined(__NetBSD__)
+ int flags = RTLD_LAZY;
+ # else
+ int flags = RTLD_NOW;
diff --git a/games/quakeforge/patches/patch-ab b/games/quakeforge/patches/patch-ab
new file mode 100644
index 00000000000..9bdf8f278a5
--- /dev/null
+++ b/games/quakeforge/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/04/17 03:04:03 snj Exp $
+
+--- libs/audio/targets/Makefile.in.orig 2003-12-28 00:08:57.000000000 -0800
++++ libs/audio/targets/Makefile.in 2003-12-28 00:09:28.000000000 -0800
+@@ -353,7 +353,7 @@
+ snd_output_alsa0_9_la_SOURCES = snd_alsa_0_9.c
+
+ snd_output_oss_la_LDFLAGS = $(plugin_ldflags)
+-snd_output_oss_la_LDADD = $(OSS_LIBS)
++snd_output_oss_la_LDADD = $(OSS_LIBS) $(LIBOSSAUDIO)
+ snd_output_oss_la_CFLAGS = $(OSS_CFLAGS)
+ snd_output_oss_la_SOURCES = snd_oss.c
+