View | Details | Raw Unified | Return to bug 173535
Collapse All | Expand All

(-)frogatto/Makefile (-5 / +9 lines)
Lines 6-25 Link Here
6
#
6
#
7
7
8
PORTNAME=	frogatto
8
PORTNAME=	frogatto
9
PORTVERSION=	1.1.1
9
PORTVERSION=	1.2
10
PORTREVISION=	3
11
CATEGORIES=	games
10
CATEGORIES=	games
12
MASTER_SITES=	http://www.frogatto.com/files/
11
MASTER_SITES=	GH
13
12
14
MAINTAINER=	fiziologus@gmail.com
13
MAINTAINER=	fiziologus@gmail.com
15
COMMENT=	An old-school 2D classic adventure platformer game
14
COMMENT=	An old-school 2D classic adventure platformer game
16
15
17
NO_PACKAGE=	Package will be 144M, set FORCE_PACKAGE if you really want it
16
NO_PACKAGE=	Package will be 144M, set FORCE_PACKAGE if you really want it
18
17
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	frogatto
20
GH_PROGECT=	frogatto
21
GH_TAGNAME=	${PORTVERSION}
22
GH_COMMIT=	64c84bf
23
19
LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost-libs \
24
LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost-libs \
20
		png15:${PORTSDIR}/graphics/png
25
		png15:${PORTSDIR}/graphics/png
21
26
22
USE_BZIP2=	yes
23
USE_GMAKE=	yes
27
USE_GMAKE=	yes
24
ALL_TARGET=	game server
28
ALL_TARGET=	game server
25
USE_GL=		glew
29
USE_GL=		glew
Lines 35-41 Link Here
35
		-e 's,= (ccache )?g\+\+,:= $$(CXX) $$(CXXFLAGS),' \
39
		-e 's,= (ccache )?g\+\+,:= $$(CXX) $$(CXXFLAGS),' \
36
		-e 's, -O2,, ; s, -g,, ; s, -L/usr/lib,, ; s, -L/sw/lib,,' \
40
		-e 's, -O2,, ; s, -g,, ; s, -L/usr/lib,, ; s, -L/sw/lib,,' \
37
		-e '/server/s,`.*mixer,-L${LOCALBASE}/lib ${PTHREAD_LIBS},' \
41
		-e '/server/s,`.*mixer,-L${LOCALBASE}/lib ${PTHREAD_LIBS},' \
38
		-e 's,-mt,,g' ${WRKSRC}/Makefile
42
		-e 's,-mt,,g' -e 's,-lpng,-lpng15,g' ${WRKSRC}/Makefile
39
# Point to the right location where to look for resources on FreeBSD
43
# Point to the right location where to look for resources on FreeBSD
40
	@${REINPLACE_CMD} -e 's,HAVE_CONFIG_H,__FreeBSD__,' \
44
	@${REINPLACE_CMD} -e 's,HAVE_CONFIG_H,__FreeBSD__,' \
41
		-e 's,DATADIR,"${DATADIR}",' ${WRKSRC}/src/filesystem.cpp
45
		-e 's,DATADIR,"${DATADIR}",' ${WRKSRC}/src/filesystem.cpp
(-)frogatto/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (frogatto-1.1.1.tar.bz2) = d2404d8d83d5d5e2b42b25f632113d5fbfc22d2ef72c4a44ec7833257e550670
1
SHA256 (frogatto-1.2.tar.gz) = b735bda8d409612eecc79e84d218b3bd460470f8bccca3472d08c893d91d1232
2
SIZE (frogatto-1.1.1.tar.bz2) = 151088361
2
SIZE (frogatto-1.2.tar.gz) = 261545835
(-)frogatto/files/patch-data-objects-enemies-milgramen-milgram_pod_launcher.cfg (+11 lines)
Line 0 Link Here
1
--- data/objects/enemies/milgramen/milgram_pod_launcher.cfg.orig	2012-11-10 21:52:46.000000000 +0400
2
+++ data/objects/enemies/milgramen/milgram_pod_launcher.cfg	2012-11-10 21:54:05.000000000 +0400
3
@@ -74,7 +74,7 @@
4
 	
5
 	on_die="spawn('explosion_big_recurring',  midpoint_x, midpoint_y, facing)"
6
 	
7
-	solid_area=10,20,38,50
8
+	solid_area=14,20,34,50
9
 
10
 		[base:animation]
11
 		image=enemies/milgram-pod-launcher.png
(-)frogatto/files/patch-src-IMG_savepng.cpp (-10 lines)
Lines 1-10 Link Here
1
--- src/IMG_savepng.cpp.orig	2011-04-08 16:11:45.000000000 +0200
2
+++ src/IMG_savepng.cpp	2012-05-25 18:51:10.000000000 +0200
3
@@ -27,6 +27,7 @@
4
 
5
 #ifdef IMPLEMENT_SAVE_PNG
6
 #include <png.h>
7
+#include <zlib.h>
8
 #endif
9
 
10
 #include <stdlib.h>
(-)frogatto/files/patch-src-custom_object.cpp (+11 lines)
Line 0 Link Here
1
--- src/custom_object.cpp.orig	2011-11-30 09:31:31.000000000 +0400
2
+++ src/custom_object.cpp	2012-11-10 21:39:11.000000000 +0400
3
@@ -1394,7 +1394,7 @@
4
 	set_driver_position();
5
 
6
 	if(blur_) {
7
-		blur_->next_frame(start_x, start_y, x(), y(), frame_, time_in_frame_, face_right(), upside_down(), rotate_.value());
8
+		blur_->next_frame(start_x, start_y, x(), y(), frame_, time_in_frame_, face_right(), upside_down(), rotate_.as_float());
9
 		if(blur_->destroyed()) {
10
 			blur_.reset();
11
 		}
(-)frogatto/files/patch-src-server.cpp (-11 lines)
Lines 1-11 Link Here
1
--- src/server.cpp.orig	2012-03-12 10:21:03.000000000 +0300
2
+++ src/server.cpp	2012-03-12 10:21:15.000000000 +0300
3
@@ -37,7 +37,7 @@
4
 private:
5
 	void start_accept()
6
 	{
7
-		socket_ptr socket(new tcp::socket(acceptor_.io_service()));
8
+		socket_ptr socket(new tcp::socket(acceptor_.get_io_service()));
9
 		acceptor_.async_accept(*socket, boost::bind(&server::handle_accept, this, socket, boost::asio::placeholders::error));
10
 	}
11

Return to bug 173535