mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Add xrick 010808, a clone of Rick Dangerous.
PR: 37129 Submitted by: David Siebörger <drs@rucus.ru.ac.za>
This commit is contained in:
parent
e54a33eb57
commit
15ffe0622d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61797
@ -394,6 +394,7 @@
|
||||
SUBDIR += xqf
|
||||
SUBDIR += xquarto
|
||||
SUBDIR += xracer
|
||||
SUBDIR += xrick
|
||||
SUBDIR += xripple
|
||||
SUBDIR += xrisk
|
||||
SUBDIR += xroach
|
||||
|
30
games/xrick/Makefile
Normal file
30
games/xrick/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# New ports collection makefile for: xrick
|
||||
# Date created: 15 March 2002
|
||||
# Whom: David Siebörger <drs@rucus.ru.ac.za>
|
||||
#
|
||||
# $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 <bsd.port.mk>
|
1
games/xrick/distinfo
Normal file
1
games/xrick/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (xrick-010808.tgz) = 0a25621afe66b5ef5733cea75f410d40
|
40
games/xrick/files/patch-config
Normal file
40
games/xrick/files/patch-config
Normal file
@ -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*)
|
1
games/xrick/pkg-comment
Normal file
1
games/xrick/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A clone of Rick Dangerous
|
9
games/xrick/pkg-descr
Normal file
9
games/xrick/pkg-descr
Normal file
@ -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/
|
1
games/xrick/pkg-plist
Normal file
1
games/xrick/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/xrick
|
Loading…
Reference in New Issue
Block a user