From owner-svn-ports-head@FreeBSD.ORG Tue Dec 17 13:42:44 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6039749A; Tue, 17 Dec 2013 13:42:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4A5821358; Tue, 17 Dec 2013 13:42:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBHDgifv084181; Tue, 17 Dec 2013 13:42:44 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBHDggNP084170; Tue, 17 Dec 2013 13:42:42 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201312171342.rBHDggNP084170@svn.freebsd.org> From: Rusmir Dusko Date: Tue, 17 Dec 2013 13:42:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336723 - in head: . games games/blobwars games/blobwars/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 13:42:44 -0000 Author: nemysis Date: Tue Dec 17 13:42:42 2013 New Revision: 336723 URL: http://svnweb.freebsd.org/changeset/ports/336723 Log: 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) Added: head/games/blobwars/ - copied from r218872, head/games/blobwars/ head/games/blobwars/files/patch-src__CReplayData.cpp (contents, props changed) head/games/blobwars/files/patch-src__pak.cpp (contents, props changed) Deleted: head/games/blobwars/files/patch-makefile Modified: head/MOVED head/games/Makefile head/games/blobwars/Makefile (contents, props changed) head/games/blobwars/distinfo (contents, props changed) head/games/blobwars/pkg-descr (contents, props changed) head/games/blobwars/pkg-plist (contents, props changed) Modified: head/MOVED ============================================================================== --- head/MOVED Tue Dec 17 13:20:40 2013 (r336722) +++ head/MOVED Tue Dec 17 13:42:42 2013 (r336723) @@ -229,7 +229,6 @@ x11-wm/beryl-settings-bindings||2008-08- 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 Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue Dec 17 13:20:40 2013 (r336722) +++ head/games/Makefile Tue Dec 17 13:42:42 2013 (r336723) @@ -81,6 +81,7 @@ SUBDIR += blinkensisters SUBDIR += blobby SUBDIR += bloboats + SUBDIR += blobwars SUBDIR += block SUBDIR += blockade SUBDIR += blockout Modified: head/games/blobwars/Makefile ============================================================================== --- head/games/blobwars/Makefile Tue Aug 19 22:26:36 2008 (r218872) +++ head/games/blobwars/Makefile Tue Dec 17 13:42:42 2013 (r336723) @@ -1,37 +1,59 @@ -# New ports collection makefile for: blobwars -# Date created: 14 June 2005 -# Whom: Loren M. Lang -# +# Created by: Loren M. Lang # $FreeBSD$ -# PORTNAME= blobwars -DISTVERSION= 1.08-1 +PORTVERSION= 1.19 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_GENTOO} -MASTER_SITE_SUBDIR=distfiles +MASTER_SITES= SF/${PORTNAME}/ -MAINTAINER= lorenl@north-winds.org -COMMENT= You are the fearless Blob agent, Bob +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 -USE_GETTEXT= yes -USE_SDL= sdl image mixer ttf -USE_GMAKE= yes -WRKSRC= ${WRKDIR}/blobwars-${DISTVERSION:C/-[0-9]$//} +INSTALLS_ICONS= yes -.if !defined(NOPORTDOCS) -PORTDOCS= * -.endif +PORTDOCS= *.gif *.png *.html changes hacking porting readme samples + +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes + +NLS_USES= gettext + +.include post-patch: - @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/makefile + @${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 -.if !defined(NOPORTDOCS) post-install: - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} -.endif + ${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 Modified: head/games/blobwars/distinfo ============================================================================== --- head/games/blobwars/distinfo Tue Aug 19 22:26:36 2008 (r218872) +++ head/games/blobwars/distinfo Tue Dec 17 13:42:42 2013 (r336723) @@ -1,3 +1,2 @@ -MD5 (blobwars-1.08-1.tar.gz) = 16462e3ee394b05432fab820a7de8389 -SHA256 (blobwars-1.08-1.tar.gz) = 58b5a7ef1889385c1783b457a2d16eaf7946db9883e5c11c3564147032d2214d -SIZE (blobwars-1.08-1.tar.gz) = 7810311 +SHA256 (blobwars-1.19.tar.gz) = f9bafe59ead9e370ceaba4aae3d280241bf05fa06c8ae006eec0322c2fe9e2ed +SIZE (blobwars-1.19.tar.gz) = 67019647 Added: head/games/blobwars/files/patch-src__CReplayData.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/blobwars/files/patch-src__CReplayData.cpp Tue Dec 17 13:42:42 2013 (r336723) @@ -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); Added: head/games/blobwars/files/patch-src__pak.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/blobwars/files/patch-src__pak.cpp Tue Dec 17 13:42:42 2013 (r336723) @@ -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 Modified: head/games/blobwars/pkg-descr ============================================================================== --- head/games/blobwars/pkg-descr Tue Aug 19 22:26:36 2008 (r218872) +++ head/games/blobwars/pkg-descr Tue Dec 17 13:42:42 2013 (r336723) @@ -1,13 +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. +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. -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. - -WWW: http://www.parallelrealities.co.uk/blobWars.php - -- Loren M. Lang -lorenl@alzatex.com +WWW: http://www.parallelrealities.co.uk/p/blob-wars-metal-blob-solid.html Modified: head/games/blobwars/pkg-plist ============================================================================== --- head/games/blobwars/pkg-plist Tue Aug 19 22:26:36 2008 (r218872) +++ head/games/blobwars/pkg-plist Tue Dec 17 13:42:42 2013 (r336723) @@ -1,11 +1,16 @@ bin/blobwars -%%DATADIR%%/blobwars.pak share/applications/blobwars.desktop -share/locale/ca/LC_MESSAGES/blobwars.mo -share/locale/da/LC_MESSAGES/blobwars.mo -share/locale/de/LC_MESSAGES/blobwars.mo -share/locale/es/LC_MESSAGES/blobwars.mo -share/locale/nl/LC_MESSAGES/blobwars.mo +%%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%% -@dirrmtry share/applications