diff options
author | Renato Botelho <garga@FreeBSD.org> | 2005-10-04 16:55:33 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2005-10-04 16:55:33 +0000 |
commit | f7b4b78f8c7ad5e1203751ae5cacad83da2b7728 (patch) | |
tree | 216de012f3955f6a68f7419b0135e14a97d72cba | |
parent | Update to 0.80 (diff) |
excido is a free (GPL) game. It combines (simple|old school|arcadey) gameplay
with 3D OpenGL graphics graphics and OpenAL positional audio. Excido is not a
highly complex experience, but you may enjoy it as a small diversion.
Excido was developed under GNU/Linux, and has also been found to work on MacOS
X. It should also work with minimal porting effort on the other platforms
supported by SDL/OpenAL.
WWW: http://icculus.org/excido/
PR: ports/85157
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Notes
Notes:
svn path=/head/; revision=144182
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/excido/Makefile | 41 | ||||
-rw-r--r-- | games/excido/distinfo | 2 | ||||
-rw-r--r-- | games/excido/files/patch-Makefile | 30 | ||||
-rw-r--r-- | games/excido/pkg-descr | 9 | ||||
-rw-r--r-- | games/excido/pkg-plist | 54 |
6 files changed, 137 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index ff034d2da158..e246a89e38d3 100644 --- a/games/Makefile +++ b/games/Makefile @@ -140,6 +140,7 @@ SUBDIR += ensemblist SUBDIR += euchre SUBDIR += evilfinder + SUBDIR += excido SUBDIR += exhaust SUBDIR += exmars SUBDIR += exult diff --git a/games/excido/Makefile b/games/excido/Makefile new file mode 100644 index 000000000000..83354c528197 --- /dev/null +++ b/games/excido/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: excido +# Date created: 19 Aug 2005 +# Whom: Alejandro Pulver <alejandro@varnet.biz> +# +# $FreeBSD$ +# + +PORTNAME= excido +PORTVERSION= 0.1.5c +CATEGORIES= games +MASTER_SITES= http://offload1.icculus.org/excido/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= alejandro@varnet.biz +COMMENT= A portable fast-paced 3d shooter + +LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \ + physfs-1.0.1:${PORTSDIR}/devel/physfs + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USE_BZIP2= yes +USE_GMAKE= yes +USE_REINPLACE= yes +USE_GL= yes +USE_SDL= image sdl ttf + +post-patch: + @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}| ; \ + s|%%CFLAGS%%|${CFLAGS}| ; \ + s|%%DATADIR%%|${DATADIR}| ; \ + s|%%X11BASE%%|${X11BASE}|' \ + ${WRKSRC}/${MAKEFILE} + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/games/excido/distinfo b/games/excido/distinfo new file mode 100644 index 000000000000..dc8ad2806e0a --- /dev/null +++ b/games/excido/distinfo @@ -0,0 +1,2 @@ +MD5 (excido-0.1.5c-src.tar.bz2) = 2145a3921f57abdc8a965c0086cbddec +SIZE (excido-0.1.5c-src.tar.bz2) = 2981629 diff --git a/games/excido/files/patch-Makefile b/games/excido/files/patch-Makefile new file mode 100644 index 000000000000..00b6fd0ed4af --- /dev/null +++ b/games/excido/files/patch-Makefile @@ -0,0 +1,30 @@ +--- Makefile.orig Thu Jul 29 14:17:13 2004 ++++ Makefile Fri Aug 19 15:00:16 2005 +@@ -1,12 +1,11 @@ +-CC=g++ +-CFLAGS=`sdl-config --cflags` #-g -Wall #-O2 ++CFLAGS=%%CFLAGS%% -I%%X11BASE%%/include `sdl-config --cflags` #-g -Wall #-O2 + #CFLAGS=`sdl-config --cflags` -I./physfs#-g -Wall #-O2 + OBJS := ${patsubst %.cpp, %.o, ${wildcard src/*.cpp}} +-LIBS = -s -Bstatic `sdl-config --static-libs` -lSDL_image -lSDL_ttf -L. -lphysfs -lopenal -Bdynamic -lGL -lGLU ++LIBS = -L%%X11BASE%%/lib `sdl-config --libs` -lSDL_image -lSDL_ttf -lphysfs -lopenal -lGL -lGLU + #LIBS = -s -Bstatic `sdl-config --static-libs` SDL_image/*.o SDL_ttf/*.o -L. physfs/*.o openal/*.o -ljpeg -lpng -ltiff -lfreetype -Bdynamic -lGL -lGLU + PREFIX=/usr/local + BINDIR=$(PREFIX)/bin/ +-DATADIR=$(PREFIX)/share/excido/ ++DATADIR=%%DATADIR%%/ + + INSTALL=/usr/bin/install + +@@ -28,9 +27,9 @@ + + install: + [ -d $(BINDIR) ] || mkdir $(BINDIR) +- $(INSTALL) -m 755 $(TARGET) $(BINDIR) ++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(BINDIR) + [ -d $(DATADIR) ] || mkdir $(DATADIR) +- $(INSTALL) -m 644 data/* $(DATADIR) ++ $(BSD_INSTALL_DATA) data/* $(DATADIR) + + uninstall: + rm $(BINDIR)$(TARGET) diff --git a/games/excido/pkg-descr b/games/excido/pkg-descr new file mode 100644 index 000000000000..2170f85b138e --- /dev/null +++ b/games/excido/pkg-descr @@ -0,0 +1,9 @@ +excido is a free (GPL) game. It combines (simple|old school|arcadey) gameplay +with 3D OpenGL graphics graphics and OpenAL positional audio. Excido is not a +highly complex experience, but you may enjoy it as a small diversion. + +Excido was developed under GNU/Linux, and has also been found to work on MacOS +X. It should also work with minimal porting effort on the other platforms +supported by SDL/OpenAL. + +WWW: http://icculus.org/excido/ diff --git a/games/excido/pkg-plist b/games/excido/pkg-plist new file mode 100644 index 000000000000..f7b33f72b5b0 --- /dev/null +++ b/games/excido/pkg-plist @@ -0,0 +1,54 @@ +bin/excido +%%PORTDOCS%%%%DOCSDIR%%/README +%%DATADIR%%/CREDITS +%%DATADIR%%/arenabase.png +%%DATADIR%%/arenamesh.png +%%DATADIR%%/arenawall.png +%%DATADIR%%/boom.wav +%%DATADIR%%/boom.wav.bak +%%DATADIR%%/cannon.wav +%%DATADIR%%/driveparticle.png +%%DATADIR%%/engine.wav +%%DATADIR%%/excido.conf +%%DATADIR%%/excido.scores +%%DATADIR%%/explosion1.png +%%DATADIR%%/fire.wav +%%DATADIR%%/gotthelife.wav +%%DATADIR%%/halfdriveparticle.png +%%DATADIR%%/helmetr.ttf +%%DATADIR%%/lifeicon.png +%%DATADIR%%/loading.png +%%DATADIR%%/menuambient.wav +%%DATADIR%%/menuback.png +%%DATADIR%%/menucursor.png +%%DATADIR%%/mine.mesh +%%DATADIR%%/mine.wav +%%DATADIR%%/mineskin.png +%%DATADIR%%/missiletrail.png +%%DATADIR%%/muzzleflash.png +%%DATADIR%%/player.mesh +%%DATADIR%%/player.mesh.bak +%%DATADIR%%/playerdie.wav +%%DATADIR%%/playerskin.png +%%DATADIR%%/powerupshell.png +%%DATADIR%%/readme-jf-nebula_sky.txt +%%DATADIR%%/shadow.png +%%DATADIR%%/shield.png +%%DATADIR%%/shield.wav +%%DATADIR%%/skyback.png +%%DATADIR%%/skydown.png +%%DATADIR%%/skyfront.png +%%DATADIR%%/skyleft.png +%%DATADIR%%/skyright.png +%%DATADIR%%/skyscraper.png +%%DATADIR%%/skyup.png +%%DATADIR%%/smoke1.png +%%DATADIR%%/spotted.wav +%%DATADIR%%/tracer.png +%%DATADIR%%/ufo.mesh +%%DATADIR%%/ufo.png +%%DATADIR%%/ufo.wav +%%DATADIR%%/ufodie.wav +%%DATADIR%%/wmicon.bmp +@dirrm %%DATADIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% |