FreeBSD Bugzilla – Attachment 56255 Details for
Bug 84924
[NEW PORT] games/duel - An overhead, OpenGL space shooter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
duel.shar
duel.shar (text/plain), 6.54 KB, created by
Alejandro Pulver
on 2005-08-14 19:40:17 UTC
(
hide
)
Description:
duel.shar
Filename:
MIME Type:
Creator:
Alejandro Pulver
Created:
2005-08-14 19:40:17 UTC
Size:
6.54 KB
patch
obsolete
># 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: ># ># duel ># duel/Makefile ># duel/distinfo ># duel/pkg-plist ># duel/pkg-descr ># duel/files ># duel/files/duel-sh.in ># >echo c - duel >mkdir -p duel > /dev/null 2>&1 >echo x - duel/Makefile >sed 's/^X//' >duel/Makefile << 'END-of-duel/Makefile' >X# New ports collection makefile for: duel >X# Date created: 10 Aug 2005 >X# Whom: Alejandro Pulver <alejandro@varnet.biz> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= duel >XPORTVERSION= 0.98 >XCATEGORIES= games >XMASTER_SITES= http://www.personal.rdg.ac.uk/~sir03me/ >XDISTNAME= lin${PORTNAME} >X >XMAINTAINER= alejandro@varnet.biz >XCOMMENT= An overhead, OpenGL space shooter >X >XBUILD_DEPENDS= ${X11BASE}/lib/libftgl.a:${PORTSDIR}/graphics/ftgl >XLIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 >X >XWRKSRC= ${WRKDIR}/${PORTNAME} >X >XUSE_BZIP2= yes >XUSE_GL= yes >XUSE_MESA= yes >XUSE_SDL= sdl >XUSE_REINPLACE= yes >XREINPLACE_ARGS= -i '' >X >XGNU_CONFIGURE= yes >XCONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` `freetype-config --cflags` -I${X11BASE}/include -I${X11BASE}/include/FTGL" \ >X LDFLAGS="`${SDL_CONFIG} --libs`" >X >XSUB_FILES= ${PORTNAME}-sh >X >Xpost-patch: >X# Fix SDL include statement >X.for f in *.cpp *.h >X @${FIND} ${WRKSRC}/src -type f -name ${f} -print0 | \ >X ${XARGS} -0 \ >X ${REINPLACE_CMD} -e 's|\(#include.*\)SDL/\(SDL.*\)|\1\2|' >X.endfor >X >X# Remove -lSDL flag >X @${REINPLACE_CMD} -e 's|-lSDL ||' ${WRKSRC}/src/Makefile.in >X >Xdo-install: >X# Script >X @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-sh ${PREFIX}/bin/${PORTNAME} >X >X# Program >X @${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/libexec >X >X# Data >X @${MKDIR} ${DATADIR} >X @${CP} -R ${WRKSRC}/runDir/* ${DATADIR} >X >Xpost-install: >X# Fix permissions >X @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR} >X @${FIND} ${DATADIR} -type f -print0 | \ >X ${XARGS} -0 ${CHMOD} ${SHAREMODE} >X @${FIND} ${DATADIR} -type d -print0 | \ >X ${XARGS} -0 ${CHMOD} ${BINMODE} >X >X.include <bsd.port.mk> >END-of-duel/Makefile >echo x - duel/distinfo >sed 's/^X//' >duel/distinfo << 'END-of-duel/distinfo' >XMD5 (linduel.tar.bz2) = 651311e4342572e68e84018a80b690b0 >XSIZE (linduel.tar.bz2) = 8555684 >END-of-duel/distinfo >echo x - duel/pkg-plist >sed 's/^X//' >duel/pkg-plist << 'END-of-duel/pkg-plist' >Xbin/duel >Xlibexec/duel >X%%DATADIR%%/log.txt >X%%DATADIR%%/scores >X%%DATADIR%%/data/Artlookin.zip >X%%DATADIR%%/data/Artlookin/Artlookin-Regular.ttf >X%%DATADIR%%/data/Artlookin/ArtlookinBold.ttf >X%%DATADIR%%/data/Artlookin/ArtlookinItalic.ttf >X%%DATADIR%%/data/Artlookin/ArtlookinOneType.ttf >X%%DATADIR%%/data/Azimech.ttf >X%%DATADIR%%/data/Azimech.zip >X%%DATADIR%%/data/azimech.txt >X%%DATADIR%%/data/back.bmp >X%%DATADIR%%/data/base.bmp >X%%DATADIR%%/data/base.obj >X%%DATADIR%%/data/intro.bmp >X%%DATADIR%%/data/levels/demo0.dvl >X%%DATADIR%%/data/levels/demo1.dvl >X%%DATADIR%%/data/levels/demo2.dvl >X%%DATADIR%%/data/levels/galaxy.gal >X%%DATADIR%%/data/levels/level1.dvl >X%%DATADIR%%/data/levels/level10.dvl >X%%DATADIR%%/data/levels/level11.dvl >X%%DATADIR%%/data/levels/level12.dvl >X%%DATADIR%%/data/levels/level13.dvl >X%%DATADIR%%/data/levels/level14.dvl >X%%DATADIR%%/data/levels/level15.dvl >X%%DATADIR%%/data/levels/level16.dvl >X%%DATADIR%%/data/levels/level17.dvl >X%%DATADIR%%/data/levels/level18.dvl >X%%DATADIR%%/data/levels/level19.dvl >X%%DATADIR%%/data/levels/level2.dvl >X%%DATADIR%%/data/levels/level20.dvl >X%%DATADIR%%/data/levels/level3.dvl >X%%DATADIR%%/data/levels/level4.dvl >X%%DATADIR%%/data/levels/level5.dvl >X%%DATADIR%%/data/levels/level6.dvl >X%%DATADIR%%/data/levels/level7.dvl >X%%DATADIR%%/data/levels/level8.dvl >X%%DATADIR%%/data/levels/level9.dvl >X%%DATADIR%%/data/rock.bmp >X%%DATADIR%%/data/rock.obj >X%%DATADIR%%/data/rock2.obj >X%%DATADIR%%/data/ships/bigship.obj >X%%DATADIR%%/data/ships/gladiator.bmp >X%%DATADIR%%/data/ships/gladiator.obj >X%%DATADIR%%/data/ships/gladiator.shp >X%%DATADIR%%/data/ships/gladiator_nb.bmp >X%%DATADIR%%/data/ships/gladiator_redb.bmp >X%%DATADIR%%/data/ships/miggy.bmp >X%%DATADIR%%/data/ships/miggy.obj >X%%DATADIR%%/data/ships/miggy.shp >X%%DATADIR%%/data/ships/miggyBoosted.shp >X%%DATADIR%%/data/ships/miggy_nb.bmp >X%%DATADIR%%/data/ships/miggy_redb.bmp >X%%DATADIR%%/data/ships/mule.bmp >X%%DATADIR%%/data/ships/mule.obj >X%%DATADIR%%/data/ships/mule.shp >X%%DATADIR%%/data/ships/mule_mk2.bmp >X%%DATADIR%%/data/ships/mule_mk2.shp >X%%DATADIR%%/data/ships/mule_nb.bmp >X%%DATADIR%%/data/ships/mule_redb.bmp >X%%DATADIR%%/data/ships/pulsar.bmp >X%%DATADIR%%/data/ships/pulsar.obj >X%%DATADIR%%/data/ships/pulsar.shp >X%%DATADIR%%/data/ships/pulsar_nb.bmp >X%%DATADIR%%/data/ships/pulsar_redb.bmp >X%%DATADIR%%/data/ships/ray.bmp >X%%DATADIR%%/data/ships/ray.obj >X%%DATADIR%%/data/ships/ray.shp >X%%DATADIR%%/data/ships/ray2.obj >X%%DATADIR%%/data/ships/ray_nb.bmp >X%%DATADIR%%/data/ships/ray_redb.bmp >X%%DATADIR%%/data/shot.bmp >X%%DATADIR%%/data/shot2.bmp >X%%DATADIR%%/data/shot3.bmp >X%%DATADIR%%/data/stars.bmp >X@dirrm %%DATADIR%%/data/ships >X@dirrm %%DATADIR%%/data/levels >X@dirrm %%DATADIR%%/data/Artlookin >X@dirrm %%DATADIR%%/data >X@dirrm %%DATADIR%% >END-of-duel/pkg-plist >echo x - duel/pkg-descr >sed 's/^X//' >duel/pkg-descr << 'END-of-duel/pkg-descr' >XA simple, easy to understand game. From an overhead perspective, pilot your >Xlittle ship around with the arrow keys, shooting your way (with the space bar) >Xthrough about twenty levels of action and gorgeous (_cough_) 3d graphics. In >Xtheory, all you windows folks need to do is extract the archive, and double >Xclick the exe. In theory. Sorry, I never got round to adding sound - but look >Xon the bright side, at least you can use it at work without anyone noticing. :) >X >XWWW: http://www.personal.rdg.ac.uk/~sir03me/code.html >END-of-duel/pkg-descr >echo c - duel/files >mkdir -p duel/files > /dev/null 2>&1 >echo x - duel/files/duel-sh.in >sed 's/^X//' >duel/files/duel-sh.in << 'END-of-duel/files/duel-sh.in' >X#!/bin/sh >X >X# The executable needs to be run from its data directory, and needs to store >X# configuration in it. We therefore mirror the data directory hierarchy in >X# ~/.duel, and create symlinks to the data files, but the configuration file >X# is copied, and write permission for the user is added to it. >X >Xcd %%DATADIR%% || exit 1 >X >Xfind * -type d -exec mkdir -p ~/.duel/{} \; || exit 1 >X >Xfor f in log.txt scores >Xdo >X test -f ~/.duel/$f || cp $f ~/.duel && chmod u+w ~/.duel/$f >Xdone >X >Xfind * -type f -exec ln -s %%DATADIR%%/{} ~/.duel/{} \; 2>/dev/null || exit 1 >X >Xcd ~/.duel || exit 1 >X >Xexec %%PREFIX%%/libexec/duel >END-of-duel/files/duel-sh.in >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 84924
: 56255