Index: head/games/chapping/Makefile =================================================================== --- head/games/chapping/Makefile (revision 472065) +++ head/games/chapping/Makefile (revision 472066) @@ -1,36 +1,39 @@ # Created by: Dmitry Marakasov # $FreeBSD$ PORTNAME= chapping PORTVERSION= 0.43 PORTREVISION= 13 CATEGORIES= games MASTER_SITES= http://forja.rediris.es/frs/download.php/760/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src MAINTAINER= amdmi3@FreeBSD.org COMMENT= Turn based board football game +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + USES= gmake tar:bzip2 USE_SDL= sdl image gfx ttf WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source ALL_TARGET= linux PLIST_FILES= bin/${PORTNAME} PORTDATA= * post-patch: @${REINPLACE_CMD} -e 's|make|$${MAKE}|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^CXX=/ d; s|^SDL=.*|SDL=${SDL_CONFIG}|; \ /\.o:/ d; /^CXXFLAGS=/ s|=-g -Wall -O2|+=|' \ ${WRKSRC}/library/Makefile ${WRKSRC}/game/Makefile @${REINPLACE_CMD} -e 's|menuimg/|${DATADIR}/&|; s|themes/|${DATADIR}/&|' \ ${WRKSRC}/game/*.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ cd ${WRKSRC} && ${COPYTREE_SHARE} "menuimg themes" ${STAGEDIR}${DATADIR}/ .include Index: head/games/chapping/files/patch-game-choosestadium.cpp =================================================================== --- head/games/chapping/files/patch-game-choosestadium.cpp (revision 472065) +++ head/games/chapping/files/patch-game-choosestadium.cpp (revision 472066) @@ -1,10 +1,10 @@ ---- game/choosestadium.cpp.orig 2013-09-13 21:14:11.171227695 +0400 -+++ game/choosestadium.cpp 2013-09-13 21:14:29.875227107 +0400 +--- game/choosestadium.cpp.orig 2008-05-06 17:38:43 UTC ++++ game/choosestadium.cpp @@ -5,6 +5,7 @@ #include #include #include +#include // for chdir() #define THEMES_DIR "themes/" Index: head/games/chapping/files/patch-game-soccergame.cpp =================================================================== --- head/games/chapping/files/patch-game-soccergame.cpp (revision 472065) +++ head/games/chapping/files/patch-game-soccergame.cpp (revision 472066) @@ -1,8 +1,8 @@ ---- game/soccergame.cpp.orig 2013-09-13 20:44:15.075226353 +0400 -+++ game/soccergame.cpp 2013-09-13 20:45:02.462227890 +0400 +--- game/soccergame.cpp.orig 2008-05-06 17:38:43 UTC ++++ game/soccergame.cpp @@ -1,3 +1,5 @@ +#include // for chdir + #include "soccergame.h" #include "stadium.h" #include "menuchapping.h" Index: head/games/chapping/files/patch-game-team.h =================================================================== --- head/games/chapping/files/patch-game-team.h (revision 472065) +++ head/games/chapping/files/patch-game-team.h (revision 472066) @@ -1,11 +1,11 @@ ---- game/team.h.orig 2008-04-16 11:31:25.000000000 +0400 -+++ game/team.h 2013-05-30 21:54:04.534113336 +0400 -@@ -14,7 +14,7 @@ +--- game/team.h.orig 2008-04-16 07:31:25 UTC ++++ game/team.h +@@ -14,7 +14,7 @@ class Team Team(); ~Team(); - void init(Game::team_t t,const Theme *t); + void init(Game::team_t t,const Theme *theme); void update(); void shutdown();