From owner-svn-ports-all@FreeBSD.ORG Wed Jul 18 12:39:17 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 291BF106566B; Wed, 18 Jul 2012 12:39:17 +0000 (UTC) (envelope-from cs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1469B8FC16; Wed, 18 Jul 2012 12:39:17 +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 q6ICdGiN071345; Wed, 18 Jul 2012 12:39:16 GMT (envelope-from cs@svn.freebsd.org) Received: (from cs@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6ICdG14071340; Wed, 18 Jul 2012 12:39:16 GMT (envelope-from cs@svn.freebsd.org) Message-Id: <201207181239.q6ICdG14071340@svn.freebsd.org> From: Carlo Strub Date: Wed, 18 Jul 2012 12:39:16 +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: r301090 - in head/games: . mopesnake X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2012 12:39:17 -0000 Author: cs Date: Wed Jul 18 12:39:16 2012 New Revision: 301090 URL: http://svn.freebsd.org/changeset/ports/301090 Log: Master Of Pain (Eating) - Snake Is a classic snake game in which you attempt to eat all the pain in the world, bravely accepting the inevitable consequences for your waistline. mop(e)snake features an innovative single-finger control method, as well as the normal four-directional control system familiar to fans of snake. The game doesn't feature any of the extra features, bonuses, wrap-around levels and other featuritis that ruins most versions of snake. WWW: http://mopesnake.sourceforge.net/ PR: ports/167974 Submitted by: nemysis@gmx.ch Added: head/games/mopesnake/ head/games/mopesnake/Makefile (contents, props changed) head/games/mopesnake/distinfo (contents, props changed) head/games/mopesnake/pkg-descr (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Wed Jul 18 12:38:45 2012 (r301089) +++ head/games/Makefile Wed Jul 18 12:39:16 2012 (r301090) @@ -558,6 +558,7 @@ SUBDIR += monsterz SUBDIR += moon-buggy SUBDIR += moonlander + SUBDIR += mopesnake SUBDIR += moria SUBDIR += motogt SUBDIR += mt_dolphin_ia Added: head/games/mopesnake/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/mopesnake/Makefile Wed Jul 18 12:39:16 2012 (r301090) @@ -0,0 +1,62 @@ +# New Ports collection makefile for: mopesnake +# Date created: 2012-05-16 +# Whom: nemysis@gmx.ch +# +# $FreeBSD$ +# + +PORTNAME= mopesnake +PORTVERSION= 0.5 +CATEGORIES= games +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} +DISTNAME= ${PORTNAME}-pc-${DISTVERSION} + +MAINTAINER= nemysis@gmx.ch +COMMENT= A classic snake game in which you attempt to eat all the pain + +LICENSE= GPLv2 + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game + +USE_ZIP= yes +USE_PYTHON= yes +NO_BUILD= yes + +PLIST_FILES= bin/mopesnake \ + share/pixmaps/${PORTNAME}.png + +PORTDATA= * +PORTDOCS= TODO.txt index.html + +post-patch: +# Fix path to python interpreter + @${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \ + ${WRKSRC}/*.py ${WRKSRC}/mopelib/*.py + @(cd ${WRKSRC} && ${RM} *.py.bak mopelib/*py.bak) + +do-install: +# Scripts + @${PRINTF} "#!/bin/sh\n\ncd ${DATADIR} &&\ + ./${PORTNAME}.py\n" > ${WRKDIR}/${PORTNAME}.sh + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} + +# Executable + ${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${DATADIR} + +# Data + @(cd ${WRKSRC} && ${COPYTREE_SHARE} "images mopelib music sounds" ${DATADIR}) + +# Pixmaps and version + ${INSTALL_DATA} ${WRKSRC}/doc/screenshot1.png ${PREFIX}/share/pixmaps/${PORTNAME}.png + ${INSTALL_DATA} ${WRKSRC}/version ${DATADIR} + +# Documentation +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +. for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} +. endfor +.endif + +.include Added: head/games/mopesnake/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/mopesnake/distinfo Wed Jul 18 12:39:16 2012 (r301090) @@ -0,0 +1,2 @@ +SHA256 (mopesnake-pc-0.5.zip) = 1bc270e7dc63ad40bb2280ac5d3dec8527b2d902b272f2b42bfd35d265d339d4 +SIZE (mopesnake-pc-0.5.zip) = 1426226 Added: head/games/mopesnake/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/mopesnake/pkg-descr Wed Jul 18 12:39:16 2012 (r301090) @@ -0,0 +1,9 @@ +Master Of Pain (Eating) - Snake +Is a classic snake game in which you attempt to eat all the pain in the world, +bravely accepting the inevitable consequences for your waistline. mop(e)snake +features an innovative single-finger control method, as well as the normal +four-directional control system familiar to fans of snake. The game doesn't +feature any of the extra features, bonuses, wrap-around levels and other +featuritis that ruins most versions of snake. + +WWW: http://mopesnake.sourceforge.net/