From owner-svn-ports-all@FreeBSD.ORG Tue Dec 17 13:01:14 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF5028DD; Tue, 17 Dec 2013 13:01:13 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CEEBB1FF0; Tue, 17 Dec 2013 13:01:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBHD1Dhx069023; Tue, 17 Dec 2013 13:01:13 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBHD1CJA069016; Tue, 17 Dec 2013 13:01:12 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201312171301.rBHD1CJA069016@svn.freebsd.org> From: Rusmir Dusko Date: Tue, 17 Dec 2013 13:01:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336720 - in head/games: . dcross dcross/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 13:01:14 -0000 Author: nemysis Date: Tue Dec 17 13:01:12 2013 New Revision: 336720 URL: http://svnweb.freebsd.org/changeset/ports/336720 Log: Unlike your common unilateral falling block games, 'Double Cross' implements a bidirectional paradigm expanding the genre in both dimension and difficulty. Blocks fall from the top and fly in from the side settling in a joined "play area". Deletions occur when rows of ten blocks are completed. A horizontal row of 10 will cause the blocks to fall down, and a vertical row of 10 will cause the blocks to "fall" to the right. If a vertical row is completed during a vertical drop or a horizontal row is completed during a horizontal drop the corresponding deletion will not occur until the next turn. This can and will lead to non-intuitive results. Focus on the vertical alone and you will die from horizontal negligence and vice versa. WWW: https://code.google.com/p/double-cross/ PR: ports/171603 Submitted by: nemysis (self) Approved by: pawel (mentor) Added: head/games/dcross/ head/games/dcross/Makefile (contents, props changed) head/games/dcross/distinfo (contents, props changed) head/games/dcross/files/ head/games/dcross/files/dcross.in (contents, props changed) head/games/dcross/pkg-descr (contents, props changed) head/games/dcross/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue Dec 17 12:26:27 2013 (r336719) +++ head/games/Makefile Tue Dec 17 13:01:12 2013 (r336720) @@ -183,6 +183,7 @@ SUBDIR += dangerdeep SUBDIR += dangerdeep-data SUBDIR += darkplaces + SUBDIR += dcross SUBDIR += deal SUBDIR += defendguin SUBDIR += deng Added: head/games/dcross/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dcross/Makefile Tue Dec 17 13:01:12 2013 (r336720) @@ -0,0 +1,55 @@ +# Created by: Rusmir Dusko +# $FreeBSD$ + +PORTNAME= dcross +PORTVERSION= 2.0 +CATEGORIES= games python +MASTER_SITES= GOOGLE_CODE \ + SF/nemysisfreebsdp/games/:icons +PROJECTHOST= double-cross +DISTFILES= ${PORTNAME}_${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}_icons${EXTRACT_SUFX}:icons +DIST_SUBDIR= python + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Unconventional falling block game + +LICENSE= GPLv2 + +RUN_DEPENDS= ${PYGAME} + +WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}/ + +USE_ZIP= yes +USES= dos2unix +DOS2UNIX_REGEX= .*.[^p][^n][^g]$ +DOS2UNIX_FILES= *.pyw +USE_PYTHON= yes + +INSTALLS_ICONS= yes +ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 + +SUB_FILES= ${PORTNAME} + +DESKTOP_ENTRIES="Double Cross" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" + +do-build: + @${PYTHON_CMD} -m compileall ${WRKSRC} + @${PYTHON_CMD} -O -m compileall ${WRKSRC} + +do-install: + @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ + ${WRKDIR}/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) + +.for s in ${ICON_SIZES} + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/ + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png +.endfor + ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + +.include Added: head/games/dcross/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dcross/distinfo Tue Dec 17 13:01:12 2013 (r336720) @@ -0,0 +1,4 @@ +SHA256 (python/dcross_2.0.zip) = 57ce35a0b41dda365c976bf5ff671785c975ebf842a3609be3d53b74a0a6bfa8 +SIZE (python/dcross_2.0.zip) = 28543733 +SHA256 (python/dcross_icons.zip) = 8501803fedea59dc897c83a332e0c5308c8bb6db73d82d5160c994701aee9edb +SIZE (python/dcross_icons.zip) = 40422 Added: head/games/dcross/files/dcross.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dcross/files/dcross.in Tue Dec 17 13:01:12 2013 (r336720) @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +cd "%%DATADIR%%" +exec %%PYTHON_CMD%% ./double-cross.pyw "${@}" Added: head/games/dcross/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dcross/pkg-descr Tue Dec 17 13:01:12 2013 (r336720) @@ -0,0 +1,14 @@ +Unlike your common unilateral falling block games, 'Double Cross' implements +a bidirectional paradigm expanding the genre in both dimension and difficulty. + +Blocks fall from the top and fly in from the side settling in a joined +"play area". Deletions occur when rows of ten blocks are completed. +A horizontal row of 10 will cause the blocks to fall down, and a vertical row +of 10 will cause the blocks to "fall" to the right. +If a vertical row is completed during a vertical drop or a horizontal row is +completed during a horizontal drop the corresponding deletion will not occur +until the next turn. This can and will lead to non-intuitive results. +Focus on the vertical alone and you will die from horizontal negligence and +vice versa. + +WWW: https://code.google.com/p/double-cross/ Added: head/games/dcross/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/dcross/pkg-plist Tue Dec 17 13:01:12 2013 (r336720) @@ -0,0 +1,85 @@ +bin/dcross +%%DATADIR%%/data/__init__.py +%%DATADIR%%/data/__init__.pyc +%%DATADIR%%/data/__init__.pyo +%%DATADIR%%/data/blocks.py +%%DATADIR%%/data/blocks.pyc +%%DATADIR%%/data/blocks.pyo +%%DATADIR%%/data/game.py +%%DATADIR%%/data/game.pyc +%%DATADIR%%/data/game.pyo +%%DATADIR%%/data/highs.dat +%%DATADIR%%/data/highscore.py +%%DATADIR%%/data/highscore.pyc +%%DATADIR%%/data/highscore.pyo +%%DATADIR%%/data/keymap.py +%%DATADIR%%/data/keymap.pyc +%%DATADIR%%/data/keymap.pyo +%%DATADIR%%/data/loser.py +%%DATADIR%%/data/loser.pyc +%%DATADIR%%/data/loser.pyo +%%DATADIR%%/data/main.py +%%DATADIR%%/data/main.pyc +%%DATADIR%%/data/main.pyo +%%DATADIR%%/data/menu.py +%%DATADIR%%/data/menu.pyc +%%DATADIR%%/data/menu.pyo +%%DATADIR%%/data/playcontrols.dat +%%DATADIR%%/data/reset.py +%%DATADIR%%/data/reset.pyc +%%DATADIR%%/data/reset.pyo +%%DATADIR%%/data/setup.py +%%DATADIR%%/data/setup.pyc +%%DATADIR%%/data/setup.pyo +%%DATADIR%%/data/title.py +%%DATADIR%%/data/title.pyc +%%DATADIR%%/data/title.pyo +%%DATADIR%%/data/tools.py +%%DATADIR%%/data/tools.pyc +%%DATADIR%%/data/tools.pyo +%%DATADIR%%/double-cross.pyw +%%DATADIR%%/fonts/arial.ttf +%%DATADIR%%/fonts/impact.ttf +%%DATADIR%%/fonts/wadim_giant.ttf +%%DATADIR%%/fonts/wadimi.ttf +%%DATADIR%%/graphics/alphagrid.png +%%DATADIR%%/graphics/base.png +%%DATADIR%%/graphics/brick.png +%%DATADIR%%/graphics/cell_deletion1.png +%%DATADIR%%/graphics/cell_deletion2.png +%%DATADIR%%/graphics/controls.png +%%DATADIR%%/graphics/curt.png +%%DATADIR%%/graphics/dc_icon.png +%%DATADIR%%/graphics/donote.png +%%DATADIR%%/graphics/flipper_h.png +%%DATADIR%%/graphics/komrade.png +%%DATADIR%%/graphics/logo.png +%%DATADIR%%/graphics/nekey.png +%%DATADIR%%/graphics/note.png +%%DATADIR%%/graphics/scorebg.png +%%DATADIR%%/graphics/shade.png +%%DATADIR%%/graphics/strip.png +%%DATADIR%%/graphics/title1.png +%%DATADIR%%/graphics/title2.png +%%DATADIR%%/sound/effects/blipshort1.wav +%%DATADIR%%/sound/effects/chimed.wav +%%DATADIR%%/sound/effects/explosion.wav +%%DATADIR%%/sound/effects/lev.wav +%%DATADIR%%/sound/effects/line.wav +%%DATADIR%%/sound/effects/thud.wav +%%DATADIR%%/sound/music/Kalinka.mp3 +%%DATADIR%%/sound/music/Katyusha.mp3 +%%DATADIR%%/sound/music/Korobelniki.mp3 +share/icons/hicolor/32x32/apps/dcross.png +share/icons/hicolor/48x48/apps/dcross.png +share/icons/hicolor/64x64/apps/dcross.png +share/icons/hicolor/72x72/apps/dcross.png +share/icons/hicolor/96x96/apps/dcross.png +share/pixmaps/dcross.png +@dirrm %%DATADIR%%/sound/music +@dirrm %%DATADIR%%/sound/effects +@dirrm %%DATADIR%%/sound +@dirrm %%DATADIR%%/graphics +@dirrm %%DATADIR%%/fonts +@dirrm %%DATADIR%%/data +@dirrm %%DATADIR%%