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)
This commit is contained in:
Rusmir Dusko 2014-01-15 00:31:27 +00:00
parent ab95e4cea8
commit abb544d4d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339733
6 changed files with 149 additions and 0 deletions

View File

@ -658,6 +658,7 @@
SUBDIR += odamex
SUBDIR += oldrunner
SUBDIR += omega
SUBDIR += oneisenough
SUBDIR += oneko
SUBDIR += oneko-sakura
SUBDIR += oolite

View File

@ -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>

View File

@ -0,0 +1,4 @@
SHA256 (oneisenough_a040_src.zip) = 93da49735d6b7c7978c65f28c99b955c8e95ac0a6716d91be5790650277def88
SIZE (oneisenough_a040_src.zip) = 356589
SHA256 (oneisenough.png) = b0c8fa5467e5743e605e72da804161b2e3cc593f0eaa4b2f1b379d834779c12c
SIZE (oneisenough.png) = 4756

View File

@ -0,0 +1,7 @@
#!/bin/sh
#
# $FreeBSD$
#
cd "%%DATADIR%%"
exec ./run_game.py "${@}"

View File

@ -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/

View File

@ -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%%