aboutsummaryrefslogtreecommitdiff
path: root/games/xrally
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-05-08 12:30:52 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-05-08 12:30:52 +0000
commit58032d5b452ff497881c4bd9e39096eea6881caa (patch)
tree81e208fcdd72ea5fdbb5160ec97d1597ed0b9367 /games/xrally
parentf43f7d39537669e76911639b34e62f1c41bc2377 (diff)
downloadports-58032d5b452ff497881c4bd9e39096eea6881caa.tar.gz
ports-58032d5b452ff497881c4bd9e39096eea6881caa.zip
Notes
Diffstat (limited to 'games/xrally')
-rw-r--r--games/xrally/Makefile31
-rw-r--r--games/xrally/distinfo2
-rw-r--r--games/xrally/files/patch-configure29
-rw-r--r--games/xrally/pkg-descr14
-rw-r--r--games/xrally/pkg-plist177
5 files changed, 253 insertions, 0 deletions
diff --git a/games/xrally/Makefile b/games/xrally/Makefile
new file mode 100644
index 000000000000..cee927665b0a
--- /dev/null
+++ b/games/xrally/Makefile
@@ -0,0 +1,31 @@
+#
+# New ports collection makefile for: xrally
+# Date created: 86 May 2005
+# Whom: Edwin Groothuis
+#
+# $FreeBSD$
+#
+
+PORTNAME= xrally
+PORTVERSION= 1.1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= xrally
+
+MAINTAINER= edwin@mavetju.org
+COMMENT= XRally is a Linux clone of the classic Rally X arcade game
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_GCC= 2.95
+HAS_CONFIGURE= yes
+USE_PTHREADS= yes
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_XLIB= yes
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+ CFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"
+MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+ CFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include" \
+ INCLUDES="-I${X11BASE}/include"
+
+.include <bsd.port.mk>
diff --git a/games/xrally/distinfo b/games/xrally/distinfo
new file mode 100644
index 000000000000..6b9b0df94fb5
--- /dev/null
+++ b/games/xrally/distinfo
@@ -0,0 +1,2 @@
+MD5 (xrally-1.1.tar.bz2) = ecb8027508a65a960c0b804ba1f8363c
+SIZE (xrally-1.1.tar.bz2) = 750547
diff --git a/games/xrally/files/patch-configure b/games/xrally/files/patch-configure
new file mode 100644
index 000000000000..fa1a66774591
--- /dev/null
+++ b/games/xrally/files/patch-configure
@@ -0,0 +1,29 @@
+--- configure.orig Sun May 8 21:23:28 2005
++++ configure Sun May 8 21:24:31 2005
+@@ -1108,14 +1108,14 @@
+ if test "$WITH_SOUND" = "yes"; then
+
+ echo "$ac_t""yes" 1>&6
+- echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
+-echo "configure:1113: checking for pthread_create in -lpthread" >&5
++ echo $ac_n "checking for pthread_create in ${PTHREAD_LIBS}... $ac_c" 1>&6
++echo "configure:1113: checking for pthread_create in ${PTHREAD_LIBS}" >&5
+ ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
+ if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lpthread $LIBS"
++LIBS="${PTHREAD_LIBS} $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1121 "configure"
+ #include "confdefs.h"
+@@ -1143,7 +1143,7 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- LIBS="$LIBS -lpthread"
++ LIBS="$LIBS ${PTHREAD_LIBS}"
+ else
+ echo "$ac_t""no" 1>&6
+
diff --git a/games/xrally/pkg-descr b/games/xrally/pkg-descr
new file mode 100644
index 000000000000..8b8cc5190202
--- /dev/null
+++ b/games/xrally/pkg-descr
@@ -0,0 +1,14 @@
+XRally is a Linux clone of the classic Rally X arcade game. For
+those who don't know, in Rally X you control a blue (good) car,
+that has to collect yellow flags around a maze-like map, while
+avoiding the red (bad) cars. In order to help himself, the blue car
+can use clouds of smoke through the maze. If a enemy touch any of
+these clouds, it stops for a while. The enemy cars can also crash
+one with the other, what gives you some extra time.
+
+XRally is written in C using only the basic Xlib and Xpm libraries.
+It's a project aimed mainly at newbie X11/Game programmers like me
+(but any experienced help is appreciated! :) )
+
+WWW: http://www.linuxgames.com/xrally/
+Author: Ismael Orenstein <perdig@linuxbr.com.br>
diff --git a/games/xrally/pkg-plist b/games/xrally/pkg-plist
new file mode 100644
index 000000000000..d41354abcfe5
--- /dev/null
+++ b/games/xrally/pkg-plist
@@ -0,0 +1,177 @@
+bin/xrally
+share/xrally/sounds/rally.mod
+share/xrally/sounds/default.mod
+share/xrally/maps/Test Level
+share/xrally/maps/Speedboat
+share/xrally/maps/Silver Level
+share/xrally/maps/Runner
+share/xrally/maps/Rox
+share/xrally/maps/Real Level
+share/xrally/maps/Leo Level
+share/xrally/maps/Easy Level
+share/xrally/maps/Classic Level
+share/xrally/images/xrally.xpm
+share/xrally/images/water/xrally_car.pov
+share/xrally/images/water/smoke.xpm
+share/xrally/images/water/road.xpm
+share/xrally/images/water/red_carUP.xpm
+share/xrally/images/water/red_carRIGHT.xpm
+share/xrally/images/water/red_carLEFT.xpm
+share/xrally/images/water/red_carDOWN.xpm
+share/xrally/images/water/pit.xpm
+share/xrally/images/water/out.xpm
+share/xrally/images/water/flag.xpm
+share/xrally/images/water/crash.xpm
+share/xrally/images/water/blue_carUP.xpm
+share/xrally/images/water/blue_carRIGHT.xpm
+share/xrally/images/water/blue_carLEFT.xpm
+share/xrally/images/water/blue_carDOWN.xpm
+share/xrally/images/water/block.xpm
+share/xrally/images/water/README
+share/xrally/images/test/xrally_car.pov
+share/xrally/images/test/test.sh
+share/xrally/images/test/smoke.pov
+share/xrally/images/test/road.xpm
+share/xrally/images/test/road.pov
+share/xrally/images/test/render.sh
+share/xrally/images/test/red_carUP.xpm
+share/xrally/images/test/red_carRIGHT.xpm
+share/xrally/images/test/red_carLEFT.xpm
+share/xrally/images/test/red_carDOWN.xpm
+share/xrally/images/test/out.xpm
+share/xrally/images/test/flag.xpm
+share/xrally/images/test/flag.pov
+share/xrally/images/test/blue_carUP.xpm
+share/xrally/images/test/blue_carRIGHT.xpm
+share/xrally/images/test/blue_carLEFT.xpm
+share/xrally/images/test/blue_carDOWN.xpm
+share/xrally/images/test/block8.xpm
+share/xrally/images/test/block7.xpm
+share/xrally/images/test/block6.xpm
+share/xrally/images/test/block5.xpm
+share/xrally/images/test/block4.xpm
+share/xrally/images/test/block3.xpm
+share/xrally/images/test/block2.xpm
+share/xrally/images/test/block.xpm
+share/xrally/images/test/block.pov
+share/xrally/images/rock/xrally_car.pov
+share/xrally/images/rock/test.sh
+share/xrally/images/rock/smoke.xpm
+share/xrally/images/rock/smoke.pov
+share/xrally/images/rock/road.xpm
+share/xrally/images/rock/road.pov
+share/xrally/images/rock/render.sh
+share/xrally/images/rock/red_carUP.xpm
+share/xrally/images/rock/red_carRIGHT.xpm
+share/xrally/images/rock/red_carLEFT.xpm
+share/xrally/images/rock/red_carDOWN.xpm
+share/xrally/images/rock/out.xpm
+share/xrally/images/rock/flag.xpm
+share/xrally/images/rock/flag.pov
+share/xrally/images/rock/crash.xpm
+share/xrally/images/rock/colors.inc
+share/xrally/images/rock/blue_carUP.xpm
+share/xrally/images/rock/blue_carRIGHT.xpm
+share/xrally/images/rock/blue_carLEFT.xpm
+share/xrally/images/rock/blue_carDOWN.xpm
+share/xrally/images/rock/block6.xpm
+share/xrally/images/rock/block5.xpm
+share/xrally/images/rock/block4.xpm
+share/xrally/images/rock/block3.xpm
+share/xrally/images/rock/block2.xpm
+share/xrally/images/rock/block.xpm
+share/xrally/images/rock/block.pov
+share/xrally/images/povaddict/xrally_car.pov
+share/xrally/images/povaddict/smoke.xpm
+share/xrally/images/povaddict/smoke.pov
+share/xrally/images/povaddict/road.xpm
+share/xrally/images/povaddict/road.pov
+share/xrally/images/povaddict/render.sh
+share/xrally/images/povaddict/red_carUP.xpm
+share/xrally/images/povaddict/red_carRIGHT.xpm
+share/xrally/images/povaddict/red_carLEFT.xpm
+share/xrally/images/povaddict/red_carDOWN.xpm
+share/xrally/images/povaddict/out.xpm
+share/xrally/images/povaddict/flag.xpm
+share/xrally/images/povaddict/flag.pov
+share/xrally/images/povaddict/crash.xpm
+share/xrally/images/povaddict/blue_carUP.xpm
+share/xrally/images/povaddict/blue_carRIGHT.xpm
+share/xrally/images/povaddict/blue_carLEFT.xpm
+share/xrally/images/povaddict/blue_carDOWN.xpm
+share/xrally/images/povaddict/block.xpm
+share/xrally/images/povaddict/block.pov
+share/xrally/images/mini-pov/xrally_car.pov
+share/xrally/images/mini-pov/test.sh
+share/xrally/images/mini-pov/smoke.xpm
+share/xrally/images/mini-pov/smoke.pov
+share/xrally/images/mini-pov/road.xpm
+share/xrally/images/mini-pov/road.pov
+share/xrally/images/mini-pov/render.sh
+share/xrally/images/mini-pov/red_carUP.xpm
+share/xrally/images/mini-pov/red_carRIGHT.xpm
+share/xrally/images/mini-pov/red_carLEFT.xpm
+share/xrally/images/mini-pov/red_carDOWN.xpm
+share/xrally/images/mini-pov/out.xpm
+share/xrally/images/mini-pov/flag.xpm
+share/xrally/images/mini-pov/flag.pov
+share/xrally/images/mini-pov/crash.xpm
+share/xrally/images/mini-pov/blue_carUP.xpm
+share/xrally/images/mini-pov/blue_carRIGHT.xpm
+share/xrally/images/mini-pov/blue_carLEFT.xpm
+share/xrally/images/mini-pov/blue_carDOWN.xpm
+share/xrally/images/mini-pov/block.xpm
+share/xrally/images/mini-pov/block.pov
+share/xrally/images/logocar2.xpm
+share/xrally/images/logocar.xpm
+share/xrally/images/logo.xpm
+share/xrally/images/default/smoke.xpm
+share/xrally/images/default/road4.xpm
+share/xrally/images/default/road3.xpm
+share/xrally/images/default/road2.xpm
+share/xrally/images/default/road.xpm
+share/xrally/images/default/red_carUP.xpm
+share/xrally/images/default/red_carRIGHT.xpm
+share/xrally/images/default/red_carLEFT.xpm
+share/xrally/images/default/red_carDOWN.xpm
+share/xrally/images/default/pit.xpm
+share/xrally/images/default/out.xpm
+share/xrally/images/default/out-4.1.xpm
+share/xrally/images/default/out-3.1.xpm
+share/xrally/images/default/flag.xpm
+share/xrally/images/default/crash.xpm
+share/xrally/images/default/blue_carUP.xpm
+share/xrally/images/default/blue_carRIGHT.xpm
+share/xrally/images/default/blue_carLEFT.xpm
+share/xrally/images/default/blue_carDOWN.xpm
+share/xrally/images/default/block4.xpm
+share/xrally/images/default/block3.xpm
+share/xrally/images/default/block2.xpm
+share/xrally/images/default/block.xpm
+share/xrally/images/classic/smoke.xpm
+share/xrally/images/classic/road.xpm
+share/xrally/images/classic/red_carUP.xpm
+share/xrally/images/classic/red_carRIGHT.xpm
+share/xrally/images/classic/red_carLEFT.xpm
+share/xrally/images/classic/red_carDOWN.xpm
+share/xrally/images/classic/out.xpm
+share/xrally/images/classic/flag.xpm
+share/xrally/images/classic/crash.xpm
+share/xrally/images/classic/blue_carUP.xpm
+share/xrally/images/classic/blue_carRIGHT.xpm
+share/xrally/images/classic/blue_carLEFT.xpm
+share/xrally/images/classic/blue_carDOWN.xpm
+share/xrally/images/classic/block.xpm
+share/xrally/hiscore
+@dirrm share/xrally/sounds
+@dirrm share/xrally/maps
+@dirrm share/xrally/images/water
+@dirrm share/xrally/images/test
+@dirrm share/xrally/images/rock
+@dirrm share/xrally/images/povaddict
+@dirrm share/xrally/images/mini-pov
+@dirrm share/xrally/images/default
+@dirrm share/xrally/images/classic
+@dirrm share/xrally/images
+@dirrm share/xrally
+