svn commit: r302306 - in head/games: . moagg moagg/files
Jason Helfman
jgh at FreeBSD.org
Wed Aug 8 20:09:41 UTC 2012
Author: jgh
Date: Wed Aug 8 20:09:40 2012
New Revision: 302306
URL: http://svn.freebsd.org/changeset/ports/302306
Log:
add new port: games/moagg
Moagg stands for "Mother of all gravity games".
In this game you are pilot of a small space ship and have to navigate it
through different caves by using the thrusters and rotating the ship.
But besides gravity there are many other difficulties you have to master.
The game is strongly influenced by some classical cave flyers from
the C64 and Amiga era such as "Space Taxi" or "Gravity Force".
But Moagg is supposed to be more than just a clone of these games.
WWW: http://moagg.sourceforge.net/
PR: 170459
Submitted by: nemysis at gmx.ch
Added:
head/games/moagg/
head/games/moagg/Makefile (contents, props changed)
head/games/moagg/distinfo (contents, props changed)
head/games/moagg/files/
head/games/moagg/files/patch-run.sh (contents, props changed)
head/games/moagg/pkg-descr (contents, props changed)
Modified:
head/games/Makefile (contents, props changed)
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Wed Aug 8 19:03:24 2012 (r302305)
+++ head/games/Makefile Wed Aug 8 20:09:40 2012 (r302306)
@@ -555,6 +555,7 @@
SUBDIR += miscom
SUBDIR += mkgichessclub
SUBDIR += mkhexgrid
+ SUBDIR += moagg
SUBDIR += monkeybubble
SUBDIR += monster-masher
SUBDIR += monsterz
Added: head/games/moagg/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/moagg/Makefile Wed Aug 8 20:09:40 2012 (r302306)
@@ -0,0 +1,69 @@
+# New Ports collection makefile for: moagg
+# Date created: 03 August 2012
+# Whom: nemysis at gmx.ch
+#
+# $FreeBSD$
+#
+
+PORTNAME= moagg
+PORTVERSION= 1.95b
+CATEGORIES= games java
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${DISTVERSION:S/b//}/ \
+ http://moagg.sourceforge.net/images/screenshots/:icons
+DISTFILES= ${PORTNAME}-${DISTVERSION}-bin.zip \
+ crates.png:icons
+DIST_SUBDIR= java
+EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-bin.zip
+
+MAINTAINER= nemysis at gmx.ch
+COMMENT= Pilot a small space ship
+
+LICENSE= GPLv2
+
+OPTIONS_DEFINE= DATA
+OPTIONS_DEFAULT= DATA
+
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+NO_BUILD= yes
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png
+
+REPLACE_LIST_TEMP= ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
+
+PORTDATA= *
+PORTDOCS= AUTHORS README.txt
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+
+.include <bsd.port.options.mk>
+
+post-patch-script:
+ @${SED} ${REPLACE_LIST_TEMP} ${WRKSRC}/run.sh > ${WRKSRC}/run.sh.new
+
+do-install:
+# Executable
+ ${INSTALL_SCRIPT} ${WRKSRC}/run.sh.new ${PREFIX}/bin/${PORTNAME}
+
+# Data
+.if ${PORT_OPTIONS:MDATA}
+ ${MKDIR} ${DATADIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "data ghosts jar" ${DATADIR})
+. for d in hiscores.dat log4j.properties
+ ${INSTALL_DATA} ${WRKSRC}/${d} ${DATADIR}
+. endfor
+.endif
+
+# Pixmaps
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/crates.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+# 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/moagg/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/moagg/distinfo Wed Aug 8 20:09:40 2012 (r302306)
@@ -0,0 +1,4 @@
+SHA256 (java/moagg-1.95b-bin.zip) = 84ab53740dea41256ce7940965fed262a5f2d84aa96e493b9acd6cb3beaf175f
+SIZE (java/moagg-1.95b-bin.zip) = 2739184
+SHA256 (java/crates.png) = 53c7b8a599e7c472b66d99abac9b8176722f49745e4b0de6e1e23158febfa60e
+SIZE (java/crates.png) = 11542
Added: head/games/moagg/files/patch-run.sh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/moagg/files/patch-run.sh Wed Aug 8 20:09:40 2012 (r302306)
@@ -0,0 +1,10 @@
+--- run.sh.orig 2008-02-08 20:24:00.000000000 +0100
++++ run.sh 2012-08-07 10:41:16.000000000 +0200
+@@ -1,5 +1,7 @@
+ #!/bin/sh
+
++cd %%JAVASHAREDIR%%/moagg
++
+ # Uncomment this line to force usage of the GAGE timer.
+ #MOAGG_TIMER="GAGE"
+
Added: head/games/moagg/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/moagg/pkg-descr Wed Aug 8 20:09:40 2012 (r302306)
@@ -0,0 +1,10 @@
+Moagg stands for "Mother of all gravity games".
+In this game you are pilot of a small space ship and have to navigate it
+through different caves by using the thrusters and rotating the ship.
+But besides gravity there are many other difficulties you have to master.
+
+The game is strongly influenced by some classical cave flyers from
+the C64 and Amiga era such as "Space Taxi" or "Gravity Force".
+But Moagg is supposed to be more than just a clone of these games.
+
+WWW: http://moagg.sourceforge.net/
More information about the svn-ports-head
mailing list