aboutsummaryrefslogtreecommitdiffstats
path: root/java/diablo-jre15
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2007-07-11 10:43:08 +0800
committerglewis <glewis@FreeBSD.org>2007-07-11 10:43:08 +0800
commit914ec10efa781e8ece8e75dbb6ee830cf710f0db (patch)
tree9f095c363990eaee9ceafa3e0c5a9ef385004f96 /java/diablo-jre15
parent4821575da644420c25696f063cf7d77ee0c26385 (diff)
downloadfreebsd-ports-graphics-914ec10efa781e8ece8e75dbb6ee830cf710f0db.tar.gz
freebsd-ports-graphics-914ec10efa781e8ece8e75dbb6ee830cf710f0db.tar.zst
freebsd-ports-graphics-914ec10efa781e8ece8e75dbb6ee830cf710f0db.zip
. Unpack the timezone update in post-extract since unzip is only an
EXTRACT_DEPENDS, but keep the actual update in pre-install. Pointed out by: pav
Diffstat (limited to 'java/diablo-jre15')
-rw-r--r--java/diablo-jre15/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/diablo-jre15/Makefile b/java/diablo-jre15/Makefile
index 720c961f98a..65ff5109b08 100644
--- a/java/diablo-jre15/Makefile
+++ b/java/diablo-jre15/Makefile
@@ -101,8 +101,10 @@ time zone update file, ${TZUPDATEFILE}.\n\n
.endif
.if defined(WITH_TZUPDATE)
-pre-install:
+post-extract:
@${UNZIP_CMD} -qo ${DISTDIR}/${TZUPDATEFILE} -d ${WRKDIR}
+
+pre-install:
@# Update time zones
@-${WRKSRC}/bin/java -jar \
${WRKDIR}/tzupdater-${TZUPDATE_VERSION}-${TZUPDATE_TZVERSION}/tzupdater.jar -u -bc