Bug 172944 - [NEW PORT] games/oneisenough: Economic development in the land of the balls
Summary: [NEW PORT] games/oneisenough: Economic development in the land of the balls
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-21 22:50 UTC by nemysis
Modified: 2014-01-15 00:40 UTC (History)
0 users

See Also:


Attachments
.shar (3.16 KB, text/plain)
2012-10-21 22:50 UTC, nemysis
no flags Details
oneisenough.shar (5.39 KB, application/x-shar)
2013-02-15 14:21 UTC, nemysis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-10-21 22:50:00 UTC
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/

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: new)

How-To-Repeat: 
portlint -A
WARN: Makefile: [11]: possible direct use of command "python" found. use ${PYTHON_CMD} instead.
WARN: Makefile: only one MASTER_SITE configured.  Consider adding additional mirrors.
0 fatal errors and 2 warnings found.

WARN: Makefile: [11] because is used

DIST_SUBDIR=    python


port test: clean


Build log

https://redports.org/buildarchive/20121021202203-48346/
Comment 1 nemysis 2013-02-15 14:21:50 UTC
Removed
BUILD_DEPENDS=	pngtopnm:${PORTSDIR}/graphics/netpbm

Added in Makefile
SF/nemysisfreebsdp/:icons
${PORTNAME}.png:icons
USE_GNOME=      desktopfileutils
INSTALLS_ICONS= yes
@-update-desktop-database

in pkg-plist
@exec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database -q || /usr/bin/true
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-08-14 10:29:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemysis

submitter is now committer.
Comment 3 Rusmir Dusko freebsd_committer freebsd_triage 2014-01-15 00:29:57 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-01-15 00:31:35 UTC
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%%
_______________________________________________
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"