Summary: | [NEW PORT] games/schwarzweiss: Tank game for 2 players | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | nemysis <nemysis> | ||||||||||
Component: | Individual Port(s) | Assignee: | Rusmir Dusko <nemysis> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | jgh | ||||||||||
Priority: | Normal | ||||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Description
nemysis
2012-09-01 20:00:23 UTC
Changed to use RUN_DEPENDS= ${PYGAME} portlint -A WARN: Makefile: [36]: possible direct use of command "false" found. use ${FALSE} instead. WARN: Makefile: [9]: possible direct use of command "python" found. use ${PYTHON_CMD} instead. 0 fatal errors and 2 warnings found. port test: clean Responsible Changed From-To: freebsd-ports-bugs->nemysis submitter is committer now. Author: nemysis Date: Sun Dec 8 18:57:40 2013 New Revision: 335920 URL: http://svnweb.freebsd.org/changeset/ports/335920 Log: SchwarzWeiss is german and means "black/white". This game was created 2010 during a 48-hour-game-creating contest at Viennas Metalab computer lab. The theme was "black and white" (or was it "grid"?) and only public available resources were allowed. Lucky for me, that included ThePythonGameBook. In effect I worked around 3 hours in the evening and around 4 hours in the next morning. After that I lost interest and presented the game to the other participants in the Metalab to make use of the weekend for non-computer related activities. While I'm proud to report that I was the first participant to present a "playable" game (way before the deadline) I'm less proud to report the results of test-playing against the other coders. It turned out that while my game is playable, it is simply boring and not much fun. Also I got beaten in my own game by people who never played the game before. WWW: http://thepythongamebook.com/en:resources:games:schwarzweiss PR: ports/171236 Submitted by: nemysis (self) Approved by: pawel (mentor) Added: head/games/schwarzweiss/ head/games/schwarzweiss/Makefile (contents, props changed) head/games/schwarzweiss/distinfo (contents, props changed) head/games/schwarzweiss/files/ head/games/schwarzweiss/files/schwarzweiss.in (contents, props changed) head/games/schwarzweiss/pkg-descr (contents, props changed) head/games/schwarzweiss/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Sun Dec 8 18:50:51 2013 (r335919) +++ head/games/Makefile Sun Dec 8 18:57:40 2013 (r335920) @@ -842,6 +842,7 @@ SUBDIR += sarien SUBDIR += sauerbraten SUBDIR += scare + SUBDIR += schwarzweiss SUBDIR += scid SUBDIR += scorched3d SUBDIR += scourge Added: head/games/schwarzweiss/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/schwarzweiss/Makefile Sun Dec 8 18:57:40 2013 (r335920) @@ -0,0 +1,60 @@ +# Created by: Rusmir Dusko <nemysis@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= schwarzweiss +PORTVERSION= 20110806 +CATEGORIES= games python +MASTER_SITES= SF/nemysisfreebsdp/games/:icons +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}.png:icons +DIST_SUBDIR= python +EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} + +MAINTAINER= nemysis@FreeBSD.org +COMMENT= Tank game for 2 players + +LICENSE= GPLv3 + +RUN_DEPENDS= ${PYGAME} + +USE_GITHUB= yes +GH_ACCOUNT= horstjens +GH_PROJECT= schwarzweiss +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= d95263f + +USE_PYTHON= 2.7 + +PORTDOCS= readme.txt + +OPTIONS_DEFINE= DOCS + +INSTALLS_ICONS= yes + +SUB_FILES= ${PORTNAME} + +DESKTOP_ENTRIES="SchwarzWeiss" "" "${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} data ${STAGEDIR}${DATADIR}) + +.for d in *.py *.pyc *.pyo + @(cd ${WRKSRC} ; ${INSTALL_SCRIPT} ${d} ${STAGEDIR}${DATADIR}) +.endfor + + ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> Added: head/games/schwarzweiss/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/schwarzweiss/distinfo Sun Dec 8 18:57:40 2013 (r335920) @@ -0,0 +1,4 @@ +SHA256 (python/schwarzweiss-20110806.tar.gz) = 7c37ef23d07c1e8b162accafcf921ba5d6c144d1042835f53c1a686da08b78c5 +SIZE (python/schwarzweiss-20110806.tar.gz) = 285380 +SHA256 (python/schwarzweiss.png) = 6d0bd5b654aad3b84c7ec72e443bce6dc1e860aee116e2b640c5a9b90926339a +SIZE (python/schwarzweiss.png) = 3710 Added: head/games/schwarzweiss/files/schwarzweiss.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/schwarzweiss/files/schwarzweiss.in Sun Dec 8 18:57:40 2013 (r335920) @@ -0,0 +1,7 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +cd "%%DATADIR%%" +exec %%PYTHON_CMD%% ./schwarzweiss_start.py "${@}" Added: head/games/schwarzweiss/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/schwarzweiss/pkg-descr Sun Dec 8 18:57:40 2013 (r335920) @@ -0,0 +1,15 @@ +SchwarzWeiss is german and means "black/white". +This game was created 2010 during a 48-hour-game-creating contest at Viennas +Metalab computer lab. The theme was "black and white" (or was it "grid"?) +and only public available resources were allowed. +Lucky for me, that included ThePythonGameBook. In effect I worked around 3 hours +in the evening and around 4 hours in the next morning. +After that I lost interest and presented the game to the other participants +in the Metalab to make use of the weekend for non-computer related activities. +While I'm proud to report that I was the first participant to present a +"playable" game (way before the deadline) I'm less proud to report the results +of test-playing against the other coders. It turned out that while my game is +playable, it is simply boring and not much fun. +Also I got beaten in my own game by people who never played the game before. + +WWW: http://thepythongamebook.com/en:resources:games:schwarzweiss Added: head/games/schwarzweiss/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/schwarzweiss/pkg-plist Sun Dec 8 18:57:40 2013 (r335920) @@ -0,0 +1,33 @@ +bin/schwarzweiss +share/pixmaps/schwarzweiss.png +%%DATADIR%%/data/__init__.py +%%DATADIR%%/data/__init__.pyc +%%DATADIR%%/data/__init__.pyo +%%DATADIR%%/data/blip1.ogg +%%DATADIR%%/data/blip2.ogg +%%DATADIR%%/data/convert1.ogg +%%DATADIR%%/data/convert2.ogg +%%DATADIR%%/data/explo3.ogg +%%DATADIR%%/data/explo4.ogg +%%DATADIR%%/data/explo5.ogg +%%DATADIR%%/data/ezmenu.py +%%DATADIR%%/data/ezmenu.pyc +%%DATADIR%%/data/ezmenu.pyo +%%DATADIR%%/data/flattr_schwarzweiss.png +%%DATADIR%%/data/gameover.ogg +%%DATADIR%%/data/hit2.ogg +%%DATADIR%%/data/menupic.png +%%DATADIR%%/data/mg1.ogg +%%DATADIR%%/data/schuss1.ogg +%%DATADIR%%/data/schuss2.ogg +%%DATADIR%%/data/schuss3.ogg +%%DATADIR%%/data/schwarzweiss-flattr.pdf +%%DATADIR%%/data/schwarzweiss.py +%%DATADIR%%/data/schwarzweiss.pyc +%%DATADIR%%/data/schwarzweiss.pyo +%%DATADIR%%/data/vampir1.ogg +%%DATADIR%%/schwarzweiss_start.py +%%DATADIR%%/schwarzweiss_start.pyc +%%DATADIR%%/schwarzweiss_start.pyo +@dirrm %%DATADIR%%/data +@dirrm %%DATADIR%% _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed New port added. Thanks! |