svn commit: r301090 - in head/games: . mopesnake
Carlo Strub
cs at FreeBSD.org
Wed Jul 18 12:39:17 UTC 2012
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 at 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 at gmx.ch
+#
+# $FreeBSD$
+#
+
+PORTNAME= mopesnake
+PORTVERSION= 0.5
+CATEGORIES= games
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
+DISTNAME= ${PORTNAME}-pc-${DISTVERSION}
+
+MAINTAINER= nemysis at 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 <bsd.port.mk>
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/
More information about the svn-ports-head
mailing list