From owner-svn-ports-all@FreeBSD.ORG Fri Oct 12 17:26:27 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2FEBD908; Fri, 12 Oct 2012 17:26:27 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 16C7F8FC08; Fri, 12 Oct 2012 17:26:27 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9CHQQH2045353; Fri, 12 Oct 2012 17:26:26 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9CHQQhh045347; Fri, 12 Oct 2012 17:26:26 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201210121726.q9CHQQhh045347@svn.freebsd.org> From: Pawel Pekala Date: Fri, 12 Oct 2012 17:26:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r305790 - in head/games: . rescue rescue/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2012 17:26:27 -0000 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@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@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 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/