Bug 170459 - [NEW PORT] games/moagg: Pilot a small space ship
Summary: [NEW PORT] games/moagg: Pilot a small space ship
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: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-07 17:30 UTC by nemysis
Modified: 2012-08-08 21:10 UTC (History)
0 users

See Also:


Attachments
.shar (3.41 KB, text/plain)
2012-08-07 17:30 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-07 17:30:03 UTC
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/

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 Jason Helfman freebsd_committer freebsd_triage 2012-08-07 19:36:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-08-08 21:09:55 UTC
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@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@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>

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/
_______________________________________________
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 3 Jason Helfman freebsd_committer freebsd_triage 2012-08-08 21:10:21 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!