From owner-svn-ports-head@FreeBSD.ORG Fri Aug 10 03:20:12 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F11DC1065672; Fri, 10 Aug 2012 03:20:11 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 9FFF48FC0A; Fri, 10 Aug 2012 03:20:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7A3KBLu086107; Fri, 10 Aug 2012 03:20:11 GMT (envelope-from jgh@svn.freebsd.org) Received: (from jgh@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7A3KBSK086101; Fri, 10 Aug 2012 03:20:11 GMT (envelope-from jgh@svn.freebsd.org) Message-Id: <201208100320.q7A3KBSK086101@svn.freebsd.org> From: Jason Helfman Date: Fri, 10 Aug 2012 03:20:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r302374 - in head/games: . nelly nelly/files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2012 03:20:12 -0000 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 + +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 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/