Bug 171237 - [NEW PORT] games/schiff: Steer your ship(s) with the keyboard
Summary: [NEW PORT] games/schiff: Steer your ship(s) with the keyboard
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-01 23:00 UTC by nemysis
Modified: 2013-12-08 19:10 UTC (History)
1 user (show)

See Also:


Attachments
.shar (2.82 KB, text/plain)
2012-09-01 23:00 UTC, nemysis
no flags Details
schiff.shar (2.74 KB, application/x-shar)
2012-10-11 03:04 UTC, nemysis
no flags Details
schiff.shar (3.91 KB, application/x-shar)
2013-02-14 15:41 UTC, nemysis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nemysis 2012-09-01 23:00:28 UTC
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

Generated and tested manually, tested with port test and with RedPorts (all RELEASES), sent with FreeBSD Port Tools 0.99_6 (mode: new)
Comment 1 nemysis 2013-02-14 15:41:13 UTC
portlint -A
WARN: Makefile: [32]: possible direct use of command "false" found. use ${FALSE} instead.
WARN: Makefile: [11]: possible direct use of command "python" found. use ${PYTHON_CMD} instead.

port test: clean
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-02-23 19:11:39 UTC
State Changed
From-To: open->closed

I close this pr. Requiers py25 or py26 which is already depricated.
Comment 3 Rusmir Dusko freebsd_committer freebsd_triage 2013-10-03 00:09:36 UTC
State Changed
From-To: closed->open

Use recent Python version.
Comment 4 Rusmir Dusko freebsd_committer freebsd_triage 2013-10-03 00:15:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemysis

I'll take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-12-08 19:05:03 UTC
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@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@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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Rusmir Dusko freebsd_committer freebsd_triage 2013-12-08 19:05:24 UTC
State Changed
From-To: open->closed

New port added. Thanks!