diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-05-29 01:03:36 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-05-29 01:03:36 +0000 |
commit | 0a64ceed1eebab715dd45d7e1e86245d62f878eb (patch) | |
tree | f566233f1f6be4d53d36df18e21183c488b38e43 /games | |
parent | 643be8106d3fa787527dac33f677e5d0f56eb3e4 (diff) | |
download | pkgsrc-0a64ceed1eebab715dd45d7e1e86245d62f878eb.tar.gz |
Initial import of d2x-0.2.5 from pkgsrc-wip, packaged by Peter Bex.
Descent 2 for DOS, Windows, and Unix (Linux, Solaris, Mac OS X, etc).
Supported features include: Graphics, Sound, OpenGL, Joystick, Mouse,
CD audio, Networking.
Unsupported features: Serial.
A few of the new features in 0.2.0: Movies, Bigendian support,
Shareware data file support, and Descent 1 data file support.
Diffstat (limited to 'games')
-rw-r--r-- | games/d2x/DESCR | 9 | ||||
-rw-r--r-- | games/d2x/MESSAGE | 14 | ||||
-rw-r--r-- | games/d2x/Makefile | 32 | ||||
-rw-r--r-- | games/d2x/PLIST | 2 | ||||
-rw-r--r-- | games/d2x/distinfo | 5 | ||||
-rw-r--r-- | games/d2x/patches/patch-aa | 14 |
6 files changed, 76 insertions, 0 deletions
diff --git a/games/d2x/DESCR b/games/d2x/DESCR new file mode 100644 index 00000000000..68ddc8cc9ff --- /dev/null +++ b/games/d2x/DESCR @@ -0,0 +1,9 @@ +Descent 2 for DOS, Windows, and Unix (Linux, Solaris, Mac OS X, etc). + +Supported features include: Graphics, Sound, OpenGL, Joystick, Mouse, +CD audio, Networking. + +Unsupported features: Serial. + +A few of the new features in 0.2.0: Movies, Bigendian support, +Shareware data file support, and Descent 1 data file support. diff --git a/games/d2x/MESSAGE b/games/d2x/MESSAGE new file mode 100644 index 00000000000..c5ff223cafe --- /dev/null +++ b/games/d2x/MESSAGE @@ -0,0 +1,14 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2004/05/29 01:03:36 xtraeme Exp $ + +Place the datafiles to your Descent version in ${D2X_DATA} +or in the .d2x directory in your home directory. + +For Descent II, these datafiles can be extracted from the descent2.sow +file in the d2data directory in the root of your CD. This can be done with +any ARJ tool, for example archivers/[un]arj. + +If you also want movies, also copy the *.mvl files from that same +directory. + +=========================================================================== diff --git a/games/d2x/Makefile b/games/d2x/Makefile new file mode 100644 index 00000000000..68dbc8152ca --- /dev/null +++ b/games/d2x/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/05/29 01:03:37 xtraeme Exp $ +# + +DISTNAME= d2x-0.2.5 +CATEGORIES= games x11 +MASTER_SITES= http://icculus.org/d2x/src/ + +MAINTAINER= airhead@users.sourceforge.net +HOMEPAGE= http://icculus.org/d2x/ +COMMENT= Descent II port + +HAS_CONFIGURE= yes +USE_GNU_TOOLS+= make +USE_BUILDLINK3= yes +USE_X11= yes + +D2X_DATA= ${PREFIX}/share/games/${PKGBASE} +MAKE_DIRS= ${D2X_DATA} +MESSAGE_SUBST+= D2X_DATA=${D2X_DATA} + +# +# Network disabled for now, since only IPX is supported which NetBSD doesn't +# support +# +CONFIGURE_ARGS+= --disable-network +CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --with-sharepath=${D2X_DATA} + +.include "../../devel/SDL/buildlink3.mk" +.include "../../graphics/SDL_image/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/d2x/PLIST b/games/d2x/PLIST new file mode 100644 index 00000000000..dab241ded72 --- /dev/null +++ b/games/d2x/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/29 01:03:37 xtraeme Exp $ +bin/d2x-sdl diff --git a/games/d2x/distinfo b/games/d2x/distinfo new file mode 100644 index 00000000000..dc88e59da13 --- /dev/null +++ b/games/d2x/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/05/29 01:03:37 xtraeme Exp $ + +SHA1 (d2x-0.2.5.tar.gz) = b68c74fdc1f31a5ae32f6b27d7d3658e7e0dbdca +Size (d2x-0.2.5.tar.gz) = 2015249 bytes +SHA1 (patch-aa) = c7b5790409851bea1637d0f2fc1a8d86924c4528 diff --git a/games/d2x/patches/patch-aa b/games/d2x/patches/patch-aa new file mode 100644 index 00000000000..225ffdfef33 --- /dev/null +++ b/games/d2x/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/05/29 01:03:37 xtraeme Exp $ + +--- configure.orig 2003-06-07 00:19:10.000000000 +0200 ++++ configure 2003-11-04 19:12:24.000000000 +0100 +@@ -5183,6 +5183,9 @@ + esac + + case $host_os in ++ netbsd*) ++ # No, relying on __unix__ is not portable. Bad Practice(TM) detected. ++ CFLAGS="-D__unix__";; + cygwin) + { echo "$as_me:$LINENO: WARNING: Cygwin found, setting -mno-cygwin" >&5 + echo "$as_me: WARNING: Cygwin found, setting -mno-cygwin" >&2;} |