Bug 170057 - [NEW PORT] games/nelly: Nelly's Rooftop Garden, A physics-based puzzle game
Summary: [NEW PORT] games/nelly: Nelly's Rooftop Garden, A physics-based puzzle game
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: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-21 22:50 UTC by nemysis
Modified: 2012-08-10 04:30 UTC (History)
0 users

See Also:


Attachments
.shar (2.50 KB, text/plain)
2012-07-21 22:50 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-07-21 22:50:14 UTC
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/
     http://pyweek.org/e/rushed/

Generated and tested manually, tested with port test and with RedPorts (all RELEASES), sent with FreeBSD Port Tools 0.99_6 (mode: new)
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2012-08-07 01:56:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-08-10 04:20:22 UTC
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@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@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@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/
_______________________________________________
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"
Comment 3 Jason Helfman freebsd_committer freebsd_triage 2012-08-10 04:20:46 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!