Date: Wed, 12 Sep 2012 16:52:00 +0200 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/171576: [NEW PORT] games/py27-bombz: Simple 2D puzzle game with bombs Message-ID: <20120912145204.65558106566B@hub.freebsd.org> Resent-Message-ID: <201209121500.q8CF0C0k034036@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171576 >Category: ports >Synopsis: [NEW PORT] games/py27-bombz: Simple 2D puzzle game with bombs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 12 15:00:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC >Description: Bombz is a simple 2D puzzle game. It doesn't really have a plot. The object is to blow up all the bombs on each level then escape off the edge of the screen. To blow up a bomb, push it to where you want to cause an explosion, then collect a match (originally a detonator in the Archimedes version) and touch the bomb again and quickly get out of the way. A bomb destroys everything surrounding it except the metallic walls; if it blows up another bomb, that takes out everything around it too so you can set off chain reactions. I originally wrote Bombz for the Acorn Archimedes over ten years ago and this is a complete rewrite with better graphics and sound etc. I chose to keep the original frame rate of 50fps in the rewrite because a more conventional 60fps feels a little too fast and 30fps feels too slow. Movement may appear slightly jerky unless your monitor runs at 100Hz. WWW: http://bombz.sourceforge.net/ Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: new) >How-To-Repeat: portlint -A WARN: Makefile: [8]: possible direct use of command "python" found. use ${PYTHON_CMD} instead Because is used DIST_SUBDIR= python Build log RedPorts https://redports.org/buildarchive/20120912141758-54295/ >Fix: --- .shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # bombz # bombz/Makefile # bombz/pkg-descr # bombz/files # bombz/files/patch-bombz-joy.py # bombz/files/bombz.in # bombz/distinfo # echo c - bombz mkdir -p bombz > /dev/null 2>&1 echo x - bombz/Makefile sed 's/^X//' >bombz/Makefile << '96b300fcd3ec527c2c0fe3013d98d2d3' X# $FreeBSD$ X XPORTNAME= bombz XPORTVERSION= 0.2 XCATEGORIES= games python XMASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDIST_SUBDIR= python X XMAINTAINER= nemysis@gmx.ch XCOMMENT= Simple 2D puzzle game with bombs X XLICENSE= GPLv2 X XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}game>=0:${PORTSDIR}/devel/py-game X XWRKSRC= ${WRKDIR}/Bombz X XUSE_ZIP= yes XUSE_PYTHON= yes XNO_BUILD= yes X XPLIST_FILES= bin/${PORTNAME} \ X share/pixmaps/${PORTNAME}.ico \ X share/applications/${PORTNAME}.desktop XPLIST_DIRSTRY= share/applications X XPORTDATA= * XPORTDOCS= ChangeLog readme.txt X XSUB_FILES= ${PORTNAME} X X.include <bsd.port.options.mk> X Xdo-install: X# Scripts X ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin X X# Executable X ${MKDIR} ${DATADIR} X ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR} X X# Data X.for d in bombz levels pngs sounds FreeSans.ttf X @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR}) X.endfor X X# Pixmaps and Desktop X ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.ico ${PREFIX}/share/pixmaps X ${MKDIR} ${PREFIX}/share/applications X ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/ X X# Documentation X.if ${PORT_OPTIONS:MDOCS} X ${MKDIR} ${DOCSDIR} X. for f in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X. endfor X.endif X X.include <bsd.port.mk> 96b300fcd3ec527c2c0fe3013d98d2d3 echo x - bombz/pkg-descr sed 's/^X//' >bombz/pkg-descr << 'afee17f1483f4fa460be86b605eae351' XBombz is a simple 2D puzzle game. It doesn't really have a plot. The object is Xto blow up all the bombs on each level then escape off the edge of the screen. XTo blow up a bomb, push it to where you want to cause an explosion, then collect Xa match (originally a detonator in the Archimedes version) and touch the bomb Xagain and quickly get out of the way. A bomb destroys everything surrounding it Xexcept the metallic walls; if it blows up another bomb, that takes out Xeverything around it too so you can set off chain reactions. X XI originally wrote Bombz for the Acorn Archimedes over ten years ago and this is Xa complete rewrite with better graphics and sound etc. I chose to keep the Xoriginal frame rate of 50fps in the rewrite because a more conventional 60fps Xfeels a little too fast and 30fps feels too slow. Movement may appear slightly Xjerky unless your monitor runs at 100Hz. X XWWW: http://bombz.sourceforge.net/ afee17f1483f4fa460be86b605eae351 echo c - bombz/files mkdir -p bombz/files > /dev/null 2>&1 echo x - bombz/files/patch-bombz-joy.py sed 's/^X//' >bombz/files/patch-bombz-joy.py << '03d1a822615dd079fad24551b07a8fc3' X--- bombz/joy.py.orig 2007-06-26 20:33:12.000000000 +0200 X+++ bombz/joy.py 2012-09-12 15:22:32.000000000 +0200 X@@ -95,10 +95,10 @@ X name = name[:n] + ' ' + name[n + 1:] X name = self.reduce_spaces(name) X # My MS Sidewinder USB pad has "Microsoft" in it twice X- words = name.split() X- if words[0] == words[1]: X- name = self.reduce_spaces(name.replace(words[0], '', 1)) X- self.name = name X+ #words = name.split() X+ #if words[0] == words[1]: X+ # name = self.reduce_spaces(name.replace(words[0], '', 1)) X+ #self.name = name X # If name is still too long, try getting rid of extra guff X # Most of this is targetted at the Sidewinder X name = name.replace('Plug & Play', 'PnP') 03d1a822615dd079fad24551b07a8fc3 echo x - bombz/files/bombz.in sed 's/^X//' >bombz/files/bombz.in << 'b1ad9ba38bf8957c98c6eac30c313367' X#!/bin/sh X# X# $FreeBSD$ X Xecho "Bombz: Starting up..." Xcd "%%DATADIR%%" Xpython bombz.py b1ad9ba38bf8957c98c6eac30c313367 echo x - bombz/distinfo sed 's/^X//' >bombz/distinfo << '1a552d6f3263f70781521c471c391720' XSHA256 (python/bombz-0.2.zip) = 95d6d8c54296bfddfaec2a156690fc1ac242f7e18d99ae742709aec1389ad096 XSIZE (python/bombz-0.2.zip) = 1287231 1a552d6f3263f70781521c471c391720 exit --- .shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120912145204.65558106566B>