aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjdk8
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-04-01 05:01:26 +0800
committerjkim <jkim@FreeBSD.org>2014-04-01 05:01:26 +0800
commit3331f9252e3bbaeed29200b183f77594860b9808 (patch)
treef03b05db350645b1d06c139b6d9e5d693fd402a4 /java/openjdk8
parent13a5a5a88f1dbd5c4b9c1f9448b8c2290bee4947 (diff)
downloadfreebsd-ports-gnome-3331f9252e3bbaeed29200b183f77594860b9808.tar.gz
freebsd-ports-gnome-3331f9252e3bbaeed29200b183f77594860b9808.tar.zst
freebsd-ports-gnome-3331f9252e3bbaeed29200b183f77594860b9808.zip
- Fix a typo, which may add an unnecessary run-time dependency.
- Prefer PKGNAMESUFFIX to deprecated LATEST_LINK. Reported by: sunpoet
Diffstat (limited to 'java/openjdk8')
-rw-r--r--java/openjdk8/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index b6b0c787e8d4..017ac08d69ab 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -3,14 +3,15 @@
PORTNAME= openjdk
PORTVERSION= ${JDK_MAJOR_VERSION}.${PORT_MINOR_VERSION}.${PORT_BUILD_NUMBER:S/^0//}
CATEGORIES= java devel
-MASTER_SITES= http://download.java.net/openjdk/jdk8/promoted/b${JDK_BUILD_NUMBER}/:jdk \
+MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}/promoted/b${JDK_BUILD_NUMBER}/:jdk \
https://adopt-openjdk.ci.cloudbees.com/job/jtreg/${JTREG_JENKINS_BUILD}/artifact/:jtreg \
- LOCAL/jkim:jdk LOCAL/jkim:jtreg
+ LOCAL/jkim:jdk,jtreg
+PKGNAMESUFFIX= ${JDK_MAJOR_VERSION}
DISTNAME= ${PORTNAME}-${JDK_MAJOR_VERSION}-src-b${JDK_BUILD_NUMBER}-${JDK_BUILD_DATE}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:jdk
MAINTAINER= java@FreeBSD.org
-COMMENT= Java Development Kit 8
+COMMENT= Java Development Kit ${JDK_MAJOR_VERSION}
LICENSE= GPLv2
@@ -27,7 +28,6 @@ USES= compiler:features dos2unix gmake iconv pkgconfig shebangfix zip
USE_AUTOTOOLS= autoconf
USE_XORG= x11 xext xi xrender xt xtst
-LATEST_LINK= openjdk8
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -94,7 +94,7 @@ RELEASE_CONFIGURE_ON= --disable-debug-symbols
TEST_ALL_TARGET= test
TEST_CONFIGURE_ON= --with-jtreg=${WRKDIR}/jtreg
TEST_DISTFILES= jtreg${JTREG_VERSION}-${JTREG_BUILD_NUMBER}.tar.gz:jtreg
-TZUPDATE_RUN_DEPENDS= ${LOCALBASE}/share/java/zi:${PORTSDIR}/java/java-zoneinfo:${PORTSDIR}/converters/libiconv
+TZUPDATE_RUN_DEPENDS= ${LOCALBASE}/share/java/zi:${PORTSDIR}/java/java-zoneinfo
.include <bsd.port.options.mk>