svn commit: r305790 - in head/games: . rescue rescue/files
Pawel Pekala
pawel at FreeBSD.org
Fri Oct 12 17:26:27 UTC 2012
Author: pawel
Date: Fri Oct 12 17:26:26 2012
New Revision: 305790
URL: http://svn.freebsd.org/changeset/ports/305790
Log:
Rescue Max is a Action Adventure in Space written in java.
It is based on a old mac game called Rescue! by Tom Spreen.
A 2D space real-time, action/strategy game. You are in control of a ship that
you fly around space fighting enemies and making friends on your way.
The main objective is to rescue people from planets and take them to star bases.
WWW: http://rescue.sourceforge.net/
PR: ports/172123
Submitted by: nemysis at gmx.ch
Feature safe: yes
Added:
head/games/rescue/
head/games/rescue/Makefile (contents, props changed)
head/games/rescue/distinfo (contents, props changed)
head/games/rescue/files/
head/games/rescue/files/rescue.in (contents, props changed)
head/games/rescue/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Fri Oct 12 17:16:14 2012 (r305789)
+++ head/games/Makefile Fri Oct 12 17:26:26 2012 (r305790)
@@ -791,6 +791,7 @@
SUBDIR += railroad-rampage
SUBDIR += redeclipse
SUBDIR += reminiscence
+ SUBDIR += rescue
SUBDIR += rezerwar
SUBDIR += rfksay
SUBDIR += rftg
Added: head/games/rescue/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/rescue/Makefile Fri Oct 12 17:26:26 2012 (r305790)
@@ -0,0 +1,51 @@
+# Created by: nemysis at gmx.ch
+# $FreeBSD$
+
+PORTNAME= rescue
+PORTVERSION= 1.0.0.2
+CATEGORIES= games java
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME:S/r/R/}%21%20Max/${PORTVERSION}/
+DISTNAME= ${PORTNAME:S/r/R/}_${PORTVERSION}
+DIST_SUBDIR= java
+
+MAINTAINER= nemysis at gmx.ch
+COMMENT= Action Adventure in Space
+
+LICENSE= GPLv2
+
+USE_ZIP= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.5+
+NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME:S/r/R/}
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png
+
+PORTDATA= *
+PORTDOCS= ChangeLog.txt bugs.txt
+DATADIR= ${JAVASHAREDIR}/${PORTNAME}
+
+SUB_FILES= ${PORTNAME}
+
+DESKTOP_ENTRIES="Rescue! Max" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME}" "Game;StrategyGame;" "false"
+
+.include <bsd.port.options.mk>
+
+post-extract:
+ @(cd ${WRKSRC} && ${UNZIP_CMD} -j Rescue.jar rescue/gui/logo.png)
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+ ${MKDIR} ${DATADIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "help missions *.jar" ${DATADIR})
+ ${INSTALL_DATA} ${WRKSRC}/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
Added: head/games/rescue/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/rescue/distinfo Fri Oct 12 17:26:26 2012 (r305790)
@@ -0,0 +1,2 @@
+SHA256 (java/Rescue_1.0.0.2.zip) = 38cb6f68f2dafcc44a4b34b65a2ab36136d37029c60136646068da4634e8f5b3
+SIZE (java/Rescue_1.0.0.2.zip) = 3907836
Added: head/games/rescue/files/rescue.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/rescue/files/rescue.in Fri Oct 12 17:26:26 2012 (r305790)
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+export JAVA_VERSION="%%JAVA_VERSION%%"
+
+cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
+-Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/Rescue.jar" "${@}"
Added: head/games/rescue/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/rescue/pkg-descr Fri Oct 12 17:26:26 2012 (r305790)
@@ -0,0 +1,8 @@
+Rescue Max is a Action Adventure in Space written in java.
+It is based on a old mac game called Rescue! by Tom Spreen.
+
+A 2D space real-time, action/strategy game. You are in control of a ship that
+you fly around space fighting enemies and making friends on your way.
+The main objective is to rescue people from planets and take them to star bases.
+
+WWW: http://rescue.sourceforge.net/
More information about the svn-ports-all
mailing list