Since their world was invaded by an alien race, the Blobs have faced
a lifetime of war. But now they have a chance to win the war once and for all. In Blob Wars : Metal Blob Solid, you take on the role of a fearless Blob agent, Bob. Bob's mission is to infiltrate the various enemy bases around the Blobs' homeworld and rescue as many MIAs as possible. But standing in his way are many vicious aliens, other Blobs who have been assimilated and the evil alien leader, Galdov. import! import! ajacoutot@
This commit is contained in:
parent
256fdc3152
commit
1e0b6a7556
45
games/blobwars/Makefile
Normal file
45
games/blobwars/Makefile
Normal file
@ -0,0 +1,45 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/05/27 15:34:55 kili Exp $
|
||||
|
||||
COMMENT= "2D arcade game"
|
||||
|
||||
DISTNAME= blobwars-1.07
|
||||
DISTFILES= ${DISTNAME}-1.tar.gz
|
||||
|
||||
CATEGORIES= games
|
||||
|
||||
HOMEPAGE= http://www.parallelrealities.co.uk/blobWars.php
|
||||
|
||||
MAINTAINER= Matthias Kilian <kili@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB= SDL X11 Xext c m pthread stdc++ usbhid z
|
||||
|
||||
# Master is kind of broken, so just mirror it.
|
||||
MASTER_SITES= http://openbsd.dead-parrot.de/distfiles/
|
||||
|
||||
MODULES= devel/gettext
|
||||
|
||||
LIB_DEPENDS= SDL_image.>=2::devel/sdl-image \
|
||||
SDL_mixer.>=3::devel/sdl-mixer \
|
||||
SDL_ttf.>=7::devel/sdl-ttf
|
||||
|
||||
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils
|
||||
|
||||
MAKE_ENV+= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
|
||||
CXX=${CXX}
|
||||
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
MAKE_FILE= makefile
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME:C,-[0-9]*$,,}
|
||||
|
||||
.include <bsd.port.mk>
|
5
games/blobwars/distinfo
Normal file
5
games/blobwars/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (blobwars-1.07-1.tar.gz) = QQw6d9krLtIqhKNaoxtMKg==
|
||||
RMD160 (blobwars-1.07-1.tar.gz) = fjgBJKf6u7nJZ1GxHeIFag/M6YY=
|
||||
SHA1 (blobwars-1.07-1.tar.gz) = x193VLeZIJZyu1i2bhvDhoynbnM=
|
||||
SHA256 (blobwars-1.07-1.tar.gz) = oj92ce9PEQ7EhweyFy014u9060Pr6D9UHoccLRjUTjQ=
|
||||
SIZE (blobwars-1.07-1.tar.gz) = 7769053
|
15
games/blobwars/patches/patch-doc_manual_html
Normal file
15
games/blobwars/patches/patch-doc_manual_html
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-doc_manual_html,v 1.1.1.1 2007/05/27 15:34:55 kili Exp $
|
||||
|
||||
Just point to the upstream GPL.
|
||||
|
||||
--- doc/manual.html.orig Sat May 5 16:22:50 2007
|
||||
+++ doc/manual.html Sat May 26 18:53:47 2007
|
||||
@@ -54,7 +54,7 @@ along with this program; if not, write to the Free Sof
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.<BR></P>
|
||||
|
||||
<P>Blob Wars : Metal Blob Solid is distributed and licensed under the GNU General Public License. You can read
|
||||
-the full license by clicking <A HREF="LICENSE">here</A>.</P>
|
||||
+the full license by clicking <A HREF="http://www.gnu.org/licenses/gpl.txt">here</A>.</P>
|
||||
|
||||
<P>This license agreement is shown the first time the game is played. IT MUST NOT BE REMOVED UNDER ANY
|
||||
CIRCUMSTANCES. DO NOT DISTRIBUTE THIS GAME IN ANY FORM WHERE THE USER DOES NOT SEE THE LICENSE.</P>
|
95
games/blobwars/patches/patch-makefile
Normal file
95
games/blobwars/patches/patch-makefile
Normal file
@ -0,0 +1,95 @@
|
||||
$OpenBSD: patch-makefile,v 1.1.1.1 2007/05/27 15:34:55 kili Exp $
|
||||
--- makefile.orig Sat May 5 16:22:48 2007
|
||||
+++ makefile Sun May 27 17:24:06 2007
|
||||
@@ -1,15 +1,14 @@
|
||||
PROG = blobwars
|
||||
PAKNAME = blobwars.pak
|
||||
-DOCS = doc/*
|
||||
+DOCS = doc/*.{gif,png,html}
|
||||
ICONS = icons/
|
||||
|
||||
VERSION = 1.07
|
||||
RELEASE = 1
|
||||
USEPAK = 1
|
||||
|
||||
-PREFIX=$(DESTDIR)/usr
|
||||
-BINDIR = $(PREFIX)/games/
|
||||
-DATADIR = $(PREFIX)/share/games/blobwars/
|
||||
+BINDIR = $(PREFIX)/bin/
|
||||
+DATADIR = $(PREFIX)/share/$(PROG)/data/
|
||||
DOCDIR = $(PREFIX)/share/doc/$(PROG)/
|
||||
ICONDIR = $(PREFIX)/share/icons/hicolor/
|
||||
DESKTOPDIR = $(PREFIX)/share/applications/
|
||||
@@ -19,7 +18,7 @@ CXXFLAGS += `sdl-config --cflags` -DVERSION=$(VERSION)
|
||||
CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"$(DATADIR)\" -DUNIX -DGAMEPLAYMANUAL=\"$(DOCDIR)index.html\" -Wall
|
||||
CXXFLAGS += -DLOCALEDIR=\"$(LOCALEDIR)\"
|
||||
CXXFLAGS += $(CFLAGS)
|
||||
-LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lz
|
||||
+LIBS = `sdl-config --libs` -lSDL_mixer -lSDL_image -lSDL_ttf -lz -lintl -liconv
|
||||
|
||||
OBJS += aquaBoss.o bosses.o bullets.o cutscene.o
|
||||
OBJS += CAudio.o CBoss.o CCollision.o CCutscene.o CData.o CEffect.o CEngine.o CEntity.o CFileData.o CGame.o
|
||||
@@ -38,7 +37,7 @@ PAKOBJS = CFileData.o pak.o
|
||||
LOCALE_MO = $(patsubst %.po,%.mo,$(wildcard locale/*.po))
|
||||
|
||||
# top-level rule to create the program.
|
||||
-all: $(PROG) pak $(LOCALE_MO)
|
||||
+all: $(PROG) buildpak $(LOCALE_MO)
|
||||
|
||||
# compiling other source files.
|
||||
%.o: src/%.cpp src/%.h src/defs.h src/defines.h src/headers.h
|
||||
@@ -61,35 +60,33 @@ mapeditor: $(MAPOBJS)
|
||||
clean:
|
||||
$(RM) $(GAMEOBJS) mapEditor.o pak.o $(PROG) $(PAKNAME) pak mapeditor $(LOCALE_MO)
|
||||
|
||||
-buildpak:
|
||||
+buildpak: pak
|
||||
./pak data gfx music sound $(PAKNAME)
|
||||
|
||||
# install
|
||||
install:
|
||||
+ $(BSD_INSTALL_PROGRAM_DIR) $(BINDIR)
|
||||
+ $(BSD_INSTALL_DATA_DIR) $(DATADIR)
|
||||
+ $(BSD_INSTALL_DATA_DIR) $(DOCDIR)
|
||||
+ $(BSD_INSTALL_DATA_DIR) $(ICONDIR)16x16/apps
|
||||
+ $(BSD_INSTALL_DATA_DIR) $(ICONDIR)32x32/apps
|
||||
+ $(BSD_INSTALL_DATA_DIR) $(ICONDIR)64x64/apps
|
||||
+ $(BSD_INSTALL_DATA_DIR) $(DESKTOPDIR)
|
||||
|
||||
- ./pak data gfx music sound $(PAKNAME)
|
||||
+ $(BSD_INSTALL_PROGRAM) $(PROG) $(BINDIR)
|
||||
+ $(BSD_INSTALL_DATA) $(PAKNAME) $(DATADIR)
|
||||
+ $(BSD_INSTALL_DATA) $(DOCS) $(DOCDIR)
|
||||
+ $(BSD_INSTALL_DATA) $(ICONS)$(PROG).png $(ICONDIR)32x32/apps
|
||||
+ $(BSD_INSTALL_DATA) $(ICONS)$(PROG)-mini.png \
|
||||
+ $(ICONDIR)16x16/apps/$(PROG).png
|
||||
+ $(BSD_INSTALL_DATA) $(ICONS)$(PROG)-large.png \
|
||||
+ $(ICONDIR)64x64/apps/$(PROG).png
|
||||
+ $(BSD_INSTALL_DATA) $(ICONS)$(PROG).desktop $(DESKTOPDIR)
|
||||
|
||||
- mkdir -p $(BINDIR)
|
||||
- mkdir -p $(DATADIR)
|
||||
- mkdir -p $(DOCDIR)
|
||||
- mkdir -p $(ICONDIR)16x16/apps
|
||||
- mkdir -p $(ICONDIR)32x32/apps
|
||||
- mkdir -p $(ICONDIR)64x64/apps
|
||||
- mkdir -p $(DESKTOPDIR)
|
||||
-
|
||||
- install -o root -g games -m 755 $(PROG) $(BINDIR)$(PROG)
|
||||
- install -o root -g games -m 644 $(PAKNAME) $(DATADIR)$(PAKNAME)
|
||||
- install -o root -g games -m 644 $(DOCS) $(DOCDIR)
|
||||
- cp $(ICONS)$(PROG).png $(ICONDIR)32x32/apps/
|
||||
- cp $(ICONS)$(PROG)-mini.png $(ICONDIR)16x16/apps/$(PROG).png
|
||||
- cp $(ICONS)$(PROG)-large.png $(ICONDIR)64x64/apps/$(PROG).png
|
||||
- cp $(ICONS)$(PROG).desktop $(DESKTOPDIR)
|
||||
-
|
||||
@for f in $(LOCALE_MO); do \
|
||||
lang=`echo $$f | sed -e 's/^locale\///;s/\.mo$$//'`; \
|
||||
- mkdir -p $(LOCALEDIR)$$lang/LC_MESSAGES; \
|
||||
- echo "cp $$f $(LOCALEDIR)$$lang/LC_MESSAGES/$(PROG).mo"; \
|
||||
- cp $$f $(LOCALEDIR)$$lang/LC_MESSAGES/$(PROG).mo; \
|
||||
+ $(BSD_INSTALL_DATA_DIR) $(LOCALEDIR)$$lang/LC_MESSAGES; \
|
||||
+ $(BSD_INSTALL_DATA) $$f $(LOCALEDIR)$$lang/LC_MESSAGES/$(PROG).mo; \
|
||||
done
|
||||
|
||||
uninstall:
|
9
games/blobwars/pkg/DESCR
Normal file
9
games/blobwars/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
Since their world was invaded by an alien race, the Blobs have faced
|
||||
a lifetime of war. But now they have a chance to win the war once
|
||||
and for all.
|
||||
|
||||
In Blob Wars : Metal Blob Solid, you take on the role of a fearless
|
||||
Blob agent, Bob. Bob's mission is to infiltrate the various enemy
|
||||
bases around the Blobs' homeworld and rescue as many MIAs as possible.
|
||||
But standing in his way are many vicious aliens, other Blobs who
|
||||
have been assimilated and the evil alien leader, Galdov.
|
44
games/blobwars/pkg/PLIST
Normal file
44
games/blobwars/pkg/PLIST
Normal file
@ -0,0 +1,44 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/05/27 15:34:55 kili Exp $
|
||||
bin/blobwars
|
||||
share/applications/
|
||||
share/applications/blobwars.desktop
|
||||
share/blobwars/
|
||||
share/blobwars/data/
|
||||
share/blobwars/data/blobwars.pak
|
||||
share/doc/blobwars/
|
||||
share/doc/blobwars/alienDevice.gif
|
||||
share/doc/blobwars/aquaLung.png
|
||||
share/doc/blobwars/bob.gif
|
||||
share/doc/blobwars/cherry.png
|
||||
share/doc/blobwars/contents.html
|
||||
share/doc/blobwars/eyeDroid.gif
|
||||
share/doc/blobwars/galdov.png
|
||||
share/doc/blobwars/grenadeIcon.png
|
||||
share/doc/blobwars/index.html
|
||||
share/doc/blobwars/jetpack.gif
|
||||
share/doc/blobwars/keyCard.gif
|
||||
share/doc/blobwars/laserIcon.png
|
||||
share/doc/blobwars/machineGunIcon.png
|
||||
share/doc/blobwars/manual.html
|
||||
share/doc/blobwars/pistolBlob.gif
|
||||
share/doc/blobwars/pistolIcon.png
|
||||
share/doc/blobwars/points.gif
|
||||
share/doc/blobwars/scaredMIA.gif
|
||||
share/doc/blobwars/spreadIcon.png
|
||||
share/doc/blobwars/title.png
|
||||
share/icons/
|
||||
share/icons/hicolor/
|
||||
share/icons/hicolor/16x16/
|
||||
share/icons/hicolor/16x16/apps/
|
||||
share/icons/hicolor/16x16/apps/blobwars.png
|
||||
share/icons/hicolor/32x32/
|
||||
share/icons/hicolor/32x32/apps/
|
||||
share/icons/hicolor/32x32/apps/blobwars.png
|
||||
share/icons/hicolor/64x64/
|
||||
share/icons/hicolor/64x64/apps/
|
||||
share/icons/hicolor/64x64/apps/blobwars.png
|
||||
share/locale/ca/LC_MESSAGES/blobwars.mo
|
||||
share/locale/es/LC_MESSAGES/blobwars.mo
|
||||
share/locale/nl/LC_MESSAGES/blobwars.mo
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec %D/bin/update-desktop-database
|
Loading…
Reference in New Issue
Block a user