1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Blob Wars : Metal Blob Solid is a platform game, not unlike those found on

the Amiga and SNES. The object of the game is to take on the role of
solider Blob, Bob, and play through the various levels and attempt to rescue as
many MIA (Missing In Action) Blobs as possible. This is not quite as straight
forward as it sounds, since the MIAs will often be not directly reachable and
will require some extra thought. Bob also has to contend with environmental
hazards, alien invaders and assimilated Blobs.

WWW: http://www.parallelrealities.co.uk/p/blob-wars-metal-blob-solid.html

Approved by:	pawel (mentor)
This commit is contained in:
Rusmir Dusko 2013-12-17 13:42:42 +00:00
parent 79104f9813
commit ec0051c414
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336723
8 changed files with 119 additions and 1 deletions

1
MOVED
View File

@ -229,7 +229,6 @@ x11-wm/beryl-settings-bindings||2008-08-18|Has expired: No longer supported -- u
japanese/lyx|print/lyx|2008-08-18|No longer maintained and print/lyx now supports Unicode
japanese/lyx-doc||2008-08-18|Obsolete
games/blobandconquer||2008-08-20|Removed due to copyright problems
games/blobwars||2008-08-20|Removed due to copyright problems
games/randomshooter||2008-08-20|Removed due to copyright problems
devel/autoconf261|devel/autoconf262|2008-08-20|Migration to autoconf-2.62
x11-themes/enlightenment-theme-BlueSteel||2008-08-20|Deprecated by x11-themes/e16-themes

View File

@ -81,6 +81,7 @@
SUBDIR += blinkensisters
SUBDIR += blobby
SUBDIR += bloboats
SUBDIR += blobwars
SUBDIR += block
SUBDIR += blockade
SUBDIR += blockout

59
games/blobwars/Makefile Normal file
View File

@ -0,0 +1,59 @@
# Created by: Loren M. Lang <lorenl@alzatex.com>
# $FreeBSD$
PORTNAME= blobwars
PORTVERSION= 1.19
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Mission and Objective based 2D Platform Game
LICENSE= GPLv2 CCbyNCSA3
LICENSE_COMB= dual
LICENSE_NAME_CCbyNCSA3=Attribution-NonCommercial-ShareAlike 3.0 Unported
LICENSE_FILE= ${WRKSRC}/doc/license
LICENSE_TEXT_CCbyNCSA3=CC-BY 3.0
LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
USES= gmake
USE_SDL= image mixer net sdl ttf
WITH_ZLIB= yes
MAKEFILE= makefile
INSTALLS_ICONS= yes
PORTDOCS= *.gif *.png *.html changes hacking porting readme samples
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} \
-e 's|mkdir -p $$(DESTDIR)$$(DOCDIR)|| ; \
s|cp -p $$(DOCS) $$(DESTDIR)$$(DOCDIR)|| ; \
s|USEPAK ?= 0|USEPAK ?= 1| ; \
s|/usr|${LOCALBASE}| ; \
s|$$(PREFIX)/games/|$$(PREFIX)/bin/| ; \
s|/share/games/blobwars/|/share/blobwars/| ; \
s| -Werror||' \
-e '/LIBS =/s/-lz/-lz -lintl/' \
${WRKSRC}/makefile
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -i '' -e '/LOCALE_MO =/d' \
${WRKSRC}/makefile
.endif
post-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/64x64/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

2
games/blobwars/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (blobwars-1.19.tar.gz) = f9bafe59ead9e370ceaba4aae3d280241bf05fa06c8ae006eec0322c2fe9e2ed
SIZE (blobwars-1.19.tar.gz) = 67019647

View File

@ -0,0 +1,12 @@
--- ./src/CReplayData.cpp.orig 2011-04-17 16:56:56.000000000 +0200
+++ ./src/CReplayData.cpp 2013-12-08 23:21:23.000000000 +0100
@@ -38,7 +38,8 @@
void ReplayData::printReplayInformation()
{
- tm *timeinfo = localtime(&header.randomSeed);
+ time_t t = header.randomSeed;
+ tm *timeinfo = localtime(&t);
printf("Recorded on : %s", asctime(timeinfo));
printf("Map : %s\n", header.map);
printf("Score : %d\n", header.score);

View File

@ -0,0 +1,20 @@
--- ./src/pak.cpp.orig 2011-04-17 16:56:56.000000000 +0200
+++ ./src/pak.cpp 2013-12-08 23:09:51.000000000 +0100
@@ -119,7 +119,7 @@
{
printf("Couldn't open %s for reading!\n", filename);
closedir(dirp);
- gzclose(pak);
+ gzclose((gzFile)pak);
exit(1);
}
@@ -141,7 +141,7 @@
{
printf("Couldn't open %s for reading!\n", filename);
closedir(dirp);
- gzclose(pak);
+ gzclose((gzFile)pak);
exit(1);
}
else

9
games/blobwars/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
Blob Wars : Metal Blob Solid is a platform game, not unlike those found on
the Amiga and SNES. The object of the game is to take on the role of
solider Blob, Bob, and play through the various levels and attempt to rescue as
many MIA (Missing In Action) Blobs as possible. This is not quite as straight
forward as it sounds, since the MIAs will often be not directly reachable and
will require some extra thought. Bob also has to contend with environmental
hazards, alien invaders and assimilated Blobs.
WWW: http://www.parallelrealities.co.uk/p/blob-wars-metal-blob-solid.html

16
games/blobwars/pkg-plist Normal file
View File

@ -0,0 +1,16 @@
bin/blobwars
share/applications/blobwars.desktop
%%DATADIR%%/blobwars.pak
share/icons/hicolor/16x16/apps/blobwars.png
share/icons/hicolor/32x32/apps/blobwars.png
share/icons/hicolor/64x64/apps/blobwars.png
%%NLS%%share/locale/ca/LC_MESSAGES/blobwars.mo
%%NLS%%share/locale/da/LC_MESSAGES/blobwars.mo
%%NLS%%share/locale/de/LC_MESSAGES/blobwars.mo
%%NLS%%share/locale/es/LC_MESSAGES/blobwars.mo
%%NLS%%share/locale/fr/LC_MESSAGES/blobwars.mo
%%NLS%%share/locale/nl/LC_MESSAGES/blobwars.mo
%%NLS%%share/locale/pl/LC_MESSAGES/blobwars.mo
%%NLS%%share/locale/sv/LC_MESSAGES/blobwars.mo
share/pixmaps/blobwars.png
@dirrm %%DATADIR%%