ports/172944: [NEW PORT] games/oneisenough: Economic development in the land of the balls

nemysis nemysis at gmx.ch
Sun Oct 21 21:50:00 UTC 2012


>Number:         172944
>Category:       ports
>Synopsis:       [NEW PORT] games/oneisenough: Economic development in the land of the balls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 21 21:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
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/

>Fix:


--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	oneisenough
#	oneisenough/Makefile
#	oneisenough/pkg-descr
#	oneisenough/distinfo
#	oneisenough/files
#	oneisenough/files/oneisenough.in
#
echo c - oneisenough
mkdir -p oneisenough > /dev/null 2>&1
echo x - oneisenough/Makefile
sed 's/^X//' >oneisenough/Makefile << '2c216e4637194277744286a10c985a15'
X# Created by:   nemysis at gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME=	oneisenough
XPORTVERSION=	0.4.0
XCATEGORIES=	games python
XMASTER_SITES=	http://hectigo.net/games/oneisenough/
XDISTNAME=	${PORTNAME}_a${PORTVERSION:S/.//g}_src
XDIST_SUBDIR=	python
X
XMAINTAINER=	nemysis at gmx.ch
XCOMMENT=	Economic development in the land of the balls
X
XLICENSE=	GPLv2
X
XRUN_DEPENDS=	${PYGAME}
XBUILD_DEPENDS=	pngtopnm:${PORTSDIR}/graphics/netpbm
X
XWRKSRC=		${WRKDIR}/"one is enough"
X
XUSE_PYTHON=	yes
XUSE_ZIP=	yes
XUSE_DOS2UNIX=	*.py *.txt
X
XPLIST_FILES=	bin/${PORTNAME} \
X		share/pixmaps/${PORTNAME}.png
X
XPORTDATA=	*
XPORTDOCS=	README.txt
X
XSUB_FILES=	${PORTNAME}
X
XDESKTOP_ENTRIES="One Is Enough" "${COMMENT}" "${PORTNAME}" \
X		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
X
X.include <bsd.port.options.mk>
X
Xdo-build:
X	@${PYTHON_CMD} -m compileall ${WRKSRC}
X	@${PYTHON_CMD} -O -m compileall ${WRKSRC}
X
Xpost-build:
X	@(cd ${WRKSRC}/bin/pictures && \
X		${LOCALBASE}/bin/pngtopnm star.png | \
X		${LOCALBASE}/bin/pamscale .95 | ${LOCALBASE}/bin/pnmtopng > ${WRKSRC}/${PORTNAME}.png)
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
X	${MKDIR} ${DATADIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/run_game.py ${DATADIR}
X	@(cd ${WRKSRC}/bin && ${COPYTREE_SHARE} . ${DATADIR}/bin)
X	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps
X
X.if ${PORT_OPTIONS:MDOCS}
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
2c216e4637194277744286a10c985a15
echo x - oneisenough/pkg-descr
sed 's/^X//' >oneisenough/pkg-descr << 'b50bbb146cdc4d5a02f53c840900678c'
XEconomic development in the land of the balls has rendered communism an
Xobsolete ideology, but one ball is ready to stand against the cruel corporate
Xoppressors. Is one ball enough to free the capitalist balls from their
Xegocentric ideology and send them to labour camps, or is the process doomed to
Xfail? There's only one way to find out...
X
XWWW: http://hectigo.net/games/oneisenough/
b50bbb146cdc4d5a02f53c840900678c
echo x - oneisenough/distinfo
sed 's/^X//' >oneisenough/distinfo << '932f9ccaa1909e037d6885df3e53f170'
XSHA256 (python/oneisenough_a040_src.zip) = 93da49735d6b7c7978c65f28c99b955c8e95ac0a6716d91be5790650277def88
XSIZE (python/oneisenough_a040_src.zip) = 356589
932f9ccaa1909e037d6885df3e53f170
echo c - oneisenough/files
mkdir -p oneisenough/files > /dev/null 2>&1
echo x - oneisenough/files/oneisenough.in
sed 's/^X//' >oneisenough/files/oneisenough.in << 'ffe357697713b3db86ab3123358f5355'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
Xcd "%%DATADIR%%"
Xexec ./run_game.py "${@}"
ffe357697713b3db86ab3123358f5355
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list