summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-05-12 00:02:15 +0000
committerwiz <wiz@pkgsrc.org>2002-05-12 00:02:15 +0000
commitdf87556d4c5b78a54f877bad6734cb290594ce6a (patch)
treeac2d71d635ad7d080529e23e63d05467f2e6fae8 /games
parent4f8af998fdf0f12af96d0882be1b64ce197d6185 (diff)
downloadpkgsrc-df87556d4c5b78a54f877bad6734cb290594ce6a.tar.gz
Initial import of xrick-010801.
A Rick Dangerous (TM) clone, a famous platform game many moons ago.
Diffstat (limited to 'games')
-rw-r--r--games/xrick/DESCR10
-rw-r--r--games/xrick/Makefile35
-rw-r--r--games/xrick/PLIST3
-rw-r--r--games/xrick/distinfo4
-rw-r--r--games/xrick/patches/patch-aa42
5 files changed, 94 insertions, 0 deletions
diff --git a/games/xrick/DESCR b/games/xrick/DESCR
new file mode 100644
index 00000000000..6702efd0bf6
--- /dev/null
+++ b/games/xrick/DESCR
@@ -0,0 +1,10 @@
+A Rick Dangerous (TM) clone, a famous platform game many moons ago.
+Legal status is a bit shrouded. From the enclosed README:
+
+** IMPORTANT NOTE **********************************************************
+
+I have written the xrick code. However, graphics and maps and sounds
+are by the authors of the original Rick Dangerous game, and "Rick
+Dangerous" remains a trademark of its owner(s) -- maybe Core Design
+(who wrote the game) or FireBird (who published it). I have not been
+successful at contacting Core Design.
diff --git a/games/xrick/Makefile b/games/xrick/Makefile
new file mode 100644
index 00000000000..50c61c4916a
--- /dev/null
+++ b/games/xrick/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/12 00:02:15 wiz Exp $
+#
+
+DISTNAME= xrick-010808
+WRKSRC= ${WRKDIR}/xrick
+CATEGORIES= games
+MASTER_SITES= http://www.bigorno.net/xrick/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pino@dohd.org
+HOMEPAGE= http://www.bigorno.net/xrick/
+COMMENT= Rick Dangerous clone for X
+
+RESTRICTED= "Copyright of graphics, images, maps, and sounds is questionable."
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_FTP= ${RESTRICTED}
+
+USE_GMAKE= YES
+USE_BUILDLINK_ONLY= YES
+HAS_CONFIGURE= YES
+
+CONFIGURE_SCRIPT= ./config
+
+post-extract:
+ cd ${WRKSRC} && ${GUNZIP_CMD} xrick.6.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xrick ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xrick.6 ${PREFIX}/man/man6
+
+.include "../../devel/SDL/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/xrick/PLIST b/games/xrick/PLIST
new file mode 100644
index 00000000000..620925904d4
--- /dev/null
+++ b/games/xrick/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/12 00:02:15 wiz Exp $
+bin/xrick
+man/man6/xrick.6
diff --git a/games/xrick/distinfo b/games/xrick/distinfo
new file mode 100644
index 00000000000..d92c3e624de
--- /dev/null
+++ b/games/xrick/distinfo
@@ -0,0 +1,4 @@
+
+SHA1 (xrick-010808.tgz) = f6b344433a11eb7ffb85412ffc66e79cc8b66e75
+Size (xrick-010808.tgz) = 244991 bytes
+SHA1 (patch-aa) = 99a518e9e190e581a9a445b11fc4e54d5ed9e26b
diff --git a/games/xrick/patches/patch-aa b/games/xrick/patches/patch-aa
new file mode 100644
index 00000000000..3fe7d9bc225
--- /dev/null
+++ b/games/xrick/patches/patch-aa
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/12 00:02:16 wiz Exp $
+
+--- config.orig Mon Aug 6 21:06:13 2001
++++ config
+@@ -57,20 +57,23 @@
+ LDFLAGS="$LDFLAGS `sdl-config --libs`"
+ fi
+
+-POSDOT=`expr index $SDLVER '.'`
+-POSDOTp=`expr $POSDOT - 1`
+-POSDOTn=`expr $POSDOT + 1`
+-SDL_MAJ=`expr substr $SDLVER 1 $POSDOTp`
+-LEN=`expr length $SDLVER`
+-LEN=`expr $LEN - $POSDOT`
+-SDLVER=`expr substr $SDLVER $POSDOTn $LEN`
+-POSDOT=`expr index $SDLVER '.'`
+-POSDOTp=`expr $POSDOT - 1`
+-POSDOTn=`expr $POSDOT + 1`
+-SDL_MIN=`expr substr $SDLVER 1 $POSDOTp`
+-LEN=`expr length $SDLVER`
+-LEN=`expr $LEN - $POSDOT`
+-SDL_MIC=`expr substr $SDLVER $POSDOTn $LEN`
++#POSDOT=`expr index $SDLVER '.'`
++#POSDOTp=`expr $POSDOT - 1`
++#POSDOTn=`expr $POSDOT + 1`
++#SDL_MAJ=`expr substr $SDLVER 1 $POSDOTp`
++SDL_MAJ=`echo $SDLVER | sed -e 's/\([0-9]*\).*/\1/'`
++#LEN=`expr length $SDLVER`
++#LEN=`expr $LEN - $POSDOT`
++#SDLVER=`expr substr $SDLVER $POSDOTn $LEN`
++#POSDOT=`expr index $SDLVER '.'`
++#POSDOTp=`expr $POSDOT - 1`
++#POSDOTn=`expr $POSDOT + 1`
++#SDL_MIN=`expr substr $SDLVER 1 $POSDOTp`
++SDL_MIN=`echo $SDLVER | sed -e 's/[0-9]\.\([0-9]*\).*/\1/'`
++#LEN=`expr length $SDLVER`
++#LEN=`expr $LEN - $POSDOT`
++#SDL_MIC=`expr substr $SDLVER $POSDOTn $LEN`
++SDL_MIC=`echo $SDLVER | sed -e 's/[0-9]\.[0-9]\.\([0-9]*\).*/\1/'`
+
+ case "$TARGET" in
+ cygwin* | CYGWIN*)