summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/rockdodger/Makefile38
-rw-r--r--games/rockdodger/distinfo1
-rw-r--r--games/rockdodger/pkg-comment1
-rw-r--r--games/rockdodger/pkg-descr6
-rw-r--r--games/rockdodger/pkg-plist45
6 files changed, 92 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index fc0afcc1537c..9f91cfce68ff 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -264,6 +264,7 @@
SUBDIR += race
SUBDIR += rfksay
SUBDIR += robocode
+ SUBDIR += rockdodger
SUBDIR += rocksndiamonds
SUBDIR += rollemup
SUBDIR += rt2-demo
diff --git a/games/rockdodger/Makefile b/games/rockdodger/Makefile
new file mode 100644
index 000000000000..c72888722622
--- /dev/null
+++ b/games/rockdodger/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: rockdodger
+# Date created: 02 Dec 2002
+# Whom: nbm
+#
+# $FreeBSD$
+#
+
+PORTNAME= rockdodger
+PORTVERSION= 0.6
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= spacerocks
+
+MAINTAINER= ports@freebsd.org
+
+LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
+ SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
+ SDL_image.10:${PORTSDIR}/graphics/sdl_image
+
+USE_REINPLACE= yes
+USE_GMAKE= yes
+
+GAMESDIR?= /var/games
+
+pre-patch:
+ @${REINPLACE_CMD} \
+ -e "s%sdl-config%sdl11-config%" \
+ -e "s%/usr/share/rockdodger/.highscore%${GAMESDIR}/rockdodger.highscore%" \
+ -e "s%/usr/share/rockdodger%${PREFIX}/share/rockdodger%" \
+ -e "s%/usr/games%${PREFIX}/bin%" \
+ -e "s%data/\*.{bmp,png,wav,mod}%data/*%" \
+ ${WRKSRC}/Makefile ${WRKSRC}/main.c
+ @cd ${WRKSRC} && ${REINPLACE_CMD} -e "s%#include <SDL/%#include <%" SFont.c SFont.h main.c sound.c sound.h
+
+pre-install:
+ @${MKDIR} ${GAMESDIR}
+
+.include <bsd.port.mk>
diff --git a/games/rockdodger/distinfo b/games/rockdodger/distinfo
new file mode 100644
index 000000000000..e2c6259218ae
--- /dev/null
+++ b/games/rockdodger/distinfo
@@ -0,0 +1 @@
+MD5 (rockdodger-0.6.tar.gz) = a82a564a6530e60e7f041f7d95c4cae8
diff --git a/games/rockdodger/pkg-comment b/games/rockdodger/pkg-comment
new file mode 100644
index 000000000000..2cf11f25b948
--- /dev/null
+++ b/games/rockdodger/pkg-comment
@@ -0,0 +1 @@
+Addictive rock-dodging greeblie-killing platform game
diff --git a/games/rockdodger/pkg-descr b/games/rockdodger/pkg-descr
new file mode 100644
index 000000000000..afb5ffabcc78
--- /dev/null
+++ b/games/rockdodger/pkg-descr
@@ -0,0 +1,6 @@
+Addictive rock-dodging greeblie-killing platform game
+
+Dodge the rocks for as long as possible until you die. Kill greeblies to
+make the universe safe for non-greeblie life once again.
+
+WWW: http://spacerocks.sourceforge.net/
diff --git a/games/rockdodger/pkg-plist b/games/rockdodger/pkg-plist
new file mode 100644
index 000000000000..8768edbf1cef
--- /dev/null
+++ b/games/rockdodger/pkg-plist
@@ -0,0 +1,45 @@
+bin/rockdodger
+share/rockdodger/data/20P_Betadance.png
+share/rockdodger/data/4est_fulla3s.mod
+share/rockdodger/data/boom.wav
+share/rockdodger/data/booom.wav
+share/rockdodger/data/bzboom.wav
+share/rockdodger/data/cboom.wav
+share/rockdodger/data/deadrock0.bmp
+share/rockdodger/data/deadrock1.bmp
+share/rockdodger/data/deadrock2.bmp
+share/rockdodger/data/deadrock3.bmp
+share/rockdodger/data/deadrock4.bmp
+share/rockdodger/data/deadrock5.bmp
+share/rockdodger/data/dodgers.png
+share/rockdodger/data/game.png
+share/rockdodger/data/gameover.png
+share/rockdodger/data/gameover2.png
+share/rockdodger/data/gauge.png
+share/rockdodger/data/getzznew.mod
+share/rockdodger/data/greeblie0.bmp
+share/rockdodger/data/laser.png
+share/rockdodger/data/laser0.png
+share/rockdodger/data/laser1.png
+share/rockdodger/data/laserpowerup.png
+share/rockdodger/data/magic.mod
+share/rockdodger/data/over.png
+share/rockdodger/data/paused.png
+share/rockdodger/data/rock.png
+share/rockdodger/data/rock0.bmp
+share/rockdodger/data/rock1.bmp
+share/rockdodger/data/rock2.bmp
+share/rockdodger/data/rock3.bmp
+share/rockdodger/data/rock4.bmp
+share/rockdodger/data/rock5.bmp
+share/rockdodger/data/shield.png
+share/rockdodger/data/shield0.png
+share/rockdodger/data/shield1.png
+share/rockdodger/data/shieldpowerup.png
+share/rockdodger/data/ship.bmp
+share/rockdodger/data/ship2.bmp
+share/rockdodger/data/ship_small.bmp
+share/rockdodger/data/speedup.wav
+share/rockdodger/data/url.png
+@dirrm share/rockdodger/data
+@dirrm share/rockdodger