Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2012 23:33:39 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/172123: [NEW PORT] games/rescue: Rescue! Max, Action Adventure in Space
Message-ID:  <20120927213348.8AC45106566C@hub.freebsd.org>
Resent-Message-ID: <201209272140.q8RLe3KL082751@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172123
>Category:       ports
>Synopsis:       [NEW PORT] games/rescue: Rescue! Max, Action Adventure in Space
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 27 21:40:03 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
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/

Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: new)
>How-To-Repeat:

portlint -A
WARN: Makefile: [36]: possible direct use of command "false" found. use ${FALSE} instead.
0 fatal errors and 1 warning found.

WARN: Makefile: [36] because is used

DESKTOP_ENTRIES=...false


Build log RedPorts

https://redports.org/buildarchive/20120927180959-44974/

>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:
#
#	rescue
#	rescue/Makefile
#	rescue/distinfo
#	rescue/pkg-descr
#	rescue/files
#	rescue/files/rescue.in
#
echo c - rescue
mkdir -p rescue > /dev/null 2>&1
echo x - rescue/Makefile
sed 's/^X//' >rescue/Makefile << 'cc26371508edcdf876ba82926fafc0d7'
X# $FreeBSD$
X
XPORTNAME=	rescue
XPORTVERSION=	1.0.0.2
XCATEGORIES=	games java
XMASTER_SITES=	SF/${PORTNAME}/${PORTNAME:S/r/R/}%21%20Max/${PORTVERSION}/
XDISTNAME=	${PORTNAME:S/r/R/}_${PORTVERSION}
XDIST_SUBDIR=	java
X
XMAINTAINER=	nemysis@gmx.ch
XCOMMENT=	Rescue! Max, Action Adventure in Space
X
XLICENSE=	GPLv2
X
XUSE_ZIP=	yes
XUSE_JAVA=	yes
XJAVA_VERSION=	1.5+
XNO_BUILD=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME:S/r/R/}
X
XPLIST_FILES=	bin/${PORTNAME} \
X		share/pixmaps/${PORTNAME}.png
X
XPORTDATA=	*
XPORTDOCS=	ChangeLog.txt bugs.txt
XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
X
XSUB_FILES=	${PORTNAME}
X
XDESKTOP_ENTRIES="Rescue! Max" \
X		"Rescue! Max, Action Adventure in Space" \
X		"${PREFIX}/share/pixmaps/${PORTNAME}.png" \
X		"${PORTNAME}" \
X		"Game;StrategyGame;" \
X		false
X
X.include <bsd.port.options.mk>
X
Xpost-extract:
X	@(cd ${WRKSRC} && ${UNZIP_CMD} -j Rescue.jar rescue/gui/logo.png)
X
Xdo-install:
X# Scripts
X	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
X
X# Data
X	${MKDIR} ${DATADIR}
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "help missions *.jar" ${DATADIR})
X
X# Pixmaps
X	${INSTALL_DATA} ${WRKSRC}/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
X
X# Documentation
X.if ${PORT_OPTIONS:MDOCS}
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
cc26371508edcdf876ba82926fafc0d7
echo x - rescue/distinfo
sed 's/^X//' >rescue/distinfo << '1d47478fc3e9cd91c5b3435d70c093d7'
XSHA256 (java/Rescue_1.0.0.2.zip) = 38cb6f68f2dafcc44a4b34b65a2ab36136d37029c60136646068da4634e8f5b3
XSIZE (java/Rescue_1.0.0.2.zip) = 3907836
1d47478fc3e9cd91c5b3435d70c093d7
echo x - rescue/pkg-descr
sed 's/^X//' >rescue/pkg-descr << '35a0a784bd654015e2391c9e55e27200'
XRescue Max is a Action Adventure in Space written in java.
XIt is based on a old mac game called Rescue! by Tom Spreen.
X
XA 2D space real-time, action/strategy game. You are in control of a ship that
Xyou fly around space fighting enemies and making friends on your way.
XThe main objective is to rescue people from planets and take them to star bases.
X
XWWW: http://rescue.sourceforge.net/
35a0a784bd654015e2391c9e55e27200
echo c - rescue/files
mkdir -p rescue/files > /dev/null 2>&1
echo x - rescue/files/rescue.in
sed 's/^X//' >rescue/files/rescue.in << '61263886bc071a8b6baf780785a2dd2f'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X
Xexport JAVA_VERSION="%%JAVA_VERSION%%"
X
Xcd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
X-Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/Rescue.jar" "${@}"
61263886bc071a8b6baf780785a2dd2f
exit
--- .shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120927213348.8AC45106566C>