diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-08-08 20:09:40 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-08-08 20:09:40 +0000 |
commit | 3cfbe04d71fe501ab18dbc0ea6395e63fcbbaf4f (patch) | |
tree | 527097163172ad8b00e1fe662ba776f2f81c4fe0 /games | |
parent | 3c9337b0368fc134c4cb51278fa0dc7c81a2e60f (diff) | |
download | ports-3cfbe04d71fe501ab18dbc0ea6395e63fcbbaf4f.tar.gz ports-3cfbe04d71fe501ab18dbc0ea6395e63fcbbaf4f.zip |
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@gmx.ch
Notes
Notes:
svn path=/head/; revision=302306
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/moagg/Makefile | 69 | ||||
-rw-r--r-- | games/moagg/distinfo | 4 | ||||
-rw-r--r-- | games/moagg/files/patch-run.sh | 10 | ||||
-rw-r--r-- | games/moagg/pkg-descr | 10 |
5 files changed, 94 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 6b69fedf540d..c8bd55f93f51 100644 --- a/games/Makefile +++ b/games/Makefile @@ -555,6 +555,7 @@ SUBDIR += miscom SUBDIR += mkgichessclub SUBDIR += mkhexgrid + SUBDIR += moagg SUBDIR += monkeybubble SUBDIR += monster-masher SUBDIR += monsterz diff --git a/games/moagg/Makefile b/games/moagg/Makefile new file mode 100644 index 000000000000..3ec8bcb4373d --- /dev/null +++ b/games/moagg/Makefile @@ -0,0 +1,69 @@ +# New Ports collection makefile for: moagg +# Date created: 03 August 2012 +# Whom: nemysis@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@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> diff --git a/games/moagg/distinfo b/games/moagg/distinfo new file mode 100644 index 000000000000..16aed9980346 --- /dev/null +++ b/games/moagg/distinfo @@ -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 diff --git a/games/moagg/files/patch-run.sh b/games/moagg/files/patch-run.sh new file mode 100644 index 000000000000..beb726e9e0a1 --- /dev/null +++ b/games/moagg/files/patch-run.sh @@ -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" + diff --git a/games/moagg/pkg-descr b/games/moagg/pkg-descr new file mode 100644 index 000000000000..37935b91f624 --- /dev/null +++ b/games/moagg/pkg-descr @@ -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/ |