Bug 171097 - [NEW PORT] games/iceicepenguin: Remake of an old SEGA Dreamcast game called Chu Chu Rocket
Summary: [NEW PORT] games/iceicepenguin: Remake of an old SEGA Dreamcast game called C...
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: Glen Barber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-26 22:50 UTC by nemysis
Modified: 2012-09-01 17:00 UTC (History)
1 user (show)

See Also:


Attachments
.shar (4.08 KB, text/plain)
2012-08-26 22:50 UTC, nemysis
no flags Details
iceicepenguin.shar (4.16 KB, application/x-shar)
2012-08-30 00:03 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-08-26 22:50:01 UTC
Ice Ice Penguin is a remake of an old SEGA Dreamcast game called Chu Chu Rocket.

Two to four players try to steer penguins from the safety of the central igloo
to the player's water hole. To do this, each player can place up to three of the
five random direction arrows assigned to him on the gamefield.
Arrows can be chosen using the control cursor in the lower part of the screen,
and be placed on any free field using the field cursor and the action key.
Each arrow will disappear after after a given time (15 seconds by default) and
a new arrow will automagically appear in the control field.

Bears eat penguins (at least in this game). If a bear enter a player's target
area, the player loses up to 15 points (the score can not become negative)
Special penguins, marked by a colored ring, score 10 points and launch a
10 second long special event. See below for a list of events.

The game ends when the ice on the right side of the screen has reached
the bottom (after 3 minutes by default)

Winner is the player who gathered the most penguins.

WWW: https://sourceforge.net/projects/iceicepenguin/

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 Glen Barber freebsd_committer freebsd_triage 2012-08-31 19:29:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gjb

I'll take it.
Comment 2 Glen Barber freebsd_committer freebsd_triage 2012-09-01 16:16:21 UTC
State Changed
From-To: open->feedback

Waiting for feedback from submitter.
Comment 3 nemysis 2012-09-01 16:27:36 UTC
On Sat, 1 Sep 2012 11:11:15 -0400
Glen Barber <gjb@FreeBSD.org> wrote:

> Hi,
> 
> On Sun, Aug 26, 2012 at 11:45:39PM +0200, nemysis wrote:
> > echo c - iceicepenguin/files
> > mkdir -p iceicepenguin/files > /dev/null 2>&1
> > echo x - iceicepenguin/files/iceicepenguin.in
> > sed 's/^X//' >iceicepenguin/files/iceicepenguin.in << 'e4e1974e2fafadc83f43cceb1e890884'
> > X#!/bin/sh
> > X#
> > Xecho "Ice Ice Penguin: Starting up..."
> > Xcd "%%DATADIR%%"
> > X./iceicepengui.py
> > e4e1974e2fafadc83f43cceb1e890884
> > exit
> 
> The startup script for this port cannot be added as-is, since it will
> unconditionally start the program.  This script must obey the rc(8)
> subsystem, so a user can add ${name}_enable=NO to rc.conf(5).
> 
> Please see:
> 
> http://www.freebsd.org/doc/en/books/porters-handbook/rc-scripts.html
> 
> Glen
> 


Thanks i have looked into this good FreeBSD Page.

This files/iceicepenguin.in is not a rc-script.

This is only to start a game from "%%DATADIR%%", which can't be started directly, not more.

I have similar in mine others Ports


#!/bin/sh                                                                                                                                                      
#                                                                                                                                                              
# $FreeBSD$                                                                                                                                                    
                                                                                                                                                               
echo "Ice Ice Penguin: Starting up..."                                                                                                                         
cd "%%DATADIR%%"                                                                                                                                               
./iceicepengui.py


This is not Patch what i have writed here.

Not need do submit a new Patch, only if You wish to add this $FreeBSD$

nemysis
Comment 4 Glen Barber freebsd_committer freebsd_triage 2012-09-01 16:33:38 UTC
On Sat, Sep 01, 2012 at 05:27:36PM +0200, nemysis wrote:
> > The startup script for this port cannot be added as-is, since it will
> > unconditionally start the program.  This script must obey the rc(8)
> > subsystem, so a user can add ${name}_enable=NO to rc.conf(5).
> > 
> [...]
> 
> Thanks i have looked into this good FreeBSD Page.
> 
> This files/iceicepenguin.in is not a rc-script.
> 
> This is only to start a game from "%%DATADIR%%", which can't be started directly, not more.


My apologies.  You are correct.

Glen
Comment 5 Glen Barber freebsd_committer freebsd_triage 2012-09-01 16:35:47 UTC
State Changed
From-To: feedback->open

Feedback received; mistake on my part.
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-09-01 16:56:10 UTC
Author: gjb
Date: Sat Sep  1 15:55:56 2012
New Revision: 303486
URL: http://svn.freebsd.org/changeset/ports/303486

Log:
  Ice Ice Penguin is a remake of an old SEGA Dreamcast game called Chu Chu
  Rocket.
  
  PR:		ports/171097
  Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
  Approved by:	crees (mentor)

Added:
  head/games/iceicepenguin/
  head/games/iceicepenguin/Makefile   (contents, props changed)
  head/games/iceicepenguin/distinfo   (contents, props changed)
  head/games/iceicepenguin/files/
  head/games/iceicepenguin/files/iceicepenguin.in   (contents, props changed)
  head/games/iceicepenguin/pkg-descr   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Sat Sep  1 15:41:31 2012	(r303485)
+++ head/games/Makefile	Sat Sep  1 15:55:56 2012	(r303486)
@@ -385,6 +385,7 @@
     SUBDIR += holotz-castle
     SUBDIR += icbm3d
     SUBDIR += icebreaker
+    SUBDIR += iceicepenguin
     SUBDIR += ifm
     SUBDIR += imaze
     SUBDIR += impossible_mission_puzzle

Added: head/games/iceicepenguin/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/iceicepenguin/Makefile	Sat Sep  1 15:55:56 2012	(r303486)
@@ -0,0 +1,65 @@
+# $FreeBSD$
+
+PORTNAME=	iceicepenguin
+PORTVERSION=	1.5.1
+CATEGORIES=	games python
+MASTER_SITES=	SF/${PORTNAME}/Default/Ice%20Ice%20Penguin/  \
+		SF/nemysisfreebsdp/:icons
+DISTNAME=	iip.${DISTVERSION}-final
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
+		${PORTNAME}_icons.zip:icons
+DIST_SUBDIR=	python
+
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Remake of an old SEGA Dreamcast game called Chu Chu Rocket
+
+LICENSE=	GPLv3
+
+RUN_DEPENDS=	${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
+
+WRKSRC=		${WRKDIR}/"ice ice penguin"
+
+FETCH_ARGS?=	-Fpr
+USE_ZIP=	yes
+USE_PYTHON=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	bin/${PORTNAME} \
+		share/pixmaps/${PORTNAME}_48.png \
+		share/pixmaps/${PORTNAME}_64.png \
+		share/pixmaps/${PORTNAME}_72.png \
+		share/pixmaps/${PORTNAME}_96.png
+
+PORTDATA=	*
+PORTDOCS=	CHANGELOG.txt readme.txt
+
+SUB_FILES=	${PORTNAME}
+
+.include <bsd.port.options.mk>
+
+do-install:
+# Scripts
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+
+# Executable
+	${MKDIR} ${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
+
+# Data
+	${MKDIR} ${DATADIR}
+.for d in fonts gfx lvls menu sfx
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${DATADIR})
+.endfor
+
+# Pixmaps
+	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}*.png ${PREFIX}/share/pixmaps
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${DOCSDIR}
+.  for f in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.  endfor
+.endif
+
+.include <bsd.port.mk>

Added: head/games/iceicepenguin/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/iceicepenguin/distinfo	Sat Sep  1 15:55:56 2012	(r303486)
@@ -0,0 +1,4 @@
+SHA256 (python/iip.1.5.1-final.zip) = 6fde1fc6b432951ed73c0f75c769d4550e5b4a014783bf49aaef24e904b7910e
+SIZE (python/iip.1.5.1-final.zip) = 17948605
+SHA256 (python/iceicepenguin_icons.zip) = 623826fb3536d0837d5a076a9bb73fb6582986dd1234491be728e72f21ae46fc
+SIZE (python/iceicepenguin_icons.zip) = 29562

Added: head/games/iceicepenguin/files/iceicepenguin.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/iceicepenguin/files/iceicepenguin.in	Sat Sep  1 15:55:56 2012	(r303486)
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+echo "Ice Ice Penguin: Starting up..."
+cd "%%DATADIR%%"
+exec /usr/bin/env python ./iceicepengui.py

Added: head/games/iceicepenguin/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/iceicepenguin/pkg-descr	Sat Sep  1 15:55:56 2012	(r303486)
@@ -0,0 +1,21 @@
+Ice Ice Penguin is a remake of an old SEGA Dreamcast game called Chu Chu Rocket.
+
+Two to four players try to steer penguins from the safety of the central igloo
+to the player's water hole. To do this, each player can place up to three of the
+five random direction arrows assigned to him on the gamefield.
+Arrows can be chosen using the control cursor in the lower part of the screen,
+and be placed on any free field using the field cursor and the action key.
+Each arrow will disappear after after a given time (15 seconds by default) and
+a new arrow will automagically appear in the control field.
+
+Bears eat penguins (at least in this game). If a bear enter a player's target
+area, the player loses up to 15 points (the score can not become negative)
+Special penguins, marked by a colored ring, score 10 points and launch a
+10 second long special event. See below for a list of events.
+
+The game ends when the ice on the right side of the screen has reached
+the bottom (after 3 minutes by default)
+
+Winner is the player who gathered the most penguins.
+
+WWW: https://sourceforge.net/projects/iceicepenguin/
_______________________________________________
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 7 Glen Barber freebsd_committer freebsd_triage 2012-09-01 16:59:35 UTC
State Changed
From-To: open->closed

Committed, with minor changes.  Thanks!