aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-03-24 00:22:22 +0800
committernemysis <nemysis@FreeBSD.org>2014-03-24 00:22:22 +0800
commit08e693098bc61406290872fa9962dd9855759dc4 (patch)
tree63abfac652f94827dcd867d533006b3478cf8c6f /games
parente3d5a48484b0a4ee9705016cc0d897f750783927 (diff)
downloadfreebsd-ports-gnome-08e693098bc61406290872fa9962dd9855759dc4.tar.gz
freebsd-ports-gnome-08e693098bc61406290872fa9962dd9855759dc4.tar.zst
freebsd-ports-gnome-08e693098bc61406290872fa9962dd9855759dc4.zip
- Change Makefile header, use my name and @FreeBSD.org email
- Add USES dos2unix - Change files/rescue.in, remove -Djava.ext.dirs="%%DATADIR%%"
Diffstat (limited to 'games')
-rw-r--r--games/rescue/Makefile7
-rw-r--r--games/rescue/files/rescue.in2
2 files changed, 5 insertions, 4 deletions
diff --git a/games/rescue/Makefile b/games/rescue/Makefile
index 8359d1d5b8ce..2249f98e8149 100644
--- a/games/rescue/Makefile
+++ b/games/rescue/Makefile
@@ -1,4 +1,4 @@
-# Created by: nemysis <nemysis@gmx.ch>
+# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= rescue
@@ -13,14 +13,15 @@ COMMENT= Action adventure in space
LICENSE= GPLv3
-USES= zip:infozip
+USES= dos2unix zip:infozip
+DOS2UNIX_GLOB= *.txt *.htm *.css *.ini *.xml
USE_JAVA= yes
JAVA_VERSION= 1.6+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME:S/r/R/}
-PORTDOCS= ChangeLog.txt todo.txt
+PORTDOCS= ChangeLog.txt
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME}
diff --git a/games/rescue/files/rescue.in b/games/rescue/files/rescue.in
index 95f461472762..205c080273a3 100644
--- a/games/rescue/files/rescue.in
+++ b/games/rescue/files/rescue.in
@@ -6,4 +6,4 @@
export JAVA_VERSION="%%JAVA_VERSION%%"
cd "%%DATADIR%%" && exec "%%LOCALBASE%%/bin/java" \
--Djava.ext.dirs="%%DATADIR%%" -jar "%%DATADIR%%/Rescue.jar" "${@}"
+-jar "%%DATADIR%%/Rescue.jar" "${@}"