Date: Sat, 15 Apr 2017 12:35:41 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438582 - in head/games: . beret beret/files Message-ID: <201704151235.v3FCZfhP018863@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Sat Apr 15 12:35:41 2017 New Revision: 438582 URL: https://svnweb.freebsd.org/changeset/ports/438582 Log: games/beret: create port Beret is a 2D puzzle-platformer game about a scientist named Beret who has gained telekinetic abilities through his research at the Evil Corporation. He decides that the Evil Corporation is too evil for his liking, and begins his solitary quest to overthrow the corporation and punish the evil deeds of his employers. Beret has: - 21 puzzle-filled levels - 120 collectable Medallions - Over 20 hours of gameplay - An unlockable level editor WWW: http://kiwisauce.com/beret/ PR: 218516 Submitted by: Alfonso S. Siciliano <alfix86@gmail.com> Added: head/games/beret/ head/games/beret/Makefile (contents, props changed) head/games/beret/distinfo (contents, props changed) head/games/beret/files/ head/games/beret/files/patch-game.c (contents, props changed) head/games/beret/pkg-descr (contents, props changed) head/games/beret/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Sat Apr 15 11:13:43 2017 (r438581) +++ head/games/Makefile Sat Apr 15 12:35:41 2017 (r438582) @@ -78,6 +78,7 @@ SUBDIR += battalion SUBDIR += battletanks SUBDIR += belooted + SUBDIR += beret SUBDIR += billardgl SUBDIR += biloba SUBDIR += biniax2 Added: head/games/beret/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/beret/Makefile Sat Apr 15 12:35:41 2017 (r438582) @@ -0,0 +1,48 @@ +# Created by: Alfonso S. Siciliano <alfix86@gmail.com> +# $FreeBSD$ + +PORTNAME= beret +PORTVERSION= 1.2.1 +DISTVERSIONPREFIX= v +CATEGORIES= games + +MAINTAINER= alfix86@gmail.com +COMMENT= 2D puzzle-platformer game + +LICENSE= LGPL3 + +RUN_DEPENDS= ${LOCALBASE}/share/fonts/averiagwf/AveriaSansGWF-Regular.ttf:x11-fonts/averiagwf + +USE_GITHUB= yes +GH_ACCOUNT= alfonsosiciliano +GH_PROJECT= beret-freebsd + +USE_SDL= sdl image ttf mixer +MAKEFILE= BSDmakefile + +WORKINGSRC= ${WRKDIR}/${GH_PROJECT}-${PORTVERSION} +DATADIR= ${PREFIX}/share/${PORTNAME} + +DESKTOP_ENTRIES="Beret" "" "beret" \ + "beret" "" false + +PORTDOCS= README.txt + +FONT_DEP= AveriaSansGWF-Regular.ttf +FONTDIR_DEP= ${LOCALBASE}/share/fonts/averiagwf + +post-patch: + @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/game.c + +do-install: + ${INSTALL_PROGRAM} ${WORKINGSRC}/beret ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WORKINGSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DATADIR} +.for datadir in images music rooms sfx + ${MKDIR} ${STAGEDIR}${DATADIR}/${datadir} + cd ${WORKINGSRC}/${datadir} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/${datadir} +.endfor + cd ${STAGEDIR}${DATADIR} && ${LN} -s ${FONTDIR_DEP}/${FONT_DEP} ${FONT_DEP} + +.include <bsd.port.mk> Added: head/games/beret/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/beret/distinfo Sat Apr 15 12:35:41 2017 (r438582) @@ -0,0 +1,3 @@ +TIMESTAMP = 1491776962 +SHA256 (alfonsosiciliano-beret-freebsd-v1.2.1_GH0.tar.gz) = 05249f49cbe7bd81f586c5ba8a4ed6a5a1b399b4067d5ee7784acb777d44d474 +SIZE (alfonsosiciliano-beret-freebsd-v1.2.1_GH0.tar.gz) = 44732496 Added: head/games/beret/files/patch-game.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/beret/files/patch-game.c Sat Apr 15 12:35:41 2017 (r438582) @@ -0,0 +1,11 @@ +--- game.c.orig 2017-04-09 23:30:52 UTC ++++ game.c +@@ -94,7 +94,7 @@ + #elif defined __WIN32__ + #define RESOURCE_PATH "" + #else +-#define RESOURCE_PATH "" ++#define RESOURCE_PATH "%%PREFIX%%/share/beret/" + #endif + #endif + Added: head/games/beret/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/beret/pkg-descr Sat Apr 15 12:35:41 2017 (r438582) @@ -0,0 +1,13 @@ +Beret is a 2D puzzle-platformer game about a scientist named Beret +who has gained telekinetic abilities through his research at the +Evil Corporation. He decides that the Evil Corporation is too evil +for his liking, and begins his solitary quest to overthrow the +corporation and punish the evil deeds of his employers. + +Beret has: +- 21 puzzle-filled levels +- 120 collectable Medallions +- Over 20 hours of gameplay +- An unlockable level editor + +WWW: http://kiwisauce.com/beret/ Added: head/games/beret/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/beret/pkg-plist Sat Apr 15 12:35:41 2017 (r438582) @@ -0,0 +1,128 @@ +bin/beret +%%DATADIR%%/AveriaSansGWF-Regular.ttf +%%DATADIR%%/images/bkg1.png +%%DATADIR%%/images/bkg10.png +%%DATADIR%%/images/bkg11.png +%%DATADIR%%/images/bkg12.png +%%DATADIR%%/images/bkg13.png +%%DATADIR%%/images/bkg14.png +%%DATADIR%%/images/bkg2.png +%%DATADIR%%/images/bkg3.png +%%DATADIR%%/images/bkg4.png +%%DATADIR%%/images/bkg5.png +%%DATADIR%%/images/bkg6.png +%%DATADIR%%/images/bkg7.png +%%DATADIR%%/images/bkg8.png +%%DATADIR%%/images/bkg9.png +%%DATADIR%%/images/block.bmp +%%DATADIR%%/images/credits.png +%%DATADIR%%/images/fade1.png +%%DATADIR%%/images/fade2.png +%%DATADIR%%/images/fade3.png +%%DATADIR%%/images/fade4.png +%%DATADIR%%/images/fade5.png +%%DATADIR%%/images/gameselect.png +%%DATADIR%%/images/getinput.png +%%DATADIR%%/images/icon.ico +%%DATADIR%%/images/inventory.png +%%DATADIR%%/images/lvlnum.png +%%DATADIR%%/images/mapbkg.png +%%DATADIR%%/images/msg.png +%%DATADIR%%/images/opt.png +%%DATADIR%%/images/pit.png +%%DATADIR%%/images/spritesheet.png +%%DATADIR%%/images/teleguide.png +%%DATADIR%%/images/tilesheet.png +%%DATADIR%%/images/title.png +%%DATADIR%%/music/beret0.ogg +%%DATADIR%%/music/beret1.ogg +%%DATADIR%%/music/beret10.ogg +%%DATADIR%%/music/beret11.ogg +%%DATADIR%%/music/beret12.ogg +%%DATADIR%%/music/beret13.ogg +%%DATADIR%%/music/beret2.ogg +%%DATADIR%%/music/beret3.ogg +%%DATADIR%%/music/beret4.ogg +%%DATADIR%%/music/beret5.ogg +%%DATADIR%%/music/beret6.ogg +%%DATADIR%%/music/beret7.ogg +%%DATADIR%%/music/beret8.ogg +%%DATADIR%%/music/beret9.ogg +%%DATADIR%%/rooms/maps +%%DATADIR%%/rooms/metas +%%DATADIR%%/rooms/rooms +%%DATADIR%%/sfx/antimatter1.wav +%%DATADIR%%/sfx/antimatter2.wav +%%DATADIR%%/sfx/antimatter3.wav +%%DATADIR%%/sfx/boom1.wav +%%DATADIR%%/sfx/boom2.wav +%%DATADIR%%/sfx/boom3.wav +%%DATADIR%%/sfx/choice-beret1.wav +%%DATADIR%%/sfx/choice-beret2.wav +%%DATADIR%%/sfx/choice-beret3.wav +%%DATADIR%%/sfx/choice-object1.wav +%%DATADIR%%/sfx/choice-object2.wav +%%DATADIR%%/sfx/choice-object3.wav +%%DATADIR%%/sfx/clink.wav +%%DATADIR%%/sfx/clink2.wav +%%DATADIR%%/sfx/clink3.wav +%%DATADIR%%/sfx/corner.wav +%%DATADIR%%/sfx/crunch.wav +%%DATADIR%%/sfx/crunch2.wav +%%DATADIR%%/sfx/fake.wav +%%DATADIR%%/sfx/fake2.wav +%%DATADIR%%/sfx/frag1.wav +%%DATADIR%%/sfx/frag2.wav +%%DATADIR%%/sfx/frag3.wav +%%DATADIR%%/sfx/frag4.wav +%%DATADIR%%/sfx/frag5.wav +%%DATADIR%%/sfx/frag6.wav +%%DATADIR%%/sfx/hop1.wav +%%DATADIR%%/sfx/hop2.wav +%%DATADIR%%/sfx/hop3.wav +%%DATADIR%%/sfx/infect.wav +%%DATADIR%%/sfx/jump1.wav +%%DATADIR%%/sfx/jump2.wav +%%DATADIR%%/sfx/jump3.wav +%%DATADIR%%/sfx/knock.wav +%%DATADIR%%/sfx/knock2.wav +%%DATADIR%%/sfx/knock3.wav +%%DATADIR%%/sfx/med-b.wav +%%DATADIR%%/sfx/med-g.wav +%%DATADIR%%/sfx/med-o.wav +%%DATADIR%%/sfx/med-p.wav +%%DATADIR%%/sfx/med-r.wav +%%DATADIR%%/sfx/med-w.wav +%%DATADIR%%/sfx/platform1.wav +%%DATADIR%%/sfx/platform2.wav +%%DATADIR%%/sfx/platform3.wav +%%DATADIR%%/sfx/pop.wav +%%DATADIR%%/sfx/pop2.wav +%%DATADIR%%/sfx/pop3.wav +%%DATADIR%%/sfx/regen.wav +%%DATADIR%%/sfx/regeninit.wav +%%DATADIR%%/sfx/robo1.wav +%%DATADIR%%/sfx/robo2.wav +%%DATADIR%%/sfx/robo3.wav +%%DATADIR%%/sfx/robo4.wav +%%DATADIR%%/sfx/robo5.wav +%%DATADIR%%/sfx/robo6.wav +%%DATADIR%%/sfx/shot1.wav +%%DATADIR%%/sfx/shot2.wav +%%DATADIR%%/sfx/shot3.wav +%%DATADIR%%/sfx/step1.wav +%%DATADIR%%/sfx/step2.wav +%%DATADIR%%/sfx/step3.wav +%%DATADIR%%/sfx/stick.wav +%%DATADIR%%/sfx/switch-gr1.wav +%%DATADIR%%/sfx/switch-gr2.wav +%%DATADIR%%/sfx/switch-gr3.wav +%%DATADIR%%/sfx/switch-gv1.wav +%%DATADIR%%/sfx/switch-gv2.wav +%%DATADIR%%/sfx/switch-gv3.wav +%%DATADIR%%/sfx/switch-rd1.wav +%%DATADIR%%/sfx/switch-rd2.wav +%%DATADIR%%/sfx/switch-rd3.wav +%%DATADIR%%/sfx/tick1.wav +%%DATADIR%%/sfx/tick2.wav +%%DATADIR%%/sfx/tick3.wav
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704151235.v3FCZfhP018863>