summaryrefslogtreecommitdiff
path: root/games/starfighter/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-10-15 05:36:43 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-10-15 05:36:43 +0000
commitf9e8efb64fbd113916d3019f60fdab55fe7036a3 (patch)
tree902df64ed75a1c8e91874c969eed576ffeaee70d /games/starfighter/patches
parente913eab543ea520199c1f88fd79456431d0fc981 (diff)
downloadpkgsrc-f9e8efb64fbd113916d3019f60fdab55fe7036a3.tar.gz
Initial import of starfighter-1.1-1.
Project: Starfighter is an old school 2D shoot 'em up. In the game you take on the role of a rebel pilot called Chris, who is attempting to overthrow a military corporation called Weapco. Weapco has seized control of the known universe and currently rules it with an iron fist. Chris can no longer stand back and watch as millions of people suffer and die. He steals an experimental craft known as "Firefly" and begins his mission to fight his way to Sol, freeing key systems along the way. The game opens with Chris attempting to escape a Weapco patrol that has intercepted him. Features: * 26 missions over 4 star systems * Primary and Secondary Weapons (including a laser cannon and a charge weapon) * A weapon powerup system * Wingmates * Missions with Primary and Secondary Objectives * A Variety of Missions (Protect, Destroy, etc) * 13 different music tracks * Boss battles -- http://www.parallelrealities.co.uk/starfighter.php
Diffstat (limited to 'games/starfighter/patches')
-rw-r--r--games/starfighter/patches/patch-aa45
1 files changed, 45 insertions, 0 deletions
diff --git a/games/starfighter/patches/patch-aa b/games/starfighter/patches/patch-aa
new file mode 100644
index 00000000000..a9aa79f46fe
--- /dev/null
+++ b/games/starfighter/patches/patch-aa
@@ -0,0 +1,45 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/10/15 05:36:43 xtraeme Exp $
+
+--- makefile.orig 2004-10-15 06:36:29.000000000 +0200
++++ makefile 2004-10-15 06:39:17.000000000 +0200
+@@ -1,5 +1,5 @@
+-CFLAGS = `sdl-config --cflags` -Wall -DLINUX
+-LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image
++CFLAGS += `sdl-config --cflags` -Wall -DLINUX
++LIBS += `sdl-config --libs` -lSDL_mixer -lSDL_image
+ OBJS = ai.o aliens.o audio.o bullets.o cargo.o collectable.o comms.o debris.o events.o explosions.o game.o globals.o graphics.o init.o intermission.o loadSave.o messages.o misc.o missions.o player.o resources.o script.o shop.o Starfighter.o title.o unpack.o weapons.o
+
+ VERSION = 1.1
+@@ -7,15 +7,15 @@
+ PACK = starfighter.pak
+ DOCS = docs/*
+
+-BINDIR = /usr/games/
+-DATADIR = /usr/share/games/parallelrealities/
+-DOCDIR = /usr/share/doc/starfighter/
++BINDIR = ${PREFIX}/bin
++DATADIR = ${PREFIX}/share/starfighter/
++DOCDIR = ${PREFIX}//share/doc/starfighter/
+ # top-level rule to create the program.
+ all: $(PROG)
+
+ # compiling other source files.
+ %.o: code/%.cpp code/%.h code/structs.h code/defs.h code/classes.h
+- $(CXX) $(CFLAGS) -c -O3 -DVERSION=\"$(VERSION)\" -DPACKLOCATION=\"$(DATADIR)$(PACK)\" $<
++ $(CXX) $(CFLAGS) -c -DVERSION=\"$(VERSION)\" -DPACKLOCATION=\"$(DATADIR)$(PACK)\" $<
+
+ # linking the program.
+ $(PROG): $(OBJS)
+@@ -30,8 +30,7 @@
+
+ # install
+ install:
+- mkdir -p $(DATADIR)
+- strip $(PROG)
+- install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG)
+- install -o root -g games -m 644 $(PACK) $(DATADIR)$(PACK)
+- cp $(DOCS) $(DOCDIR)
++ $(BSD_INSTALL_DATA_DIR) $(DATADIR)
++ $(BSD_INSTALL_PROGRAM) $(PROG) $(BINDIR)/$(PROG)
++ $(BSD_INSTALL_DATA) $(PACK) $(DATADIR)$(PACK)
++ $(BSD_INSTALL_DATA_DIR) $(DOCDIR); $(BSD_INSTALL_DATA) docs/*.png docs/*.html docs/*.gif docs/LICENSE $(DOCDIR)