From 15ed9f23227f7e6b2ddccb4553ad3ecf11215cdb Mon Sep 17 00:00:00 2001 From: pawel Date: Fri, 12 Oct 2012 17:26:26 +0000 Subject: 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@gmx.ch Feature safe: yes --- games/Makefile | 1 + games/rescue/Makefile | 51 ++++++++++++++++++++++++++++++++++++++++++++ games/rescue/distinfo | 2 ++ games/rescue/files/rescue.in | 9 ++++++++ games/rescue/pkg-descr | 8 +++++++ 5 files changed, 71 insertions(+) create mode 100644 games/rescue/Makefile create mode 100644 games/rescue/distinfo create mode 100644 games/rescue/files/rescue.in create mode 100644 games/rescue/pkg-descr diff --git a/games/Makefile b/games/Makefile index 44528ae27e92..8dfb6886ee8a 100644 --- a/games/Makefile +++ b/games/Makefile @@ -791,6 +791,7 @@ SUBDIR += railroad-rampage SUBDIR += redeclipse SUBDIR += reminiscence + SUBDIR += rescue SUBDIR += rezerwar SUBDIR += rfksay SUBDIR += rftg diff --git a/games/rescue/Makefile b/games/rescue/Makefile new file mode 100644 index 000000000000..a1d28b18df72 --- /dev/null +++ b/games/rescue/Makefile @@ -0,0 +1,51 @@ +# Created by: nemysis@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@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 + +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 diff --git a/games/rescue/distinfo b/games/rescue/distinfo new file mode 100644 index 000000000000..2cacee1d26cf --- /dev/null +++ b/games/rescue/distinfo @@ -0,0 +1,2 @@ +SHA256 (java/Rescue_1.0.0.2.zip) = 38cb6f68f2dafcc44a4b34b65a2ab36136d37029c60136646068da4634e8f5b3 +SIZE (java/Rescue_1.0.0.2.zip) = 3907836 diff --git a/games/rescue/files/rescue.in b/games/rescue/files/rescue.in new file mode 100644 index 000000000000..95f461472762 --- /dev/null +++ b/games/rescue/files/rescue.in @@ -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" "${@}" diff --git a/games/rescue/pkg-descr b/games/rescue/pkg-descr new file mode 100644 index 000000000000..4761c39d963c --- /dev/null +++ b/games/rescue/pkg-descr @@ -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/ -- cgit