From 15ffe0622d4a863686bc7332779238e09aa7df0b Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Sun, 23 Jun 2002 08:38:08 +0000 Subject: Add xrick 010808, a clone of Rick Dangerous. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: 37129 Submitted by: David Siebörger --- games/Makefile | 1 + games/xrick/Makefile | 30 ++++++++++++++++++++++++++++++ games/xrick/distinfo | 1 + games/xrick/files/patch-config | 40 ++++++++++++++++++++++++++++++++++++++++ games/xrick/pkg-comment | 1 + games/xrick/pkg-descr | 9 +++++++++ games/xrick/pkg-plist | 1 + 7 files changed, 83 insertions(+) create mode 100644 games/xrick/Makefile create mode 100644 games/xrick/distinfo create mode 100644 games/xrick/files/patch-config create mode 100644 games/xrick/pkg-comment create mode 100644 games/xrick/pkg-descr create mode 100644 games/xrick/pkg-plist (limited to 'games') diff --git a/games/Makefile b/games/Makefile index fea51a4dc2cd..473203dda640 100644 --- a/games/Makefile +++ b/games/Makefile @@ -394,6 +394,7 @@ SUBDIR += xqf SUBDIR += xquarto SUBDIR += xracer + SUBDIR += xrick SUBDIR += xripple SUBDIR += xrisk SUBDIR += xroach diff --git a/games/xrick/Makefile b/games/xrick/Makefile new file mode 100644 index 000000000000..3469416dd483 --- /dev/null +++ b/games/xrick/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: xrick +# Date created: 15 March 2002 +# Whom: David Siebörger +# +# $FreeBSD$ +# + +PORTNAME= xrick +PORTVERSION= 010808 +CATEGORIES= games +MASTER_SITES= http://www.bigorno.net/xrick/ +EXTRACT_SUFX= .tgz + +MAINTAINER= drs@rucus.ru.ac.za + +LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 + +WRKSRC= ${WRKDIR}/xrick +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= config +USE_GMAKE= yes + +MAN6= xrick.6 +MANCOMPRESSED= yes + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xrick ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/xrick.6.gz ${PREFIX}/man/man6/xrick.6.gz + +.include diff --git a/games/xrick/distinfo b/games/xrick/distinfo new file mode 100644 index 000000000000..9bea3b290128 --- /dev/null +++ b/games/xrick/distinfo @@ -0,0 +1 @@ +MD5 (xrick-010808.tgz) = 0a25621afe66b5ef5733cea75f410d40 diff --git a/games/xrick/files/patch-config b/games/xrick/files/patch-config new file mode 100644 index 000000000000..280ff41c0b36 --- /dev/null +++ b/games/xrick/files/patch-config @@ -0,0 +1,40 @@ +--- config.orig Mon Apr 15 22:08:26 2002 ++++ config Mon Apr 15 22:33:35 2002 +@@ -46,31 +46,20 @@ + CFLAGS="$CFLAGS -DVERSION=\\\"$VERSION\\\"" + + # SDL +-SDLVER=`sdl-config --version 2>&1` ++SDLVER=`sdl11-config --version 2>&1` + if [ $? -ne 0 ]; then + echo "Error: SDL not found" + echo "Abort" + exit 1 + else + echo "SDL version $SDLVER detected" +- CFLAGS="$CFLAGS `sdl-config --cflags`" +- LDFLAGS="$LDFLAGS `sdl-config --libs`" ++ CFLAGS="$CFLAGS `sdl11-config --cflags`" ++ LDFLAGS="$LDFLAGS `sdl11-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` ++SDL_MAJ=`echo $SDLVER | awk -F '.' '{print $1}'` ++SDL_MIN=`echo $SDLVER | awk -F '.' '{print $2}'` ++SDL_MIC=`echo $SDLVER | awk -F '.' '{print $3}'` + + case "$TARGET" in + cygwin* | CYGWIN*) diff --git a/games/xrick/pkg-comment b/games/xrick/pkg-comment new file mode 100644 index 000000000000..7f089d8901eb --- /dev/null +++ b/games/xrick/pkg-comment @@ -0,0 +1 @@ +A clone of Rick Dangerous diff --git a/games/xrick/pkg-descr b/games/xrick/pkg-descr new file mode 100644 index 000000000000..23d2fa0e2004 --- /dev/null +++ b/games/xrick/pkg-descr @@ -0,0 +1,9 @@ +Way before Lara Croft, back in the 1980's and early 1990's, Rick +Dangerous was the Indiana Jones of computer games, running away from +rolling rocks, avoiding traps, from South America to a futuristic +missile base via Egypt and the Schwarzendumpf castle. + +xrick is a clone of Rick Dangerous. Written entirely in C, it relies on +the Simple DirectMedia Layer library. + +WWW: http://www.bigorno.net/xrick/ diff --git a/games/xrick/pkg-plist b/games/xrick/pkg-plist new file mode 100644 index 000000000000..707a71a5fbd3 --- /dev/null +++ b/games/xrick/pkg-plist @@ -0,0 +1 @@ +bin/xrick -- cgit v1.2.3