Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2014 00:31:27 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339733 - in head/games: . oneisenough oneisenough/files
Message-ID:  <201401150031.s0F0VRoR045607@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Wed Jan 15 00:31:27 2014
New Revision: 339733
URL: http://svnweb.freebsd.org/changeset/ports/339733
QAT: https://qat.redports.org/buildarchive/r339733/

Log:
  Economic development in the land of the balls has rendered communism an
  obsolete ideology, but one ball is ready to stand against the cruel
  corporate oppressors. Is one ball enough to free the capitalist balls
  from their egocentric ideology and send them to labour camps,
  or is the process doomed to fail? There's only one way to find out...
  
  WWW: http://hectigo.net/games/oneisenough/
  
  PR:		ports/172944
  Submitted by:	nemysis (self)

Added:
  head/games/oneisenough/
  head/games/oneisenough/Makefile   (contents, props changed)
  head/games/oneisenough/distinfo   (contents, props changed)
  head/games/oneisenough/files/
  head/games/oneisenough/files/oneisenough.in   (contents, props changed)
  head/games/oneisenough/pkg-descr   (contents, props changed)
  head/games/oneisenough/pkg-plist   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Wed Jan 15 00:14:51 2014	(r339732)
+++ head/games/Makefile	Wed Jan 15 00:31:27 2014	(r339733)
@@ -658,6 +658,7 @@
     SUBDIR += odamex
     SUBDIR += oldrunner
     SUBDIR += omega
+    SUBDIR += oneisenough
     SUBDIR += oneko
     SUBDIR += oneko-sakura
     SUBDIR += oolite

Added: head/games/oneisenough/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/oneisenough/Makefile	Wed Jan 15 00:31:27 2014	(r339733)
@@ -0,0 +1,65 @@
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	oneisenough
+PORTVERSION=	0.4.0
+CATEGORIES=	games python
+MASTER_SITES=	http://hectigo.net/games/oneisenough/ \
+		SF/nemysisfreebsdp/games/:icons
+DISTFILES=	${PORTNAME}_a${DISTVERSION:S/.//g}_src${EXTRACT_SUFX} \
+		${PORTNAME}.png:icons
+EXTRACT_ONLY=	${PORTNAME}_a${DISTVERSION:S/.//g}_src${EXTRACT_SUFX}
+
+MAINTAINER=	nemysis@FreeBSD.org
+COMMENT=	Economic development in the land of the balls
+
+LICENSE=	GPLv2
+
+RUN_DEPENDS=	${PYGAME}
+
+WRKSRC=		${WRKDIR}/"one is enough"
+
+USE_ZIP=	yes
+USES=		dos2unix
+DOS2UNIX_FILES=	README.txt bin/*.py
+DOS2UNIX_REGEX= .*.[^pt][^nt][^gf]
+USE_PYTHON=	2
+
+PORTDOCS=	README.txt
+
+OPTIONS_DEFINE=	DOCS
+
+SUB_FILES=	${PORTNAME}
+
+DESKTOP_ENTRIES="One Is Enough" "" ${PORTNAME} \
+		"${PORTNAME}" "Game;ArcadeGame;" ""
+
+post-extract:
+	@${FIND} ${WRKSRC} \
+		-name "Thumbs.db" -delete -or -name "pack.bat" -delete
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
+		${WRKSRC}/run_game.py
+
+do-build:
+	@${PYTHON_CMD} -m compileall ${WRKSRC}
+	@${PYTHON_CMD} -O -m compileall ${WRKSRC}
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+.for d in  *.py *.pyc *.pyo
+	@(cd ${WRKSRC} ; ${INSTALL_SCRIPT} ${d} ${STAGEDIR}${DATADIR})
+.endfor
+
+	@(cd ${WRKSRC}/bin && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/bin)
+
+	${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/oneisenough/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/oneisenough/distinfo	Wed Jan 15 00:31:27 2014	(r339733)
@@ -0,0 +1,4 @@
+SHA256 (oneisenough_a040_src.zip) = 93da49735d6b7c7978c65f28c99b955c8e95ac0a6716d91be5790650277def88
+SIZE (oneisenough_a040_src.zip) = 356589
+SHA256 (oneisenough.png) = b0c8fa5467e5743e605e72da804161b2e3cc593f0eaa4b2f1b379d834779c12c
+SIZE (oneisenough.png) = 4756

Added: head/games/oneisenough/files/oneisenough.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/oneisenough/files/oneisenough.in	Wed Jan 15 00:31:27 2014	(r339733)
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+cd "%%DATADIR%%"
+exec ./run_game.py "${@}"

Added: head/games/oneisenough/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/oneisenough/pkg-descr	Wed Jan 15 00:31:27 2014	(r339733)
@@ -0,0 +1,7 @@
+Economic development in the land of the balls has rendered communism an
+obsolete ideology, but one ball is ready to stand against the cruel
+corporate oppressors. Is one ball enough to free the capitalist balls
+from their egocentric ideology and send them to labour camps,
+or is the process doomed to fail? There's only one way to find out...
+
+WWW: http://hectigo.net/games/oneisenough/

Added: head/games/oneisenough/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/oneisenough/pkg-plist	Wed Jan 15 00:31:27 2014	(r339733)
@@ -0,0 +1,65 @@
+bin/oneisenough
+%%DATADIR%%/bin/background.py
+%%DATADIR%%/bin/background.pyc
+%%DATADIR%%/bin/background.pyo
+%%DATADIR%%/bin/bank.py
+%%DATADIR%%/bin/bank.pyc
+%%DATADIR%%/bin/bank.pyo
+%%DATADIR%%/bin/camp.py
+%%DATADIR%%/bin/camp.pyc
+%%DATADIR%%/bin/camp.pyo
+%%DATADIR%%/bin/data/Vera.ttf
+%%DATADIR%%/bin/enemy.py
+%%DATADIR%%/bin/enemy.pyc
+%%DATADIR%%/bin/enemy.pyo
+%%DATADIR%%/bin/follower.py
+%%DATADIR%%/bin/follower.pyc
+%%DATADIR%%/bin/follower.pyo
+%%DATADIR%%/bin/game.py
+%%DATADIR%%/bin/game.pyc
+%%DATADIR%%/bin/game.pyo
+%%DATADIR%%/bin/locals.py
+%%DATADIR%%/bin/locals.pyc
+%%DATADIR%%/bin/locals.pyo
+%%DATADIR%%/bin/main.py
+%%DATADIR%%/bin/main.pyc
+%%DATADIR%%/bin/main.pyo
+%%DATADIR%%/bin/mainmenu.py
+%%DATADIR%%/bin/mainmenu.pyc
+%%DATADIR%%/bin/mainmenu.pyo
+%%DATADIR%%/bin/object.py
+%%DATADIR%%/bin/object.pyc
+%%DATADIR%%/bin/object.pyo
+%%DATADIR%%/bin/pictures/ball1.png
+%%DATADIR%%/bin/pictures/ball2.png
+%%DATADIR%%/bin/pictures/balldollar.png
+%%DATADIR%%/bin/pictures/ballinvincible.png
+%%DATADIR%%/bin/pictures/bank.png
+%%DATADIR%%/bin/pictures/bg.png
+%%DATADIR%%/bin/pictures/camp.png
+%%DATADIR%%/bin/pictures/gameover.png
+%%DATADIR%%/bin/pictures/star.png
+%%DATADIR%%/bin/pictures/staricon.png
+%%DATADIR%%/bin/player.py
+%%DATADIR%%/bin/player.pyc
+%%DATADIR%%/bin/player.pyo
+%%DATADIR%%/bin/setup.py
+%%DATADIR%%/bin/setup.pyc
+%%DATADIR%%/bin/setup.pyo
+%%DATADIR%%/bin/sound.py
+%%DATADIR%%/bin/sound.pyc
+%%DATADIR%%/bin/sound.pyo
+%%DATADIR%%/bin/sounds/whau.wav
+%%DATADIR%%/bin/sounds/woosh.wav
+%%DATADIR%%/bin/util.py
+%%DATADIR%%/bin/util.pyc
+%%DATADIR%%/bin/util.pyo
+%%DATADIR%%/run_game.py
+%%DATADIR%%/run_game.pyc
+%%DATADIR%%/run_game.pyo
+share/pixmaps/oneisenough.png
+@dirrm %%DATADIR%%/bin/sounds
+@dirrm %%DATADIR%%/bin/pictures
+@dirrm %%DATADIR%%/bin/data
+@dirrm %%DATADIR%%/bin
+@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401150031.s0F0VRoR045607>