Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2012 23:28:37 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308496 - in head/games/frogatto: . files
Message-ID:  <201212082328.qB8NSbi9040199@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rakuco
Date: Sat Dec  8 23:28:37 2012
New Revision: 308496
URL: http://svnweb.freebsd.org/changeset/ports/308496

Log:
  Update to 1.2.
  
  PR:		ports/173535
  Submitted by:	Green Dog <fiziologus@gmail.com> (maintainer)
  Feature safe:	yes

Added:
  head/games/frogatto/files/patch-data-objects-enemies-milgramen-milgram_pod_launcher.cfg   (contents, props changed)
  head/games/frogatto/files/patch-src-custom_object.cpp   (contents, props changed)
Deleted:
  head/games/frogatto/files/patch-src-IMG_savepng.cpp
  head/games/frogatto/files/patch-src-server.cpp
Modified:
  head/games/frogatto/Makefile
  head/games/frogatto/distinfo

Modified: head/games/frogatto/Makefile
==============================================================================
--- head/games/frogatto/Makefile	Sat Dec  8 23:07:46 2012	(r308495)
+++ head/games/frogatto/Makefile	Sat Dec  8 23:28:37 2012	(r308496)
@@ -1,25 +1,25 @@
-# New ports collection makefile for:	Frogatto & Friends
-# Date created:				14 Jul 2010
-# Whom:					Alexey Dokuchaev <danfe@FreeBSD.org>
-#
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	frogatto
-PORTVERSION=	1.1.1
-PORTREVISION=	3
+PORTVERSION=	1.2
 CATEGORIES=	games
-MASTER_SITES=	http://www.frogatto.com/files/
+MASTER_SITES=	GH
 
 MAINTAINER=	fiziologus@gmail.com
 COMMENT=	An old-school 2D classic adventure platformer game
 
-NO_PACKAGE=	Package will be 144M, set FORCE_PACKAGE if you really want it
-
 LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost-libs \
 		png15:${PORTSDIR}/graphics/png
 
-USE_BZIP2=	yes
+NO_PACKAGE=	Package will be 144M, set FORCE_PACKAGE if you really want it
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	frogatto
+GH_PROGECT=	frogatto
+GH_TAGNAME=	${PORTVERSION}
+GH_COMMIT=	64c84bf
+
 USE_GMAKE=	yes
 ALL_TARGET=	game server
 USE_GL=		glew
@@ -35,7 +35,7 @@ post-patch:
 		-e 's,= (ccache )?g\+\+,:= $$(CXX) $$(CXXFLAGS),' \
 		-e 's, -O2,, ; s, -g,, ; s, -L/usr/lib,, ; s, -L/sw/lib,,' \
 		-e '/server/s,`.*mixer,-L${LOCALBASE}/lib ${PTHREAD_LIBS},' \
-		-e 's,-mt,,g' ${WRKSRC}/Makefile
+		-e 's,-mt,,g' -e 's,-lpng,-lpng15,g' ${WRKSRC}/Makefile
 # Point to the right location where to look for resources on FreeBSD
 	@${REINPLACE_CMD} -e 's,HAVE_CONFIG_H,__FreeBSD__,' \
 		-e 's,DATADIR,"${DATADIR}",' ${WRKSRC}/src/filesystem.cpp
@@ -49,6 +49,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/server ${PREFIX}/bin/${PORTNAME}-server
 	cd ${WRKSRC} && ${COPYTREE_SHARE} "data images music sounds" \
 		${DATADIR}
+	cd ${WRKSRC}/locale && ${MV} hu_HU hu && ${MV} ms_MY ms
 	cd ${WRKSRC} && ${COPYTREE_SHARE} "locale" ${PREFIX}/share
 # Fix permissions on DATADIR after COPYTREE_SHARE (cpio(1) defaults to 700
 # if target directory (${DATADIR}) does not exist)

Modified: head/games/frogatto/distinfo
==============================================================================
--- head/games/frogatto/distinfo	Sat Dec  8 23:07:46 2012	(r308495)
+++ head/games/frogatto/distinfo	Sat Dec  8 23:28:37 2012	(r308496)
@@ -1,2 +1,2 @@
-SHA256 (frogatto-1.1.1.tar.bz2) = d2404d8d83d5d5e2b42b25f632113d5fbfc22d2ef72c4a44ec7833257e550670
-SIZE (frogatto-1.1.1.tar.bz2) = 151088361
+SHA256 (frogatto-1.2.tar.gz) = b735bda8d409612eecc79e84d218b3bd460470f8bccca3472d08c893d91d1232
+SIZE (frogatto-1.2.tar.gz) = 261545835

Added: head/games/frogatto/files/patch-data-objects-enemies-milgramen-milgram_pod_launcher.cfg
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/frogatto/files/patch-data-objects-enemies-milgramen-milgram_pod_launcher.cfg	Sat Dec  8 23:28:37 2012	(r308496)
@@ -0,0 +1,11 @@
+--- data/objects/enemies/milgramen/milgram_pod_launcher.cfg.orig	2012-11-10 21:52:46.000000000 +0400
++++ data/objects/enemies/milgramen/milgram_pod_launcher.cfg	2012-11-10 21:54:05.000000000 +0400
+@@ -74,7 +74,7 @@
+ 	
+ 	on_die="spawn('explosion_big_recurring',  midpoint_x, midpoint_y, facing)"
+ 	
+-	solid_area=10,20,38,50
++	solid_area=14,20,34,50
+ 
+ 		[base:animation]
+ 		image=enemies/milgram-pod-launcher.png

Added: head/games/frogatto/files/patch-src-custom_object.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/frogatto/files/patch-src-custom_object.cpp	Sat Dec  8 23:28:37 2012	(r308496)
@@ -0,0 +1,11 @@
+--- src/custom_object.cpp.orig	2011-11-30 09:31:31.000000000 +0400
++++ src/custom_object.cpp	2012-11-10 21:39:11.000000000 +0400
+@@ -1394,7 +1394,7 @@
+ 	set_driver_position();
+ 
+ 	if(blur_) {
+-		blur_->next_frame(start_x, start_y, x(), y(), frame_, time_in_frame_, face_right(), upside_down(), rotate_.value());
++		blur_->next_frame(start_x, start_y, x(), y(), frame_, time_in_frame_, face_right(), upside_down(), rotate_.as_float());
+ 		if(blur_->destroyed()) {
+ 			blur_.reset();
+ 		}



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