From owner-svn-ports-all@FreeBSD.ORG Sun Dec 8 18:57:42 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 806C4C17; Sun, 8 Dec 2013 18:57:42 +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 6B8CD16DC; Sun, 8 Dec 2013 18:57:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB8Ivgra099849; Sun, 8 Dec 2013 18:57:42 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB8IvfNH099842; Sun, 8 Dec 2013 18:57:41 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201312081857.rB8IvfNH099842@svn.freebsd.org> From: Rusmir Dusko Date: Sun, 8 Dec 2013 18:57:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335920 - in head/games: . schwarzweiss schwarzweiss/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: Sun, 08 Dec 2013 18:57:42 -0000 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 +# $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 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%%