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

(-)Makefile (-9 / +5 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	hex-a-hop
8
PORTNAME=	hex-a-hop
9
PORTVERSION=	1.0.0
9
PORTVERSION=	1.0.0
10
PORTREVISION=	3
10
PORTREVISION=	4
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	http://ftp.bishopston.net/freebsd/distfiles/ \
12
MASTER_SITES=	http://ftp.bishopston.net/freebsd/distfiles/ \
13
		ftp://ftp.bishopston.net/freebsd/distfiles/ \
13
		ftp://ftp.bishopston.net/freebsd/distfiles/ \
Lines 16-38 Link Here
16
MAINTAINER=	jamie@bishopston.net
16
MAINTAINER=	jamie@bishopston.net
17
COMMENT=	A puzzle game based on hexagonal tiles
17
COMMENT=	A puzzle game based on hexagonal tiles
18
18
19
NOT_FOR_ARCHS=	amd64 sparc64
20
NOT_FOR_ARCHS_REASON_amd64=	Probably an easy fix, but I've no access to an amd64 machine. Offers of help appreciated!
21
NOT_FOR_ARCHS_REASON_sparc64=	Probably an easy fix, but I've no access to an sparc64 machine. Offers of help appreciated!
22
23
USE_SDL=	sdl
19
USE_SDL=	sdl
24
MAKEFILE=	Makefile.FreeBSD
20
MAKEFILE=	Makefile.FreeBSD
25
ALL_TARGET=	${PORTNAME}
21
ALL_TARGET=	${PORTNAME}
26
22
27
MAKE_ARGS+=	SYSTEM_INSTALL_DIR="${PREFIX}/games/hex-a-hop/"
23
MAKE_ARGS+=	SYSTEM_INSTALL_DIR="${DATADIR}/"
28
DESKTOP_ENTRIES="Hex-a-Hop" "A puzzle game based on hexagonal tiles" \
24
DESKTOP_ENTRIES="Hex-a-Hop" "A puzzle game based on hexagonal tiles" \
29
		"${PREFIX}/games/hex-a-hop/graphics/icon.bmp" \
25
		"${PREFIX}/games/hex-a-hop/graphics/icon.bmp" \
30
		"hex-a-hop" "Application;LogicGame;Game;" false
26
		"hex-a-hop" "Application;LogicGame;Game;" false
31
27
32
do-install:
28
do-install:
33
	${INSTALL_PROGRAM} ${WRKSRC}/hex-a-hop ${PREFIX}/bin
29
	${INSTALL_PROGRAM} ${WRKSRC}/hex-a-hop ${PREFIX}/bin
34
	${MKDIR} ${PREFIX}/games/hex-a-hop/graphics/
30
	${MKDIR} ${DATADIR}/graphics
35
	${INSTALL_DATA} ${WRKSRC}/graphics/* ${PREFIX}/games/hex-a-hop/graphics
31
	${INSTALL_DATA} ${WRKSRC}/graphics/* ${DATADIR}/graphics/
36
	${INSTALL_DATA} ${WRKSRC}/levels.dat ${PREFIX}/games/hex-a-hop
32
	${INSTALL_DATA} ${WRKSRC}/levels.dat ${DATADIR}/
37
33
38
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)pkg-plist (-13 / +12 lines)
Lines 1-14 Link Here
1
bin/hex-a-hop
1
bin/hex-a-hop
2
games/hex-a-hop/graphics/emi.dat
2
%%DATADIR%%/graphics/emi.dat
3
games/hex-a-hop/graphics/font.dat
3
%%DATADIR%%/graphics/font.dat
4
games/hex-a-hop/graphics/gradient.dat
4
%%DATADIR%%/graphics/gradient.dat
5
games/hex-a-hop/graphics/icon.bmp
5
%%DATADIR%%/graphics/icon.bmp
6
games/hex-a-hop/graphics/map.dat
6
%%DATADIR%%/graphics/map.dat
7
games/hex-a-hop/graphics/map_top.dat
7
%%DATADIR%%/graphics/map_top.dat
8
games/hex-a-hop/graphics/tiles.dat
8
%%DATADIR%%/graphics/tiles.dat
9
games/hex-a-hop/graphics/tiles_reflect.dat
9
%%DATADIR%%/graphics/tiles_reflect.dat
10
games/hex-a-hop/graphics/title.dat
10
%%DATADIR%%/graphics/title.dat
11
games/hex-a-hop/levels.dat
11
%%DATADIR%%/levels.dat
12
@dirrm games/hex-a-hop/graphics/
12
@dirrm %%DATADIR%%/graphics
13
@dirrm games/hex-a-hop/
13
@dirrm %%DATADIR%%
14
@dirrmtry games/
(-)files/patch-hex_puzzzle.cpp (+11 lines)
Added Link Here
1
--- hex_puzzzle.cpp.orig	2006-02-21 07:12:34.000000000 +0300
2
+++ hex_puzzzle.cpp	2008-09-14 21:34:14.296378652 +0400
3
@@ -2313,7 +2313,7 @@
4
 
5
 	SDL_Surface* Load(const char * bmp, bool colourKey=true)
6
 	{
7
-		typedef unsigned long uint32;
8
+		typedef unsigned int uint32;
9
 		uint32* tmp = 0;
10
 
11
 		SDL_Surface * g = 0;
(-)files/patch-menus.h (+11 lines)
Added Link Here
1
--- menus.h.orig	2006-02-21 06:10:35.000000000 +0300
2
+++ menus.h	2008-09-14 21:34:41.711083734 +0400
3
@@ -1073,7 +1073,7 @@
4
 		if (under)
5
 			under->Render();
6
 
7
-		RenderFade(time, dir, (int)this);
8
+		RenderFade(time, dir, reinterpret_cast<intptr_t>(this));
9
 	}
10
 	void Update(double timedelta)
11
 	{

Return to bug 127385