svn commit: r336720 - in head/games: . dcross dcross/files
Rusmir Dusko
nemysis at FreeBSD.org
Tue Dec 17 13:01:14 UTC 2013
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 <nemysis at FreeBSD.org>
+# $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 at 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 <bsd.port.mk>
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
+ at dirrm %%DATADIR%%/sound/music
+ at dirrm %%DATADIR%%/sound/effects
+ at dirrm %%DATADIR%%/sound
+ at dirrm %%DATADIR%%/graphics
+ at dirrm %%DATADIR%%/fonts
+ at dirrm %%DATADIR%%/data
+ at dirrm %%DATADIR%%
More information about the svn-ports-all
mailing list