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
This commit is contained in:
parent
26ad573425
commit
b204610098
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=301090
4 changed files with 74 additions and 0 deletions
|
@ -558,6 +558,7 @@
|
|||
SUBDIR += monsterz
|
||||
SUBDIR += moon-buggy
|
||||
SUBDIR += moonlander
|
||||
SUBDIR += mopesnake
|
||||
SUBDIR += moria
|
||||
SUBDIR += motogt
|
||||
SUBDIR += mt_dolphin_ia
|
||||
|
|
62
games/mopesnake/Makefile
Normal file
62
games/mopesnake/Makefile
Normal file
|
@ -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 <bsd.port.mk>
|
2
games/mopesnake/distinfo
Normal file
2
games/mopesnake/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (mopesnake-pc-0.5.zip) = 1bc270e7dc63ad40bb2280ac5d3dec8527b2d902b272f2b42bfd35d265d339d4
|
||||
SIZE (mopesnake-pc-0.5.zip) = 1426226
|
9
games/mopesnake/pkg-descr
Normal file
9
games/mopesnake/pkg-descr
Normal file
|
@ -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/
|
Loading…
Reference in a new issue