From nemysis@gmx.ch  Tue Aug  7 16:27:34 2012
Return-Path: <nemysis@gmx.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BD6B4106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Aug 2012 16:27:34 +0000 (UTC)
	(envelope-from nemysis@gmx.ch)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23])
	by mx1.freebsd.org (Postfix) with SMTP id 303058FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Aug 2012 16:27:33 +0000 (UTC)
Received: (qmail invoked by alias); 07 Aug 2012 16:27:31 -0000
Received: from 201-230.4-85.cust.bluewin.ch (EHLO something.email.com) [85.4.230.201]
  by mail.gmx.net (mp029) with SMTP; 07 Aug 2012 18:27:31 +0200
Received: by something.email.com (sSMTP sendmail emulation); Tue, 07 Aug 2012 18:27:31 +0200
Message-Id: <20120807162734.BD6B4106564A@hub.freebsd.org>
Date: Tue, 07 Aug 2012 18:27:31 +0200
From: nemysis <nemysis@gmx.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] games/moagg: Pilot a small space ship
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         170459
>Category:       ports
>Synopsis:       [NEW PORT] games/moagg: Pilot a small space ship
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jgh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 07 16:30:03 UTC 2012
>Closed-Date:    Wed Aug 08 20:10:22 UTC 2012
>Last-Modified:  Wed Aug 08 20:10:22 UTC 2012
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC
>Description:
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)
>How-To-Repeat:
>Fix:

--- .shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	moagg
#	moagg/Makefile
#	moagg/pkg-descr
#	moagg/distinfo
#	moagg/files
#	moagg/files/patch-run.sh
#
echo c - moagg
mkdir -p moagg > /dev/null 2>&1
echo x - moagg/Makefile
sed 's/^X//' >moagg/Makefile << '50ff4c07edb246fb468a8682a276e8d6'
X# New Ports collection makefile for:	Mother of all gravity games
X# Date created:		2012-08-03
X# Whom:			nemysis@gmx.ch
X#
X# $FreeBSD$
X#
X
XPORTNAME=	moagg
XPORTVERSION=	1.95b
XCATEGORIES=	games java
XMASTER_SITES=	SF/${PORTNAME}/${PORTNAME}2/${DISTVERSION:S/b//}/ \
X		http://moagg.sourceforge.net/images/screenshots/:icons
XDISTFILES=	${PORTNAME}-${DISTVERSION}-bin.zip \
X		crates.png:icons
XDIST_SUBDIR=	java
XEXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}-bin.zip
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	Pilot a small space ship
X
XLICENSE=	GPLv2
X
XOPTIONS_DEFINE=	DATA
XOPTIONS_DEFAULT=	DATA
X
XUSE_ZIP=	yes
XUSE_JAVA=	yes
XJAVA_VERSION=	1.5+
XNO_BUILD=	yes
X
XPLIST_FILES=	bin/${PORTNAME} \
X		share/pixmaps/${PORTNAME}.png
X
XPORTDATA=	*
XPORTDOCS=	AUTHORS README.txt
XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
X
X.include <bsd.port.options.mk>
X
Xdo-install:
X# Executable
X	${INSTALL_SCRIPT} ${WRKSRC}/run.sh ${PREFIX}/bin/${PORTNAME}
X
X# Data
X.if ${PORT_OPTIONS:MDATA}
X	${MKDIR} ${DATADIR}
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data ghosts jar" ${DATADIR})
X.  for d in hiscores.dat log4j.properties
X	${INSTALL_DATA} ${WRKSRC}/${d} ${DATADIR}
X.  endfor
X.endif
X
X# Pixmaps
X	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/crates.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
X
X# Documentation
X.if ${PORT_OPTIONS:MDOCS}
X	${MKDIR} ${DOCSDIR}
X.  for f in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.  endfor
X.endif
X
X.include <bsd.port.mk>
50ff4c07edb246fb468a8682a276e8d6
echo x - moagg/pkg-descr
sed 's/^X//' >moagg/pkg-descr << '5884650d66e71d0300dfd10ccf01d235'
XMoagg stands for "Mother of all gravity games".
XIn this game you are pilot of a small space ship and have to navigate it
Xthrough different caves by using the thrusters and rotating the ship.
XBut besides gravity there are many other difficulties you have to master.
X
XThe game is strongly influenced by some classical cave flyers from
Xthe C64 and Amiga era such as "Space Taxi" or "Gravity Force".
XBut Moagg is supposed to be more than just a clone of these games.
X
XWWW: http://moagg.sourceforge.net/
5884650d66e71d0300dfd10ccf01d235
echo x - moagg/distinfo
sed 's/^X//' >moagg/distinfo << '872fd5f881d6f99203c265fd66286569'
XSHA256 (java/moagg-1.95b-bin.zip) = 84ab53740dea41256ce7940965fed262a5f2d84aa96e493b9acd6cb3beaf175f
XSIZE (java/moagg-1.95b-bin.zip) = 2739184
XSHA256 (java/crates.png) = 53c7b8a599e7c472b66d99abac9b8176722f49745e4b0de6e1e23158febfa60e
XSIZE (java/crates.png) = 11542
872fd5f881d6f99203c265fd66286569
echo c - moagg/files
mkdir -p moagg/files > /dev/null 2>&1
echo x - moagg/files/patch-run.sh
sed 's/^X//' >moagg/files/patch-run.sh << '3698e0675ef4e6924943713bed86d200'
X--- run.sh.orig	2008-02-08 20:24:00.000000000 +0100
X+++ run.sh	2012-08-07 10:41:16.000000000 +0200
X@@ -1,5 +1,7 @@
X #!/bin/sh
X 
X+cd /usr/local/share/java/moagg
X+
X # Uncomment this line to force usage of the GAGE timer.
X #MOAGG_TIMER="GAGE"
X 
3698e0675ef4e6924943713bed86d200
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jgh 
Responsible-Changed-By: jgh 
Responsible-Changed-When: Tue Aug 7 18:36:08 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170459 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/170459: commit references a PR
Date: Wed,  8 Aug 2012 20:09:55 +0000 (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"
 
State-Changed-From-To: open->closed 
State-Changed-By: jgh 
State-Changed-When: Wed Aug 8 20:10:21 UTC 2012 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170459 
>Unformatted:
