aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-03-18 21:32:48 +0800
committerrafan <rafan@FreeBSD.org>2007-03-18 21:32:48 +0800
commit5080cb7a59495ed9d7e240a70fde3c91136cb092 (patch)
tree3be9a72a11f9814396545272ce1f8e1653195ba8 /games
parent26771b01cd53d2c20d2bf8842cd88e49edd7ab9e (diff)
downloadfreebsd-ports-gnome-5080cb7a59495ed9d7e240a70fde3c91136cb092.tar.gz
freebsd-ports-gnome-5080cb7a59495ed9d7e240a70fde3c91136cb092.tar.zst
freebsd-ports-gnome-5080cb7a59495ed9d7e240a70fde3c91136cb092.zip
Add funnyboat 1.4, a side scrolling shooter game starring a steamboat on
the sea. PR: ports/110460 Submitted by: Dmitry Marakasov <amdmi3 at amdmi3.ru>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/funnyboat/Makefile45
-rw-r--r--games/funnyboat/distinfo3
-rw-r--r--games/funnyboat/files/funnyboat_.in16
-rw-r--r--games/funnyboat/pkg-descr8
-rw-r--r--games/funnyboat/pkg-plist52
6 files changed, 125 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index aae95e31563c..cb6fdc420738 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -232,6 +232,7 @@
SUBDIR += fteqw
SUBDIR += ftjava
SUBDIR += fuhquake
+ SUBDIR += funnyboat
SUBDIR += fwp
SUBDIR += fxsudoku
SUBDIR += galaxis
diff --git a/games/funnyboat/Makefile b/games/funnyboat/Makefile
new file mode 100644
index 000000000000..dc3f0338154f
--- /dev/null
+++ b/games/funnyboat/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: funnyboat
+# Date created: 18 Mar 2007
+# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= funnyboat
+PORTVERSION= 1.4
+CATEGORIES= games
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= amdmi3@amdmi3.ru
+COMMENT= A side scrolling shooter game starring a steamboat on the sea
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
+ ${PYTHON_SITELIBDIR}/Numeric/_numpy.so:${PORTSDIR}/math/py-numeric
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_PYTHON= 2.4+
+NO_BUILD= yes
+
+SUB_FILES= funnyboat_
+SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}"
+
+PORTDOCS= README.txt
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/${PORTNAME}
+ ${MKDIR} ${PREFIX}/lib/${PORTNAME}/data
+ ${INSTALL_DATA} ${WRKSRC}/*.py ${PREFIX}/lib/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/lib/${PORTNAME}/data
+ ${INSTALL_SCRIPT} ${WRKDIR}/funnyboat_ ${PREFIX}/bin/funnyboat
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/funnyboat/distinfo b/games/funnyboat/distinfo
new file mode 100644
index 000000000000..80d4af91c5d5
--- /dev/null
+++ b/games/funnyboat/distinfo
@@ -0,0 +1,3 @@
+MD5 (funnyboat-1.4.tar.gz) = b24f1debe0d1ad5e8865661943f98b05
+SHA256 (funnyboat-1.4.tar.gz) = df7873e57419f3ab64ab8073c884de3b38ebcb191bb25ce5254579f96ba7b032
+SIZE (funnyboat-1.4.tar.gz) = 3823121
diff --git a/games/funnyboat/files/funnyboat_.in b/games/funnyboat/files/funnyboat_.in
new file mode 100644
index 000000000000..647c03a8c75e
--- /dev/null
+++ b/games/funnyboat/files/funnyboat_.in
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+
+import sys
+import os.path
+
+#Program path
+package_dir = os.path.join("%%PROGRAM_DIR%%")
+
+#Change current work directory
+os.chdir(package_dir)
+
+#Add package_dir to python path
+sys.path.append(package_dir)
+
+#Launch the program!
+execfile(os.path.join(package_dir, "main.py"))
diff --git a/games/funnyboat/pkg-descr b/games/funnyboat/pkg-descr
new file mode 100644
index 000000000000..2bf5a0a68659
--- /dev/null
+++ b/games/funnyboat/pkg-descr
@@ -0,0 +1,8 @@
+Trip on the Funny Boat is side scrolling arcade shooter game on a
+steamboat equipped with a cannon and the ability to jump. The player
+will need to take advantage of waves to defeat the enemies and dodge
+hazards.
+This game was originally made for the second PyWeek competition
+during the week from 25.3.2006 to 2.4.2006.
+
+WWW: http://funnyboat.sourceforge.net
diff --git a/games/funnyboat/pkg-plist b/games/funnyboat/pkg-plist
new file mode 100644
index 000000000000..ba31855bda63
--- /dev/null
+++ b/games/funnyboat/pkg-plist
@@ -0,0 +1,52 @@
+bin/funnyboat
+lib/funnyboat/PixelPerfect.py
+lib/funnyboat/cannonball.py
+lib/funnyboat/cloud.py
+lib/funnyboat/data/JDruid-Trip_on_the_Funny_Boat.ogg
+lib/funnyboat/data/Vera.ttf
+lib/funnyboat/data/blub.ogg
+lib/funnyboat/data/cloud1.png
+lib/funnyboat/data/cloud2.png
+lib/funnyboat/data/cloud3.png
+lib/funnyboat/data/cloud4.png
+lib/funnyboat/data/hai.png
+lib/funnyboat/data/kraah.ogg
+lib/funnyboat/data/kuti.png
+lib/funnyboat/data/kuvake.png
+lib/funnyboat/data/laiva.png
+lib/funnyboat/data/logo.png
+lib/funnyboat/data/lokki1.png
+lib/funnyboat/data/lokki2.png
+lib/funnyboat/data/lokki3.png
+lib/funnyboat/data/merkkari.png
+lib/funnyboat/data/miina.png
+lib/funnyboat/data/pam.ogg
+lib/funnyboat/data/poks.ogg
+lib/funnyboat/data/rasteri.png
+lib/funnyboat/data/sydan-rikki.png
+lib/funnyboat/data/sydan-tyhja.png
+lib/funnyboat/data/sydan.png
+lib/funnyboat/data/taivas.png
+lib/funnyboat/data/titanic.png
+lib/funnyboat/enemy.py
+lib/funnyboat/game.py
+lib/funnyboat/health.py
+lib/funnyboat/highscores.py
+lib/funnyboat/level.py
+lib/funnyboat/locals.py
+lib/funnyboat/main.py
+lib/funnyboat/menu.py
+lib/funnyboat/mine.py
+lib/funnyboat/options.py
+lib/funnyboat/particles.py
+lib/funnyboat/pirateboat.py
+lib/funnyboat/powerup.py
+lib/funnyboat/score.py
+lib/funnyboat/seagull.py
+lib/funnyboat/shark.py
+lib/funnyboat/steamboat.py
+lib/funnyboat/titanic.py
+lib/funnyboat/util.py
+lib/funnyboat/water.py
+@dirrm lib/funnyboat/data
+@dirrm lib/funnyboat