svn commit: r335922 - in head/games: . schiff schiff/files
Rusmir Dusko
nemysis at FreeBSD.org
Sun Dec 8 19:04:56 UTC 2013
Author: nemysis
Date: Sun Dec 8 19:04:54 2013
New Revision: 335922
URL: http://svnweb.freebsd.org/changeset/ports/335922
Log:
Schiff is the German word for ship.
Steer your ship(s) with the keyboard to rotate or move forward / backward.
Try to avoid enemy bullets and the floating yellow rectangles.
Become last ship floating to win the game.
WWW: http://thepythongamebook.com/en:resources:games:schiff
PR: ports/171237
Submitted by: nemysis (self)
Approved by: pawel (mentor)
Added:
head/games/schiff/
head/games/schiff/Makefile (contents, props changed)
head/games/schiff/distinfo (contents, props changed)
head/games/schiff/files/
head/games/schiff/files/schiff.in (contents, props changed)
head/games/schiff/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Sun Dec 8 18:59:35 2013 (r335921)
+++ head/games/Makefile Sun Dec 8 19:04:54 2013 (r335922)
@@ -842,6 +842,7 @@
SUBDIR += sarien
SUBDIR += sauerbraten
SUBDIR += scare
+ SUBDIR += schiff
SUBDIR += schwarzweiss
SUBDIR += scid
SUBDIR += scorched3d
Added: head/games/schiff/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/schiff/Makefile Sun Dec 8 19:04:54 2013 (r335922)
@@ -0,0 +1,45 @@
+# Created by: Rusmir Dusko <nemysis at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= schiff
+PORTVERSION= 16
+CATEGORIES= games python
+MASTER_SITES= SF/pygamebook/${PORTNAME:S/s/S/}/${PORTNAME}${PORTVERSION}.py/ \
+ SF/nemysisfreebsdp/games/:icons
+DISTFILES= ${PORTNAME}${DISTVERSION}.py \
+ ${PORTNAME}.png:icons
+DIST_SUBDIR= python
+EXTRACT_ONLY=
+
+MAINTAINER= nemysis at FreeBSD.org
+COMMENT= Steer your ship(s) with the keyboard
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= ${PYGAME}
+
+USE_PYTHON= 2.7
+NO_BUILD= yes
+
+SUB_FILES= ${PORTNAME}
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png \
+ %%DATADIR%%/${PORTNAME}.py
+PLIST_DIRS= %%DATADIR%%
+
+DESKTOP_ENTRIES="Schiff" "" ${PORTNAME} \
+ "${PORTNAME}" "Game;LogicGame;" ""
+
+do-install:
+ @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \
+ ${WRKDIR}/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${_DISTDIR}/schiff${PORTVERSION}.py \
+ ${STAGEDIR}${DATADIR}/${PORTNAME}.py
+
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
+
+.include <bsd.port.mk>
Added: head/games/schiff/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/schiff/distinfo Sun Dec 8 19:04:54 2013 (r335922)
@@ -0,0 +1,4 @@
+SHA256 (python/schiff16.py) = 85a350632ad28883a2752a817046381b1d00ec4b8c13026d0f30fa6504e17e00
+SIZE (python/schiff16.py) = 56221
+SHA256 (python/schiff.png) = 8ad9550368f8ba47978f39da2431c92f9dcba19dd9ad6273df3a09323d425d98
+SIZE (python/schiff.png) = 3437
Added: head/games/schiff/files/schiff.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/schiff/files/schiff.in Sun Dec 8 19:04:54 2013 (r335922)
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+cd "%%DATADIR%%"
+exec %%PYTHON_CMD%% ./schiff.py "${@}"
Added: head/games/schiff/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/schiff/pkg-descr Sun Dec 8 19:04:54 2013 (r335922)
@@ -0,0 +1,6 @@
+Schiff is the German word for ship.
+Steer your ship(s) with the keyboard to rotate or move forward / backward.
+Try to avoid enemy bullets and the floating yellow rectangles.
+Become last ship floating to win the game.
+
+WWW: http://thepythongamebook.com/en:resources:games:schiff
More information about the svn-ports-all
mailing list