Date: Wed, 13 Jul 2005 18:55:05 -0300 From: "Alejandro Pulver" <alejandro@varnet.biz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/83418: [NEW PORT] games/starfighter - Chris Bainfield is fighting for the freedom of the galaxy Message-ID: <1121291705.0@phobos.mars.bsd> Resent-Message-ID: <200507132200.j6DM0SmV026527@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83418 >Category: ports >Synopsis: [NEW PORT] games/starfighter - Chris Bainfield is fighting for the freedom of the galaxy >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: Wed Jul 13 22:00:28 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alejandro Pulver >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005 root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE >Description: >How-To-Repeat: >Fix: --- starfighter.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: # # starfighter # starfighter/distinfo # starfighter/Makefile # starfighter/pkg-descr # starfighter/pkg-plist # starfighter/files # starfighter/files/patch-makefile # echo c - starfighter mkdir -p starfighter > /dev/null 2>&1 echo x - starfighter/distinfo sed 's/^X//' >starfighter/distinfo << 'END-of-starfighter/distinfo' XMD5 (starfighter-1.1-1.tar.gz) = 6a4b704dbc83c7403842b936f95ee958 XSIZE (starfighter-1.1-1.tar.gz) = 2523399 END-of-starfighter/distinfo echo x - starfighter/Makefile sed 's/^X//' >starfighter/Makefile << 'END-of-starfighter/Makefile' X# New ports collection makefile for: starfighter X# Date created: 13 Jul 2005 X# Whom: Alejandro Pulver <alejandro@varnet.biz> X# X# $FreeBSD$ X# X XPORTNAME= starfighter XDISTVERSION= 1.1-1 XCATEGORIES= games XMASTER_SITES= http://www.parallelrealities.co.uk/download.php?type=zip&file= X XMAINTAINER= alejandro@varnet.biz XCOMMENT= Chris Bainfield is fighting for the freedom of the galaxy X XFETCH_BEFORE_ARGS+= -o ${DISTNAME}${EXTRACT_SUFX} X XUSE_GMAKE= yes XUSE_SDL= image mixer sdl XUSE_REINPLACE= yes X XWRKSRC= ${WRKDIR}/${PORTNAME}-1.1 X XOPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on X XMAKEFILE= makefile XMAKE_ENV= CXX="${CXX}" X X.if !defined(NOPORTDOCS) Xpost-install: X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} X ${RM} ${DOCSDIR}/LICENSE X.endif X X.include <bsd.port.pre.mk> X Xpost-patch: X# Fix Makefile X @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}| ; \ X s|\(-Wall\)|${CFLAGS} \1|' \ X ${WRKSRC}/${MAKEFILE} X X# Fix SDL include statement X @${REINPLACE_CMD} -e 's|\(#include.*\)SDL/\(SDL.*\)|\1\2|' \ X ${WRKSRC}/code/*.cpp ${WRKSRC}/code/*.h X X# Enable/disable compilation optimizations X.if !defined(WITH_OPTIMIZED_CFLAGS) X @${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/${MAKEFILE} X.endif X X.include <bsd.port.post.mk> END-of-starfighter/Makefile echo x - starfighter/pkg-descr sed 's/^X//' >starfighter/pkg-descr << 'END-of-starfighter/pkg-descr' XAfter decades of war one company, who had gained powerful supplying both sides Xwith weaponary, steps forwards and crushes both warring factions in one swift Xmovement. Using far superior weaponary and AI craft, the company was completely Xunstoppable and now no one can stand in their way. Thousands began to perish Xunder the iron fist of the company. The people cried out for a saviour, for Xsomeone to light this dark hour... and someone did. X XWWW: http://www.parallelrealities.co.uk/starfighter.php X X- Alejandro Pulver Xalejandro@varnet.biz END-of-starfighter/pkg-descr echo x - starfighter/pkg-plist sed 's/^X//' >starfighter/pkg-plist << 'END-of-starfighter/pkg-plist' Xbin/starfighter X%%PORTDOCS%%%%DOCSDIR%%/ammo.gif X%%PORTDOCS%%%%DOCSDIR%%/cash.gif X%%PORTDOCS%%%%DOCSDIR%%/index.html X%%PORTDOCS%%%%DOCSDIR%%/plasmaAmmo.png X%%PORTDOCS%%%%DOCSDIR%%/plasmaDamage.png X%%PORTDOCS%%%%DOCSDIR%%/plasmaRate.png X%%PORTDOCS%%%%DOCSDIR%%/rocketAmmo.png X%%PORTDOCS%%%%DOCSDIR%%/sflogo.gif X%%PORTDOCS%%%%DOCSDIR%%/shield.gif X%%PORTDOCS%%%%DOCSDIR%%/superCharge.png X%%PORTDOCS%%%%DOCSDIR%%/targetArrow.png X%%DATADIR%%/starfighter.pak X@dirrm %%DATADIR%% X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-starfighter/pkg-plist echo c - starfighter/files mkdir -p starfighter/files > /dev/null 2>&1 echo x - starfighter/files/patch-makefile sed 's/^X//' >starfighter/files/patch-makefile << 'END-of-starfighter/files/patch-makefile' X--- makefile.orig Mon Aug 18 09:48:23 2003 X+++ makefile Wed Jul 13 18:40:23 2005 X@@ -7,9 +7,9 @@ X PACK = starfighter.pak X DOCS = docs/* X X-BINDIR = /usr/games/ X-DATADIR = /usr/share/games/parallelrealities/ X-DOCDIR = /usr/share/doc/starfighter/ X+BINDIR = $(PREFIX)/bin/ X+DATADIR = $(PREFIX)/share/$(PROG)/ X+DOCDIR = $(PREFIX)/share/doc/$(PROG)/ X # top-level rule to create the program. X all: $(PROG) X X@@ -31,7 +31,5 @@ X # install X install: X mkdir -p $(DATADIR) X- strip $(PROG) X- install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG) X- install -o root -g games -m 644 $(PACK) $(DATADIR)$(PACK) X- cp $(DOCS) $(DOCDIR) X+ $(BSD_INSTALL_PROGRAM) $(PROG) $(BINDIR)$(PROG) X+ $(BSD_INSTALL_DATA) $(PACK) $(DATADIR)$(PACK) END-of-starfighter/files/patch-makefile exit --- starfighter.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1121291705.0>