diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-18 13:32:48 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-18 13:32:48 +0000 |
commit | e2ff1d788256754b2480b01a0160baeb287c91b1 (patch) | |
tree | 757e9cee67740f1c4b0b7e43c8fac9604f1ba0d5 /games/funnyboat | |
parent | 86df52a374db4e00648ad6126961eb71da78b49a (diff) | |
download | ports-e2ff1d788256754b2480b01a0160baeb287c91b1.tar.gz ports-e2ff1d788256754b2480b01a0160baeb287c91b1.zip |
Notes
Diffstat (limited to 'games/funnyboat')
-rw-r--r-- | games/funnyboat/Makefile | 45 | ||||
-rw-r--r-- | games/funnyboat/distinfo | 3 | ||||
-rw-r--r-- | games/funnyboat/files/funnyboat_.in | 16 | ||||
-rw-r--r-- | games/funnyboat/pkg-descr | 8 | ||||
-rw-r--r-- | games/funnyboat/pkg-plist | 52 |
5 files changed, 124 insertions, 0 deletions
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 |