aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-23 18:05:05 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-01-23 18:05:05 +0000
commit63c162e06cb129160bd7b4048b67a3fb200d198f (patch)
tree5f471efc10154df53eea2655a887954e7b110349 /games
parent7a6b36be3075beabf52ecfca93c26f2b7cfad1e7 (diff)
downloadports-63c162e06cb129160bd7b4048b67a3fb200d198f.tar.gz
ports-63c162e06cb129160bd7b4048b67a3fb200d198f.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/glaxium/Makefile36
-rw-r--r--games/glaxium/distinfo3
-rw-r--r--games/glaxium/files/patch-Makefile.in16
-rw-r--r--games/glaxium/files/patch-configure.in22
-rw-r--r--games/glaxium/pkg-descr5
-rw-r--r--games/glaxium/pkg-plist61
7 files changed, 144 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index a879b48e396c..7766b7d6f158 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -207,6 +207,7 @@
SUBDIR += ggz-txt-client
SUBDIR += gl-117
SUBDIR += glasteroids
+ SUBDIR += glaxium
SUBDIR += glbsp
SUBDIR += glchess
SUBDIR += glest
diff --git a/games/glaxium/Makefile b/games/glaxium/Makefile
new file mode 100644
index 000000000000..296bc8486dde
--- /dev/null
+++ b/games/glaxium/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: glaxium
+# Date created: 21 Jan 2006
+# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= glaxium
+PORTVERSION= 0.5
+CATEGORIES= games
+MASTER_SITES= http://xhosxe.free.fr/glaxium/
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= ip@doom.homeunix.org
+COMMENT= An OpenGL based space-ship "shoot-em-up" game
+
+LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut \
+ png.5:${PORTSDIR}/graphics/png
+
+USE_GMAKE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+GNU_CONFIGURE= yes
+USE_GL= yes
+USE_SDL= sdl mixer
+ALL_TARGET= ${PORTNAME}
+
+MAN6= glaxium.6
+
+post-patch:
+ @${REINPLACE_CMD} -i '' -e 's|/usr/X11R6|${X11BASE}|g; \
+ s|\$datadir/games/glaxium|\$datadir/glaxium|g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -i '' -e 's|%%X11BASE%%|${X11BASE}|g' \
+ ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/games/glaxium/distinfo b/games/glaxium/distinfo
new file mode 100644
index 000000000000..a7ff13c7ddea
--- /dev/null
+++ b/games/glaxium/distinfo
@@ -0,0 +1,3 @@
+MD5 (glaxium_0.5.tar.gz) = ea6d6f8b4ebb7c73b74af64d83f45cb7
+SHA256 (glaxium_0.5.tar.gz) = 78f5a9e1785e9e39f6dcb32134a3bd224372f572f191e7ed77bf50b109afb5f7
+SIZE (glaxium_0.5.tar.gz) = 1692219
diff --git a/games/glaxium/files/patch-Makefile.in b/games/glaxium/files/patch-Makefile.in
new file mode 100644
index 000000000000..807815167303
--- /dev/null
+++ b/games/glaxium/files/patch-Makefile.in
@@ -0,0 +1,16 @@
+--- Makefile.in.orig
++++ Makefile.in
+@@ -15,11 +15,11 @@
+
+ GLAXIUM_INSTALLDIR=$(bindir)
+ DATA_DIRS=samples textures
+-GLAXIUM_HOME=$(datadir)/games/glaxium
++GLAXIUM_HOME=$(datadir)/glaxium
+ MAN_DIR=$(mandir)
+
+ glaxium : $(OBJ)
+- gcc -g -o glaxium $(OBJ) $(LIB)
++ $(CC) -g -o glaxium $(OBJ) $(LIB)
+
+
+
diff --git a/games/glaxium/files/patch-configure.in b/games/glaxium/files/patch-configure.in
new file mode 100644
index 000000000000..ed522b7a2571
--- /dev/null
+++ b/games/glaxium/files/patch-configure.in
@@ -0,0 +1,22 @@
+--- configure.in.orig
++++ configure.in
+@@ -10,8 +10,8 @@
+ dnl Check for SDL
+ AM_PATH_SDL(1.1.5, , AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
+
+-LIBS="$LIBS -L/usr/X11R6/lib $SDL_LIBS"
+-CPPFLAGS="$CPPFLAGS -I/usr/X11R6/include $SDL_CFLAGS"
++LIBS="$LIBS -L%%X11BASE%%/lib $SDL_LIBS"
++CPPFLAGS="$CPPFLAGS -I%%X11BASE%%/include $SDL_CFLAGS"
+
+ AC_CHECK_HEADER(SDL.h, , echo "No SDL.h header... cannot do anything !";exit 12 )
+
+@@ -41,7 +41,7 @@
+ AC_EGREP_HEADER(PFNGLBINDPROGRAMNVPROC, GL/glext.h, ,echo "Glaxium won't compile: get a newer version of your openGL header GL/glext.h at <http://oss.sgi.com/projects/ogl-sample/registry/>";exit 12)
+
+ dnl Expand DATADIR
+-FC_EXPAND_DIR(DATADIR, "$datadir/games/glaxium")
++FC_EXPAND_DIR(DATADIR, "$datadir/glaxium")
+ AC_DEFINE_UNQUOTED(DATADIR, "$DATADIR")
+
+ AC_OUTPUT(Makefile)
diff --git a/games/glaxium/pkg-descr b/games/glaxium/pkg-descr
new file mode 100644
index 000000000000..d1f41ab380e7
--- /dev/null
+++ b/games/glaxium/pkg-descr
@@ -0,0 +1,5 @@
+Glaxium is an OpenGL-based space-ship "shoot-em-up" styled game.
+It is designed to provide the same feel as the old 2D games of that
+type, but with 3D for the special effects.
+
+WWW: http://xhosxe.free.fr/glaxium/
diff --git a/games/glaxium/pkg-plist b/games/glaxium/pkg-plist
new file mode 100644
index 000000000000..81be2eb02e1b
--- /dev/null
+++ b/games/glaxium/pkg-plist
@@ -0,0 +1,61 @@
+bin/glaxium
+share/glaxium/samples/detection.wav
+share/glaxium/samples/explode1.wav
+share/glaxium/samples/explode2.wav
+share/glaxium/samples/gameover.wav
+share/glaxium/samples/glax.xm
+share/glaxium/samples/glax3.xm
+share/glaxium/samples/glups.wav
+share/glaxium/samples/powerup.wav
+share/glaxium/samples/tachefire.wav
+share/glaxium/samples/tir.wav
+share/glaxium/samples/welcome.wav
+share/glaxium/textures/bandit1.png
+share/glaxium/textures/bandit2.png
+share/glaxium/textures/board.png
+share/glaxium/textures/bord.png
+share/glaxium/textures/border.png
+share/glaxium/textures/border2.png
+share/glaxium/textures/camouflage.png
+share/glaxium/textures/capsule_bomb.png
+share/glaxium/textures/capsule_invul.png
+share/glaxium/textures/capsule_power.png
+share/glaxium/textures/capsule_shield.png
+share/glaxium/textures/chain.png
+share/glaxium/textures/chars.png
+share/glaxium/textures/cube.png
+share/glaxium/textures/deadtache.png
+share/glaxium/textures/effect1.png
+share/glaxium/textures/fighter2.png
+share/glaxium/textures/floor.png
+share/glaxium/textures/floor1.png
+share/glaxium/textures/floor2.png
+share/glaxium/textures/floor3.png
+share/glaxium/textures/floor4.png
+share/glaxium/textures/floormap.png
+share/glaxium/textures/floormap1.png
+share/glaxium/textures/floormap2.png
+share/glaxium/textures/floormap3.png
+share/glaxium/textures/floormap4.png
+share/glaxium/textures/fumee1.png
+share/glaxium/textures/fumee2.png
+share/glaxium/textures/fumee3.png
+share/glaxium/textures/galaxy.png
+share/glaxium/textures/gameover.png
+share/glaxium/textures/glax2.png
+share/glaxium/textures/iflicla.png
+share/glaxium/textures/mark.png
+share/glaxium/textures/missile.png
+share/glaxium/textures/myship.png
+share/glaxium/textures/piege.png
+share/glaxium/textures/ship1.png
+share/glaxium/textures/space0.png
+share/glaxium/textures/space1.png
+share/glaxium/textures/space2.png
+share/glaxium/textures/space3.png
+share/glaxium/textures/sphere.png
+share/glaxium/textures/tache.png
+share/glaxium/textures/thunder.png
+@dirrm share/glaxium/textures
+@dirrm share/glaxium/samples
+@dirrm share/glaxium