Date: Mon, 9 Mar 2015 15:47:57 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r380858 - in head/games: . freeblocks freeblocks/files Message-ID: <201503091547.t29Flvma081841@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon Mar 9 15:47:56 2015 New Revision: 380858 URL: https://svnweb.freebsd.org/changeset/ports/380858 QAT: https://qat.redports.org/buildarchive/r380858/ Log: FreeBlocks is a puzzle game with similar gameplay to Tetris Attack. WWW: https://github.com/dorkster/freeblocks Added: head/games/freeblocks/ head/games/freeblocks/Makefile (contents, props changed) head/games/freeblocks/distinfo (contents, props changed) head/games/freeblocks/files/ head/games/freeblocks/files/patch-CMakeLists.txt (contents, props changed) head/games/freeblocks/pkg-descr (contents, props changed) head/games/freeblocks/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Mon Mar 9 15:12:26 2015 (r380857) +++ head/games/Makefile Mon Mar 9 15:47:56 2015 (r380858) @@ -273,6 +273,7 @@ SUBDIR += fortunate SUBDIR += fotaq SUBDIR += four-in-a-row + SUBDIR += freeblocks SUBDIR += freecell-solver SUBDIR += freeciv SUBDIR += freeciv-nox11 Added: head/games/freeblocks/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/freeblocks/Makefile Mon Mar 9 15:47:56 2015 (r380858) @@ -0,0 +1,33 @@ +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= freeblocks +PORTVERSION= 0.4.git20150308 +CATEGORIES= games + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Puzzle game with similar gameplay to Tetris Attack + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_GITHUB= yes +GH_ACCOUNT= dorkster +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= 7ec9c36 + +USES= cmake +CMAKE_ARGS= -DDATADIR="${DATADIR_REL}" +USE_SDL= sdl mixer image ttf + +PORTDOCS= * + +OPTIONS_DEFINE= HALF_GFX +HALF_GFX_DESC= Use 320x240 graphics +HALF_GFX_CMAKE_ON= -DHALF_GFX=ON + +post-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ + +.include <bsd.port.mk> Added: head/games/freeblocks/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/freeblocks/distinfo Mon Mar 9 15:47:56 2015 (r380858) @@ -0,0 +1,2 @@ +SHA256 (freeblocks-0.4.git20150308.tar.gz) = b785e28a4bc0652cbefb3a6daa8b057992d1681972905818a8fc4d2daf7e8345 +SIZE (freeblocks-0.4.git20150308.tar.gz) = 7913107 Added: head/games/freeblocks/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/freeblocks/files/patch-CMakeLists.txt Mon Mar 9 15:47:56 2015 (r380858) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2015-03-08 13:57:11.000000000 +0300 ++++ CMakeLists.txt 2015-03-09 17:48:28.547228957 +0300 +@@ -126,7 +126,7 @@ + Target_Link_Libraries (freeblocks ${CMAKE_LD_FLAGS} ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY} ${SDLMIXER_LIBRARY} ${SDLTTF_LIBRARY} ${SDLMAIN_LIBRARY} ${EXTRA_LIBRARIES}) + + # installing to the proper places +-install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/freeblocks DESTINATION ${BINDIR}) ++install(TARGETS freeblocks DESTINATION ${BINDIR}) + install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/res" DESTINATION ${DATADIR}) + install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/pkg/default.gcw0.desktop" DESTINATION ${APPDIR} RENAME freeblocks.desktop) + install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/pkg/freeblocks.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/32x32/apps) Added: head/games/freeblocks/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/freeblocks/pkg-descr Mon Mar 9 15:47:56 2015 (r380858) @@ -0,0 +1,3 @@ +FreeBlocks is a puzzle game with similar gameplay to Tetris Attack. + +WWW: https://github.com/dorkster/freeblocks Added: head/games/freeblocks/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/freeblocks/pkg-plist Mon Mar 9 15:47:56 2015 (r380858) @@ -0,0 +1,30 @@ +bin/freeblocks +share/applications/freeblocks.desktop +%%DATADIR%%/res/fonts/Alegreya-Regular.ttf +%%DATADIR%%/res/graphics/320x240/background.png +%%DATADIR%%/res/graphics/320x240/background_jewels.png +%%DATADIR%%/res/graphics/320x240/bar.png +%%DATADIR%%/res/graphics/320x240/bar_inactive.png +%%DATADIR%%/res/graphics/320x240/blocks.png +%%DATADIR%%/res/graphics/320x240/clear.png +%%DATADIR%%/res/graphics/320x240/cursor.png +%%DATADIR%%/res/graphics/320x240/cursor_highlight.png +%%DATADIR%%/res/graphics/320x240/highscores.png +%%DATADIR%%/res/graphics/320x240/title.png +%%DATADIR%%/res/graphics/background.png +%%DATADIR%%/res/graphics/background_jewels.png +%%DATADIR%%/res/graphics/bar.png +%%DATADIR%%/res/graphics/bar_inactive.png +%%DATADIR%%/res/graphics/blocks.png +%%DATADIR%%/res/graphics/clear.png +%%DATADIR%%/res/graphics/cursor.png +%%DATADIR%%/res/graphics/cursor_highlight.png +%%DATADIR%%/res/graphics/highscores.png +%%DATADIR%%/res/graphics/title.png +%%DATADIR%%/res/sounds/drop.wav +%%DATADIR%%/res/sounds/match.wav +%%DATADIR%%/res/sounds/menu.wav +%%DATADIR%%/res/sounds/music.ogg +%%DATADIR%%/res/sounds/music_jewels.ogg +%%DATADIR%%/res/sounds/switch.wav +share/icons/hicolor/32x32/apps/freeblocks.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503091547.t29Flvma081841>