. Udpate to 9.0.1

. Fix ONLY_FOR_ARCHS to not include i386 [1]
. Rework versioning now the update format has been revealed

PR:		222540 [1]
Submitted by:	Michael Osipov [1]
This commit is contained in:
Greg Lewis 2017-10-22 19:23:58 +00:00
parent b8ff4cc504
commit 96f40de2b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452681
3 changed files with 13 additions and 10 deletions

View File

@ -1,17 +1,17 @@
# $FreeBSD$
PORTNAME= jre
PORTVERSION= ${JRE_VERSION}.${JRE_UPDATE_VERSION}
PORTVERSION= ${JRE_VERSION}.${JRE_UPDATE_VERSION}.${JRE_PATCH_VERSION}
CATEGORIES= java
MASTER_SITES= #
PKGNAMEPREFIX= linux-${JRE_VENDOR}-
PKGNAMESUFFIX= ${JRE_VERSION}
DISTNAME= jre-${JRE_VERSION}_linux-x64_bin
DISTNAME= jre-${JRE_VERSION}.${JRE_UPDATE_VERSION}.${JRE_PATCH_VERSION}_linux-x64_bin
MAINTAINER= java@FreeBSD.org
COMMENT= Oracle Java ${JRE_VERSION} Runtime Environment for Linux
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS= amd64
RUN_DEPENDS= javavm:java/javavmwrapper
RESTRICTED= Redistribution of repackaged binaries not permitted
@ -26,12 +26,15 @@ USE_LINUX= xorglibs
JRE_VENDOR= oracle
JRE_VERSION= 9
JRE_UPDATE_VERSION= 0
JRE_PATCH_VERSION= 1
.if ${JRE_PATCH_VERSION} == 0
.if ${JRE_UPDATE_VERSION} == 0
DL_JRE_VERSION= ${JRE_VERSION}
.elif ${JRE_UPDATE_VERSION} <= 9
DL_JRE_VERSION= ${JRE_VERSION}_0${JRE_UPDATE_VERSION}
.else
DL_JRE_VERSION= ${JRE_VERSION}_${JRE_UPDATE_VERSION}
DL_JRE_VERSION= ${JRE_VERSION}.${JRE_UPDATE_VERSION}
.endif
.else
DL_JRE_VERSION= ${JRE_VERSION}.${JRE_UPDATE_VERSION}.${JRE_PATCH_VERSION}
.endif
DOWNLOAD_URL= http://www.oracle.com/technetwork/java/javase/downloads/index.html

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1507253731
SHA256 (jre-9_linux-x64_bin.tar.gz) = abf54b9905850851ae5de10db1d664ca0625c79ccd505c5e3fc62f6d969424a2
SIZE (jre-9_linux-x64_bin.tar.gz) = 82909677
TIMESTAMP = 1508699881
SHA256 (jre-9.0.1_linux-x64_bin.tar.gz) = 3c64953465e98dbab0e449954a918fada703cd0341aa98cff68854852663ee86
SIZE (jre-9.0.1_linux-x64_bin.tar.gz) = 86986075

View File

@ -136,7 +136,7 @@
%%T%%/legal/javafx.swing/LICENSE
%%T%%/legal/javafx.web/COPYRIGHT
%%T%%/legal/javafx.web/LICENSE
%%T%%/legal/javafx.web/icu_v48.md
%%T%%/legal/javafx.web/icu_v51.md
%%T%%/legal/javafx.web/libxml2.md
%%T%%/legal/javafx.web/libxslt.md
%%T%%/legal/javafx.web/webkit.md