aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2006-03-13 22:21:11 +0000
committerHerve Quiroz <hq@FreeBSD.org>2006-03-13 22:21:11 +0000
commit2416bd55aa0533d883c8e1cceb0c39eb1acb9a5d (patch)
tree5dc12d010d3ccacb3691b0bcfa8c1c493a7b4d77
parent4f5f38c796459359bf8e261bce5f0bb8162da233 (diff)
downloadports-2416bd55aa0533d883c8e1cceb0c39eb1acb9a5d.tar.gz
ports-2416bd55aa0533d883c8e1cceb0c39eb1acb9a5d.zip
Unbreak: perform extraction of sfbicon.ico in post-extract
Reported by: pointyhat Approved by: portmgr (linimon, kris)
Notes
Notes: svn path=/head/; revision=157085
-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