aboutsummaryrefslogtreecommitdiffstats
path: root/games/sfbol
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2006-03-14 06:21:11 +0800
committerhq <hq@FreeBSD.org>2006-03-14 06:21:11 +0800
commit4b847e6bbfc1403ee733e24378265b50aaeaaf48 (patch)
tree3cfdbb8f2e5a10230c8f9ac4a3ac809142410c37 /games/sfbol
parent740debfe50b806ad48bc9524ae946d7d7efd5389 (diff)
downloadfreebsd-ports-gnome-4b847e6bbfc1403ee733e24378265b50aaeaaf48.tar.gz
freebsd-ports-gnome-4b847e6bbfc1403ee733e24378265b50aaeaaf48.tar.zst
freebsd-ports-gnome-4b847e6bbfc1403ee733e24378265b50aaeaaf48.zip
Unbreak: perform extraction of sfbicon.ico in post-extract
Reported by: pointyhat Approved by: portmgr (linimon, kris)
Diffstat (limited to 'games/sfbol')
-rw-r--r--games/sfbol/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/sfbol/Makefile b/games/sfbol/Makefile
index 227f7bb59c58..ba6589bd86fe 100644
--- a/games/sfbol/Makefile
+++ b/games/sfbol/Makefile
@@ -15,11 +15,11 @@ EXTRACT_ONLY=
MAINTAINER= peter.thoenen@yahoo.com
COMMENT= Star Fleet Battles Online
-BROKEN= Tries to use java before it's present
-
IGNOREFILES= install40.jar
USE_JAVA= yes
JAVA_VERSION= 1.4+
+JAVA_RUN= jre
+JAVA_EXTRACT= jre
NO_BUILD= yes
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
@@ -38,7 +38,7 @@ DESKTOP_ENTRIES= "SFBOL" "Star Fleet Battles Online" \
RESTRICTED= Commerical software. Licenses does not allow redistribution.
-post-patch:
+post-extract:
@cd ${WRKDIR} && ${JAR} -xf ${DISTDIR}/${DISTFILES} D_/SFBOL/dist/core.jar 2>/dev/null | ${TRUE}
@cd ${WRKDIR} && ${JAR} -xf D_/SFBOL/dist/core.jar sfbicon.ico