svn commit: r302374 - in head/games: . nelly nelly/files
Jason Helfman
jgh at FreeBSD.org
Fri Aug 10 03:20:12 UTC 2012
Author: jgh
Date: Fri Aug 10 03:20:10 2012
New Revision: 302374
URL: http://svn.freebsd.org/changeset/ports/302374
Log:
add new port: games/nelly
A physics-based puzzle game written in Python for PyWeek 2.
Features over 15 levels, a free-play mode and an integrated level editor.
WWW: http://www.partiallydisassembled.net/nelly/
WWW: http://pyweek.org/e/rushed/
PR: 170057
Submitted by: nemysis at gmx.ch
Added:
head/games/nelly/
head/games/nelly/Makefile (contents, props changed)
head/games/nelly/distinfo (contents, props changed)
head/games/nelly/files/
head/games/nelly/files/nelly.in (contents, props changed)
head/games/nelly/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Fri Aug 10 02:50:53 2012 (r302373)
+++ head/games/Makefile Fri Aug 10 03:20:10 2012 (r302374)
@@ -575,6 +575,7 @@
SUBDIR += naev-data
SUBDIR += nazghul
SUBDIR += nehquake
+ SUBDIR += nelly
SUBDIR += nethack32
SUBDIR += nethack33
SUBDIR += nethack33-gnome
Added: head/games/nelly/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/nelly/Makefile Fri Aug 10 03:20:10 2012 (r302374)
@@ -0,0 +1,65 @@
+# New Ports collection makefile for: nelly
+# Date created: 16 July 2012
+# Whom: nemysis at gmx.ch
+#
+# $FreeBSD$
+#
+
+PORTNAME= nelly
+PORTVERSION= 1.0
+CATEGORIES= games python
+MASTER_SITES= http://www.partiallydisassembled.net/nelly/ \
+ http://media.pyweek.org/dl/2/rushed/
+
+MAINTAINER= nemysis at gmx.ch
+COMMENT= Nelly's Rooftop Garden, physics-based puzzle game
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}game>=0:${PORTSDIR}/devel/py-game \
+ ${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl
+
+OPTIONS_DEFINE= DATA
+OPTIONS_DEFAULT= DATA
+
+USE_PYTHON_RUN= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png
+
+PORTDATA= *
+PORTDOCS= README
+
+SUB_FILES= ${PORTNAME}
+
+.include <bsd.port.options.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
+ ${WRKSRC}/*.py
+ @(cd ${WRKSRC} && ${RM} *.py.bak)
+
+do-install:
+# Scripts
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+
+# Executable
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
+
+# Data
+.if ${PORT_OPTIONS:MDATA}
+. for d in fonts levels textures
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
+. endfor
+.endif
+
+# Pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/textures/menu.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
Added: head/games/nelly/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/nelly/distinfo Fri Aug 10 03:20:10 2012 (r302374)
@@ -0,0 +1,2 @@
+SHA256 (nelly-1.0.tar.gz) = a62a959259645cf849275498d19e71348f08ec92f490f2f902697dbefff04620
+SIZE (nelly-1.0.tar.gz) = 516647
Added: head/games/nelly/files/nelly.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/nelly/files/nelly.in Fri Aug 10 03:20:10 2012 (r302374)
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+echo "Nelly's Rooftop Garden: Starting up..."
+cd "%%DATADIR%%"
+./nelly.py
Added: head/games/nelly/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/nelly/pkg-descr Fri Aug 10 03:20:10 2012 (r302374)
@@ -0,0 +1,5 @@
+A physics-based puzzle game written in Python for PyWeek 2.
+Features over 15 levels, a free-play mode and an integrated level editor.
+
+WWW: http://www.partiallydisassembled.net/nelly/
+WWW: http://pyweek.org/e/rushed/
More information about the svn-ports-all
mailing list