aboutsummaryrefslogtreecommitdiffstats
path: root/games/bloboats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-09-17 06:25:26 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-09-17 06:25:26 +0800
commit845a9989467483357b646a46a0fedbe5cb91621b (patch)
tree7d0b68b50080772a484b5f3d957602d25d978048 /games/bloboats
parent31f60df9d62c0549ccbd05e4bd807458d0bbf7a8 (diff)
downloadfreebsd-ports-gnome-845a9989467483357b646a46a0fedbe5cb91621b.tar.gz
freebsd-ports-gnome-845a9989467483357b646a46a0fedbe5cb91621b.tar.zst
freebsd-ports-gnome-845a9989467483357b646a46a0fedbe5cb91621b.zip
Add bloboats, a boat racing game in the spirit of Elasto Mania or X-Moto
Diffstat (limited to 'games/bloboats')
-rw-r--r--games/bloboats/Makefile32
-rw-r--r--games/bloboats/distinfo3
-rw-r--r--games/bloboats/files/patch-Makefile67
-rw-r--r--games/bloboats/pkg-descr4
-rw-r--r--games/bloboats/pkg-plist125
5 files changed, 231 insertions, 0 deletions
diff --git a/games/bloboats/Makefile b/games/bloboats/Makefile
new file mode 100644
index 000000000000..aa15d9c2257d
--- /dev/null
+++ b/games/bloboats/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: bloboats
+# Date created: 16 Sep 2006
+# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bloboats
+PORTVERSION= 1.0.1
+CATEGORIES= games
+MASTER_SITES= http://mirror.kapsi.fi/bloboats.dy.fi/ \
+ http://koti.mbnet.fi/makegho/c/blobtrox/ \
+ http://shoebox.ath.cx/~make/ \
+ http://critical.ch/distfiles/ \
+ http://energy.critical.ch/distfiles/
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= A boat racing game in the spirit of Elasto Mania or X-Moto
+
+USE_GMAKE= yes
+USE_SDL= mixer image net sdl
+USE_GL= yes
+
+MAKE_ENV+= CXX="${CXX}" DATADIR="${DATADIR}"
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not compile on 4.x
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/bloboats/distinfo b/games/bloboats/distinfo
new file mode 100644
index 000000000000..45748e1591d8
--- /dev/null
+++ b/games/bloboats/distinfo
@@ -0,0 +1,3 @@
+MD5 (bloboats-1.0.1.tar.gz) = 09d872cada575816b1047b2dfe4de40d
+SHA256 (bloboats-1.0.1.tar.gz) = bbaf9b4774e42c1ec1b2473fca7e957c0b2b61448be4ba5e5023863e14d92242
+SIZE (bloboats-1.0.1.tar.gz) = 7603140
diff --git a/games/bloboats/files/patch-Makefile b/games/bloboats/files/patch-Makefile
new file mode 100644
index 000000000000..cc6d8adae4b1
--- /dev/null
+++ b/games/bloboats/files/patch-Makefile
@@ -0,0 +1,67 @@
+--- Makefile.orig Thu Aug 3 01:05:54 2006
++++ Makefile Sun Sep 17 00:19:51 2006
+@@ -7,16 +7,16 @@
+ ### Installation directory (Installation prefix)
+ # If you don't have root privileges, set this to /home/tentacleman/bloboats/
+ # for example, otherwise /. Don't use ~ or other environment variables!
+-PREFIX = /
++#PREFIX = /
+
+ ### Or if you don't want to run make install at all, uncomments the next line
+ # and comment the line below. Compile and run with './bin/bloboats'
+ #DATADIR = data
+
+-DATADIR = $(PREFIX)/usr/games/bloboats/data
++#DATADIR = $(PREFIX)/usr/games/bloboats/data
+
+ ### If you do make install, you may perhaps want to set these
+-BINARYDIR = $(PREFIX)/usr/bin
++BINARYDIR = $(PREFIX)/bin
+ CONFIGDIR = $(PREFIX)/etc
+
+ PRIVATEDIR = ~/.bloboats
+@@ -41,7 +41,7 @@
+
+
+ #This should probably be DEFAULT
+-TARGET = DEFAULT
++TARGET = FREEBSD
+
+
+ ### Only some random settings below
+@@ -60,7 +60,7 @@
+ CXX_MACOSX = g++
+ CXX_CROSS = i586-mingw32msvc-g++
+
+-CXX = $(CXX_$(TARGET))
++CXX ?= $(CXX_$(TARGET))
+
+
+ ### SDL-Config in your system
+@@ -74,7 +74,7 @@
+
+ ### Libs
+ LIBS_DEFAULT = `$(SDLCONFIG) --libs` -lSDL_image -lSDL_mixer -lSDL_net -lGL -lGLU
+-LIBS_FREEBSD = `$(SDLCONFIG) --libs` -lSDL_image -lSDL_mixer -lSDL_net -L/usr/X11R6/lib -lGL -lGLU
++LIBS_FREEBSD = `$(SDLCONFIG) --libs` -lSDL_image -lSDL_mixer -lSDL_net -L$(X11BASE)/lib -lGL -lGLU
+ LIBS_NETBSD = `$(SDLCONFIG) --libs` -lSDL_image -lSDL_mixer -lSDL_net -lGL -lGLU -L/usr/pkg/lib
+ LIBS_MACOSX = `$(SDLCONFIG) --libs` -lSDL_image -lSDL_mixer -lSDL_net -framework OpenGL
+ LIBS_CROSS = `$(SDLCONFIG) --libs` -lSDL_image -lSDL_mixer -lSDL_net -lopengl32 -lglu32
+@@ -92,7 +92,7 @@
+
+ ### CXX-Flags
+ CXXFLAGS_DEFAULT = -g `$(SDLCONFIG) --cflags` -o bin/$(BINARY) -O2
+-CXXFLAGS_FREEBSD = -g `$(SDLCONFIG) --cflags` -I/usr/X11R6/include -o bin/$(BINARY) -O2
++CXXFLAGS_FREEBSD = $(CFLAGS) `$(SDLCONFIG) --cflags` -I/usr/X11R6/include -o bin/$(BINARY)
+ CXXFLAGS_NETBSD = -g `$(SDLCONFIG) --cflags` -O2 -I/usr/pkg/include
+ CXXFLAGS_MACOSX = -g `$(SDLCONFIG) --cflags` -o bin/$(BINARY) -O2
+ CXXFLAGS_CROSS = -g `$(SDLCONFIG) --cflags` -o bin/$(BINARY) -O2
+@@ -127,7 +127,7 @@
+ BINARY_CROSS_ = blobinv.exe
+ BINARY_ = $(BINARY_$(TARGET)_)
+ CXXFLAGS_DEFAULT_ = -g `$(SDLCONFIG) --cflags` -o bin/$(BINARY_) -O2
+-CXXFLAGS_FREEBSD_ = -g `$(SDLCONFIG) --cflags` -I/usr/X11R6/include -o bin/$(BINARY_) -O2
++CXXFLAGS_FREEBSD_ = `$(SDLCONFIG) --cflags` -I$(X11BASE)/include -o bin/$(BINARY_) -O2
+ CXXFLAGS_NETBSD = -g `$(SDLCONFIG) --cflags` -O2 -I/usr/pkg/include
+ CXXFLAGS_MACOSX_ = -g `$(SDLCONFIG) --cflags` -o bin/$(BINARY_) -O2
+ CXXFLAGS_CROSS_ = -g `$(SDLCONFIG) --cflags` -o bin/$(BINARY_) -O2
diff --git a/games/bloboats/pkg-descr b/games/bloboats/pkg-descr
new file mode 100644
index 000000000000..a9dab57d36a0
--- /dev/null
+++ b/games/bloboats/pkg-descr
@@ -0,0 +1,4 @@
+Bloboats is a boat racing game in the spirit of Elasto Mania or X-Moto. It
+introduces a handful of elements from Super Mario Bros-like games.
+
+WWW: http://bloboats.dy.fi
diff --git a/games/bloboats/pkg-plist b/games/bloboats/pkg-plist
new file mode 100644
index 000000000000..ae25331557df
--- /dev/null
+++ b/games/bloboats/pkg-plist
@@ -0,0 +1,125 @@
+bin/bloboats
+etc/bloboats.dirs
+%%DATADIR%%/sounds/vroom.wav
+%%DATADIR%%/sounds/clonk.wav
+%%DATADIR%%/sounds/explosion.wav
+%%DATADIR%%/sounds/finish.wav
+%%DATADIR%%/sounds/menuenter.wav
+%%DATADIR%%/sounds/menuselect.wav
+%%DATADIR%%/sounds/music0.ogg
+%%DATADIR%%/sounds/music1.ogg
+%%DATADIR%%/sounds/music2.ogg
+%%DATADIR%%/sounds/music3.ogg
+%%DATADIR%%/sounds/roarr.wav
+%%DATADIR%%/sounds/sounds.txt
+%%DATADIR%%/sounds/splash.wav
+%%DATADIR%%/sounds/bump.wav
+%%DATADIR%%/models/invader.mdl
+%%DATADIR%%/models/broken.mdl
+%%DATADIR%%/models/hirvio.mdl
+%%DATADIR%%/models/boulder.mdl
+%%DATADIR%%/models/menu.mdl
+%%DATADIR%%/models/paatti.mdl
+%%DATADIR%%/models/tux.mdl
+%%DATADIR%%/levels/meri9.tdt
+%%DATADIR%%/levels/meri0.hsc
+%%DATADIR%%/levels/meri0.mdl
+%%DATADIR%%/levels/meri0.tdt
+%%DATADIR%%/levels/meri1.dat
+%%DATADIR%%/levels/meri1.hsc
+%%DATADIR%%/levels/meri1.mdl
+%%DATADIR%%/levels/meri1.tdt
+%%DATADIR%%/levels/meri10.dat
+%%DATADIR%%/levels/meri10.hsc
+%%DATADIR%%/levels/meri10.mdl
+%%DATADIR%%/levels/meri10.tdt
+%%DATADIR%%/levels/meri11.dat
+%%DATADIR%%/levels/meri11.hsc
+%%DATADIR%%/levels/meri11.mdl
+%%DATADIR%%/levels/meri11.tdt
+%%DATADIR%%/levels/meri12.dat
+%%DATADIR%%/levels/meri12.hsc
+%%DATADIR%%/levels/meri12.mdl
+%%DATADIR%%/levels/meri12.tdt
+%%DATADIR%%/levels/meri13.dat
+%%DATADIR%%/levels/meri13.hsc
+%%DATADIR%%/levels/meri13.mdl
+%%DATADIR%%/levels/meri13.tdt
+%%DATADIR%%/levels/meri14.dat
+%%DATADIR%%/levels/meri14.hsc
+%%DATADIR%%/levels/meri14.mdl
+%%DATADIR%%/levels/meri14.tdt
+%%DATADIR%%/levels/meri15.dat
+%%DATADIR%%/levels/meri15.hsc
+%%DATADIR%%/levels/meri15.mdl
+%%DATADIR%%/levels/meri15.tdt
+%%DATADIR%%/levels/meri16.dat
+%%DATADIR%%/levels/meri16.hsc
+%%DATADIR%%/levels/meri16.mdl
+%%DATADIR%%/levels/meri16.tdt
+%%DATADIR%%/levels/meri17.dat
+%%DATADIR%%/levels/meri17.hsc
+%%DATADIR%%/levels/meri17.mdl
+%%DATADIR%%/levels/meri17.tdt
+%%DATADIR%%/levels/meri2.dat
+%%DATADIR%%/levels/meri2.hsc
+%%DATADIR%%/levels/meri2.mdl
+%%DATADIR%%/levels/meri2.tdt
+%%DATADIR%%/levels/meri3.dat
+%%DATADIR%%/levels/meri3.hsc
+%%DATADIR%%/levels/meri3.mdl
+%%DATADIR%%/levels/meri3.tdt
+%%DATADIR%%/levels/meri4.dat
+%%DATADIR%%/levels/meri4.hsc
+%%DATADIR%%/levels/meri4.mdl
+%%DATADIR%%/levels/meri4.tdt
+%%DATADIR%%/levels/meri5.dat
+%%DATADIR%%/levels/meri5.hsc
+%%DATADIR%%/levels/meri5.mdl
+%%DATADIR%%/levels/meri5.tdt
+%%DATADIR%%/levels/meri6.dat
+%%DATADIR%%/levels/meri6.hsc
+%%DATADIR%%/levels/meri6.mdl
+%%DATADIR%%/levels/meri6.tdt
+%%DATADIR%%/levels/meri7.dat
+%%DATADIR%%/levels/meri7.hsc
+%%DATADIR%%/levels/meri7.mdl
+%%DATADIR%%/levels/meri7.tdt
+%%DATADIR%%/levels/meri8.dat
+%%DATADIR%%/levels/meri8.hsc
+%%DATADIR%%/levels/meri8.mdl
+%%DATADIR%%/levels/meri8.tdt
+%%DATADIR%%/levels/meri9.dat
+%%DATADIR%%/levels/meri9.hsc
+%%DATADIR%%/levels/meri9.mdl
+%%DATADIR%%/levels/meri0.dat
+%%DATADIR%%/images/tux.png
+%%DATADIR%%/images/bloboats.png
+%%DATADIR%%/images/boulder.png
+%%DATADIR%%/images/ground.png
+%%DATADIR%%/images/ground2.png
+%%DATADIR%%/images/groundedge.png
+%%DATADIR%%/images/groundedge2.png
+%%DATADIR%%/images/hirvio.png
+%%DATADIR%%/images/hirvio_.png
+%%DATADIR%%/images/ice.png
+%%DATADIR%%/images/icon.ico
+%%DATADIR%%/images/icon.png
+%%DATADIR%%/images/invader.png
+%%DATADIR%%/images/maali.png
+%%DATADIR%%/images/alus.png
+%%DATADIR%%/fonts/font.png
+%%DATADIR%%/fonts/font2.png
+%%DATADIR%%/defaults/private/ghost/ghost.txt
+%%DATADIR%%/defaults/private/records/records.txt
+%%DATADIR%%/defaults/private/levels.dat
+@dirrm %%DATADIR%%/defaults/private/records
+@dirrm %%DATADIR%%/defaults/private/ghost
+@dirrm %%DATADIR%%/defaults/private
+@dirrm %%DATADIR%%/defaults
+@dirrm %%DATADIR%%/fonts
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%/levels
+@dirrm %%DATADIR%%/models
+@dirrm %%DATADIR%%/sounds
+@dirrm %%DATADIR%%