summaryrefslogtreecommitdiff
path: root/games
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
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')
-rw-r--r--games/starfighter/DESCR20
-rw-r--r--games/starfighter/Makefile29
-rw-r--r--games/starfighter/PLIST32
-rw-r--r--games/starfighter/distinfo7
-rw-r--r--games/starfighter/patches/patch-aa45
5 files changed, 133 insertions, 0 deletions
diff --git a/games/starfighter/DESCR b/games/starfighter/DESCR
new file mode 100644
index 00000000000..774c85f2d12
--- /dev/null
+++ b/games/starfighter/DESCR
@@ -0,0 +1,20 @@
+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
diff --git a/games/starfighter/Makefile b/games/starfighter/Makefile
new file mode 100644
index 00000000000..c70846f34a8
--- /dev/null
+++ b/games/starfighter/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/15 05:36:43 xtraeme Exp $
+#
+
+DISTNAME= starfighter-1.1-1
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/xtraeme/
+DISTFILES= ${DISTNAME}.tar.gz starfighter-1.0-1.music.zip
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://www.parallelrealities.co.uk/starfighter.php
+COMMENT= Old school 2D shoot them up
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_LANGUAGES+= c++
+USE_X11= yes
+WRKSRC= ${WRKDIR}/${DISTNAME:S/-1$//}
+
+MAKEFILE= makefile
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/starfighter/music
+ cd ${WRKDIR}/music && ${PAX} -rwppm . \
+ ${PREFIX}/share/starfighter/music
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/SDL_image/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/starfighter/PLIST b/games/starfighter/PLIST
new file mode 100644
index 00000000000..17cd77747a4
--- /dev/null
+++ b/games/starfighter/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/10/15 05:36:43 xtraeme Exp $
+bin/starfighter
+share/doc/starfighter/LICENSE
+share/doc/starfighter/ammo.gif
+share/doc/starfighter/cash.gif
+share/doc/starfighter/index.html
+share/doc/starfighter/plasmaAmmo.png
+share/doc/starfighter/plasmaDamage.png
+share/doc/starfighter/plasmaRate.png
+share/doc/starfighter/rocketAmmo.png
+share/doc/starfighter/sflogo.gif
+share/doc/starfighter/shield.gif
+share/doc/starfighter/superCharge.png
+share/doc/starfighter/targetArrow.png
+share/starfighter/music/3DParadise.mod
+share/starfighter/music/Artificial.mod
+share/starfighter/music/DigitalInferno.mod
+share/starfighter/music/Frantic.mod
+share/starfighter/music/HardTranceDub.mod
+share/starfighter/music/IntoTheMachine.mod
+share/starfighter/music/LoopsAndTings.mod
+share/starfighter/music/Lunatic.mod
+share/starfighter/music/Platinum.mod
+share/starfighter/music/Solace.s3m
+share/starfighter/music/TempoTrance.mod
+share/starfighter/music/ToxicFriend.mod
+share/starfighter/music/TranceGeneration.mod
+share/starfighter/music/Wybierak.mod
+share/starfighter/starfighter.pak
+@dirrm share/starfighter/music
+@dirrm share/starfighter
+@dirrm share/doc/starfighter
diff --git a/games/starfighter/distinfo b/games/starfighter/distinfo
new file mode 100644
index 00000000000..60becce6d33
--- /dev/null
+++ b/games/starfighter/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/10/15 05:36:43 xtraeme Exp $
+
+SHA1 (starfighter-1.1-1.tar.gz) = e9b2d463247ee216f399cdff99ccbf4cd7f821e7
+Size (starfighter-1.1-1.tar.gz) = 2523399 bytes
+SHA1 (starfighter-1.0-1.music.zip) = 318134a62ca69294837841a8421b481928acc05d
+Size (starfighter-1.0-1.music.zip) = 1372826 bytes
+SHA1 (patch-aa) = 1f8b07f0e3bda42d71369aa7d3bae17d267a187c
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)