FreeBSD Bugzilla – Attachment 127717 Details for
Bug 171576
[NEW PORT] games/py27-bombz: Simple 2D puzzle game with bombs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
.shar
.shar (text/plain), 4.33 KB, created by
nemysis
on 2012-09-12 16:00:12 UTC
(
hide
)
Description:
.shar
Filename:
MIME Type:
Creator:
nemysis
Created:
2012-09-12 16:00:12 UTC
Size:
4.33 KB
patch
obsolete
># 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 171576
: 127717 |
127718
|
127719
|
127720
|
127721
|
127722