Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2017 21:32:32 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433917 - in head/games/blobby: . files
Message-ID:  <201702112132.v1BLWWnt083423@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Sat Feb 11 21:32:32 2017
New Revision: 433917
URL: https://svnweb.freebsd.org/changeset/ports/433917

Log:
  Update to 1.0, fix license and add .desktop file
  
  PR:		216965
  Submitted by:	amdmi3

Added:
  head/games/blobby/files/patch-src_NetworkMessage.cpp   (contents, props changed)
Deleted:
  head/games/blobby/files/patch-src-InputManager.cpp
  head/games/blobby/files/patch-src-RenderManager.cpp
  head/games/blobby/files/patch-src-raknet-RakPeer.cpp
Modified:
  head/games/blobby/Makefile
  head/games/blobby/distinfo
  head/games/blobby/pkg-plist

Modified: head/games/blobby/Makefile
==============================================================================
--- head/games/blobby/Makefile	Sat Feb 11 21:28:03 2017	(r433916)
+++ head/games/blobby/Makefile	Sat Feb 11 21:32:32 2017	(r433917)
@@ -2,37 +2,47 @@
 # $FreeBSD$
 
 PORTNAME=	blobby
-PORTVERSION=	1.0r3
-PORTREVISION=	6
+PORTVERSION=	1.0
+PORTEPOCH=	1
 CATEGORIES=	games
-MASTER_SITES=	SF/${PORTNAME}/Blobby%20Volley%202%20%28Linux%29/1.0RC3/
-DISTNAME=	blobby2-linux-1.0rc3
+MASTER_SITES=	SF/${PORTNAME}/Blobby%20Volley%202%20%28Linux%29/${PORTVERSION}
+DISTNAME=	blobby2-linux-${PORTVERSION}
 
 MAINTAINER=	martymac@FreeBSD.org
 COMMENT=	Official continuation of the famous Blobby Volley 1.x game
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2+
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libphysfs.so:devel/physfs \
-		libdrm.so:graphics/libdrm
+LIB_DEPENDS=	libphysfs.so:devel/physfs
 BUILD_DEPENDS=	zip:archivers/zip \
 		${LOCALBASE}/include/boost/crc.hpp:devel/boost-libs
 
-USE_XORG=	ice x11 xext xxf86vm xdamage xfixes xau xdmcp xrandr xrender
-USE_SDL=	sdl
-USE_GL=		glu
+BROKEN_aarch64=	fails to compile: I can't tell what endian-ness to use for your architecture
 
-USES=		dos2unix cmake
+USES=		cmake dos2unix localbase:ldflags pkgconfig
 DOS2UNIX_REGEX=	.*\.(c|h|cpp)
-CMAKE_ARGS+=	-DDATADIR:PATH="${DATADIR}"
-WRKSRC=		${WRKDIR}/blobby-1.0rc3
+CMAKE_ARGS=	-DDATADIR:PATH="${DATADIR}"
+WRKSRC=		${WRKDIR}/blobby-${PORTVERSION}
+USE_SDL=	sdl2
+USE_GL=		gl
+
+PORTDOCS=	AUTHORS ChangeLog README TODO
+
+DESKTOP_ENTRIES="Blobby Volley" \
+		"" \
+		"${DATADIR}/Icon.bmp" \
+		"${PORTNAME}" \
+		"Game;ArcadeGame;" \
+		""
 
-PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README TODO
-
-BROKEN_aarch64=		Fails to compile: I can't tell what endian-ness to use for your architecture
+OPTIONS_DEFINE=	DOCS
 
 post-install:
-	@${MKDIR}  ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/data/Icon.bmp ${STAGEDIR}${DATADIR}/
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/blobby/distinfo
==============================================================================
--- head/games/blobby/distinfo	Sat Feb 11 21:28:03 2017	(r433916)
+++ head/games/blobby/distinfo	Sat Feb 11 21:32:32 2017	(r433917)
@@ -1,2 +1,3 @@
-SHA256 (blobby2-linux-1.0rc3.tar.gz) = 45bdb2530b7eb1b508693d304e31088c9a9b366f978f716b5a0cf1e7c502c581
-SIZE (blobby2-linux-1.0rc3.tar.gz) = 2323776
+TIMESTAMP = 1479124820
+SHA256 (blobby2-linux-1.0.tar.gz) = ba7a049e298aaa2014c1e1ac1faf3b0256b4c66266cd4db06e7939e8695bf5e2
+SIZE (blobby2-linux-1.0.tar.gz) = 1772918

Added: head/games/blobby/files/patch-src_NetworkMessage.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/blobby/files/patch-src_NetworkMessage.cpp	Sat Feb 11 21:32:32 2017	(r433917)
@@ -0,0 +1,10 @@
+--- src/NetworkMessage.cpp.orig	2014-03-22 13:31:21 UTC
++++ src/NetworkMessage.cpp
+@@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place, Suite
+ 
+ /* includes */
+ #include <cstring>
++#include <iostream>
+ 
+ #include "UserConfig.h"
+ #include "SpeedController.h"

Modified: head/games/blobby/pkg-plist
==============================================================================
--- head/games/blobby/pkg-plist	Sat Feb 11 21:28:03 2017	(r433916)
+++ head/games/blobby/pkg-plist	Sat Feb 11 21:32:32 2017	(r433917)
@@ -1,5 +1,6 @@
 bin/blobby
 bin/blobby-server
+%%DATADIR%%/Icon.bmp
 %%DATADIR%%/backgrounds.zip
 %%DATADIR%%/config.xml
 %%DATADIR%%/gfx.zip
@@ -7,7 +8,7 @@ bin/blobby-server
 %%DATADIR%%/lang_de.xml
 %%DATADIR%%/lang_en.xml
 %%DATADIR%%/lang_fr.xml
-%%DATADIR%%/rules.lua
+%%DATADIR%%/rules.zip
 %%DATADIR%%/scripts.zip
 %%DATADIR%%/server.xml
 %%DATADIR%%/sounds.zip



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702112132.v1BLWWnt083423>