ports/85157: [NEW PORT] games/excido - A portable fast-paced 3d shooter
Alejandro Pulver
alejandro at varnet.biz
Sat Aug 20 15:30:14 UTC 2005
>Number: 85157
>Category: ports
>Synopsis: [NEW PORT] games/excido - A portable fast-paced 3d shooter
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 20 15:30:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Alejandro Pulver
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
--- excido.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# excido
# excido/Makefile
# excido/pkg-plist
# excido/pkg-descr
# excido/distinfo
# excido/files
# excido/files/patch-Makefile
#
echo c - excido
mkdir -p excido > /dev/null 2>&1
echo x - excido/Makefile
sed 's/^X//' >excido/Makefile << 'END-of-excido/Makefile'
X# New ports collection makefile for: excido
X# Date created: 19 Aug 2005
X# Whom: Alejandro Pulver <alejandro at varnet.biz>
X#
X# $FreeBSD$
X#
X
XPORTNAME= excido
XPORTVERSION= 0.1.5c
XCATEGORIES= games
XMASTER_SITES= http://offload1.icculus.org/excido/
XDISTNAME= ${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER= alejandro at varnet.biz
XCOMMENT= A portable fast-paced 3d shooter
X
XLIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
X physfs-1.0.1:${PORTSDIR}/devel/physfs
X
XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XUSE_BZIP2= yes
XUSE_GMAKE= yes
XUSE_REINPLACE= yes
XUSE_GL= yes
XUSE_MESA= yes
XUSE_SDL= image sdl ttf
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}| ; \
X s|%%CFLAGS%%|${CFLAGS}| ; \
X s|%%DATADIR%%|${DATADIR}| ; \
X s|%%X11BASE%%|${X11BASE}|' \
X ${WRKSRC}/${MAKEFILE}
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X ${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-excido/Makefile
echo x - excido/pkg-plist
sed 's/^X//' >excido/pkg-plist << 'END-of-excido/pkg-plist'
Xbin/excido
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%DATADIR%%/CREDITS
X%%DATADIR%%/arenabase.png
X%%DATADIR%%/arenamesh.png
X%%DATADIR%%/arenawall.png
X%%DATADIR%%/boom.wav
X%%DATADIR%%/boom.wav.bak
X%%DATADIR%%/cannon.wav
X%%DATADIR%%/driveparticle.png
X%%DATADIR%%/engine.wav
X%%DATADIR%%/excido.conf
X%%DATADIR%%/excido.scores
X%%DATADIR%%/explosion1.png
X%%DATADIR%%/fire.wav
X%%DATADIR%%/gotthelife.wav
X%%DATADIR%%/halfdriveparticle.png
X%%DATADIR%%/helmetr.ttf
X%%DATADIR%%/lifeicon.png
X%%DATADIR%%/loading.png
X%%DATADIR%%/menuambient.wav
X%%DATADIR%%/menuback.png
X%%DATADIR%%/menucursor.png
X%%DATADIR%%/mine.mesh
X%%DATADIR%%/mine.wav
X%%DATADIR%%/mineskin.png
X%%DATADIR%%/missiletrail.png
X%%DATADIR%%/muzzleflash.png
X%%DATADIR%%/player.mesh
X%%DATADIR%%/player.mesh.bak
X%%DATADIR%%/playerdie.wav
X%%DATADIR%%/playerskin.png
X%%DATADIR%%/powerupshell.png
X%%DATADIR%%/readme-jf-nebula_sky.txt
X%%DATADIR%%/shadow.png
X%%DATADIR%%/shield.png
X%%DATADIR%%/shield.wav
X%%DATADIR%%/skyback.png
X%%DATADIR%%/skydown.png
X%%DATADIR%%/skyfront.png
X%%DATADIR%%/skyleft.png
X%%DATADIR%%/skyright.png
X%%DATADIR%%/skyscraper.png
X%%DATADIR%%/skyup.png
X%%DATADIR%%/smoke1.png
X%%DATADIR%%/spotted.wav
X%%DATADIR%%/tracer.png
X%%DATADIR%%/ufo.mesh
X%%DATADIR%%/ufo.png
X%%DATADIR%%/ufo.wav
X%%DATADIR%%/ufodie.wav
X%%DATADIR%%/wmicon.bmp
X at dirrm %%DATADIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-excido/pkg-plist
echo x - excido/pkg-descr
sed 's/^X//' >excido/pkg-descr << 'END-of-excido/pkg-descr'
Xexcido is a free (GPL) game. It combines (simple|old school|arcadey) gameplay
Xwith 3D OpenGL graphics graphics and OpenAL positional audio. Excido is not a
Xhighly complex experience, but you may enjoy it as a small diversion.
X
XExcido was developed under GNU/Linux, and has also been found to work on MacOS
XX. It should also work with minimal porting effort on the other platforms
Xsupported by SDL/OpenAL.
X
XWWW: http://icculus.org/excido/
END-of-excido/pkg-descr
echo x - excido/distinfo
sed 's/^X//' >excido/distinfo << 'END-of-excido/distinfo'
XMD5 (excido-0.1.5c-src.tar.bz2) = 2145a3921f57abdc8a965c0086cbddec
XSIZE (excido-0.1.5c-src.tar.bz2) = 2981629
END-of-excido/distinfo
echo c - excido/files
mkdir -p excido/files > /dev/null 2>&1
echo x - excido/files/patch-Makefile
sed 's/^X//' >excido/files/patch-Makefile << 'END-of-excido/files/patch-Makefile'
X--- Makefile.orig Thu Jul 29 14:17:13 2004
X+++ Makefile Fri Aug 19 15:00:16 2005
X@@ -1,12 +1,11 @@
X-CC=g++
X-CFLAGS=`sdl-config --cflags` #-g -Wall #-O2
X+CFLAGS=%%CFLAGS%% -I%%X11BASE%%/include `sdl-config --cflags` #-g -Wall #-O2
X #CFLAGS=`sdl-config --cflags` -I./physfs#-g -Wall #-O2
X OBJS := ${patsubst %.cpp, %.o, ${wildcard src/*.cpp}}
X-LIBS = -s -Bstatic `sdl-config --static-libs` -lSDL_image -lSDL_ttf -L. -lphysfs -lopenal -Bdynamic -lGL -lGLU
X+LIBS = -L%%X11BASE%%/lib `sdl-config --libs` -lSDL_image -lSDL_ttf -lphysfs -lopenal -lGL -lGLU
X #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
X PREFIX=/usr/local
X BINDIR=$(PREFIX)/bin/
X-DATADIR=$(PREFIX)/share/excido/
X+DATADIR=%%DATADIR%%/
X
X INSTALL=/usr/bin/install
X
X@@ -28,9 +27,9 @@
X
X install:
X [ -d $(BINDIR) ] || mkdir $(BINDIR)
X- $(INSTALL) -m 755 $(TARGET) $(BINDIR)
X+ $(BSD_INSTALL_PROGRAM) $(TARGET) $(BINDIR)
X [ -d $(DATADIR) ] || mkdir $(DATADIR)
X- $(INSTALL) -m 644 data/* $(DATADIR)
X+ $(BSD_INSTALL_DATA) data/* $(DATADIR)
X
X uninstall:
X rm $(BINDIR)$(TARGET)
END-of-excido/files/patch-Makefile
exit
--- excido.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list