aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2004-04-16 07:03:16 +0800
committerznerd <znerd@FreeBSD.org>2004-04-16 07:03:16 +0800
commit3ffc45681a30790243dd71acbc455238d3955bfe (patch)
tree982daad16432f131deb54e0ccc4ea06bd1924195 /java
parentec87f3001ff8297780d8a0bfda071ce3a79db768 (diff)
downloadfreebsd-ports-gnome-3ffc45681a30790243dd71acbc455238d3955bfe.tar.gz
freebsd-ports-gnome-3ffc45681a30790243dd71acbc455238d3955bfe.tar.zst
freebsd-ports-gnome-3ffc45681a30790243dd71acbc455238d3955bfe.zip
Cleverly determine version-related variable values
based on other variables.
Diffstat (limited to 'java')
-rw-r--r--java/jdk11-doc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/jdk11-doc/Makefile b/java/jdk11-doc/Makefile
index 51771f24a7d7..6757d09ebbfe 100644
--- a/java/jdk11-doc/Makefile
+++ b/java/jdk11-doc/Makefile
@@ -13,14 +13,15 @@ MASTER_SITE_SUBDIR= znerd
DISTNAME= jdk-${JDK_VERSION:S/./_/g}-doc
MAINTAINER= znerd@FreeBSD.org
-COMMENT= Java Development Kit 1.1 Documentation
+COMMENT= Java Development Kit ${JDK_MAJOR_VER} Documentation
-LATEST_LINK= jdk11-doc
+LATEST_LINK= jdk${JDK_CONCAT_VER}-doc
DOCSDIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
WRKSRC= ${WRKDIR}/jdk${JDK_VERSION:C/_.*\$//g}/docs
JDK_VERSION= 1.1.8_003
JDK_MAJOR_VER= ${JDK_VERSION:R}
+JDK_CONCAT_VER= ${JDK_MAJOR_VER:S/.//g}
DOWNLOAD_URL= http://java.sun.com/jdk/${JDK_MAJOR_VER}/docs.html
NO_BUILD= yes