pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/d2x Initial import of d2x-0.2.5 from pkgsrc-wip,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/35dd6412e082
branches:  trunk
changeset: 475879:35dd6412e082
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Sat May 29 01:03:36 2004 +0000

description:
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:

 games/d2x/DESCR            |   9 +++++++++
 games/d2x/MESSAGE          |  14 ++++++++++++++
 games/d2x/Makefile         |  32 ++++++++++++++++++++++++++++++++
 games/d2x/PLIST            |   2 ++
 games/d2x/distinfo         |   5 +++++
 games/d2x/patches/patch-aa |  14 ++++++++++++++
 6 files changed, 76 insertions(+), 0 deletions(-)

diffs (100 lines):

diff -r 23e9b9f669cf -r 35dd6412e082 games/d2x/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/d2x/DESCR   Sat May 29 01:03:36 2004 +0000
@@ -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 -r 23e9b9f669cf -r 35dd6412e082 games/d2x/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/d2x/MESSAGE Sat May 29 01:03:36 2004 +0000
@@ -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 -r 23e9b9f669cf -r 35dd6412e082 games/d2x/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/d2x/Makefile        Sat May 29 01:03:36 2004 +0000
@@ -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@localhost
+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 -r 23e9b9f669cf -r 35dd6412e082 games/d2x/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/d2x/PLIST   Sat May 29 01:03:36 2004 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/29 01:03:37 xtraeme Exp $
+bin/d2x-sdl
diff -r 23e9b9f669cf -r 35dd6412e082 games/d2x/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/d2x/distinfo        Sat May 29 01:03:36 2004 +0000
@@ -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 -r 23e9b9f669cf -r 35dd6412e082 games/d2x/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/d2x/patches/patch-aa        Sat May 29 01:03:36 2004 +0000
@@ -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;}



Home | Main Index | Thread Index | Old Index