summaryrefslogtreecommitdiff
path: root/java/eclipse/Makefile
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-08-20 11:27:20 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-08-20 11:27:20 +0000
commit02d28e745c763f190e0175e5d5324214e9be5e5e (patch)
tree4813bda770de1525f854b5f9bc490c1125cb349b /java/eclipse/Makefile
parentftp/curlie: Add a missing runtime dependency (diff)
java/eclipse: upgrade 4.11 -> 4.12
- Fallback MASTER_SITES, as git.eclipse.org is slow/unreliable. PR: 239650 Submitted by: Jonathan Chen <jonc@chen.org.nz> (maintainer) Relnotes: https://www.eclipse.org/eclipseide/2019-06/noteworthy/
Notes
Notes: svn path=/head/; revision=509422
Diffstat (limited to 'java/eclipse/Makefile')
-rw-r--r--java/eclipse/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile
index 4fd8db4b40c6..e3b31cc82b93 100644
--- a/java/eclipse/Makefile
+++ b/java/eclipse/Makefile
@@ -2,13 +2,12 @@
# $FreeBSD$
PORTNAME= eclipse
-PORTVERSION= 4.11
-PORTREVISION= 1
+PORTVERSION= 4.12
CATEGORIES= java devel
# Update to git-tag on git.eclipse.org
-ECLIPSE_TAG= R4_11
-ECLIPSE_TSTAMP= 20190321-0023
+ECLIPSE_TAG= R4_12
+ECLIPSE_TSTAMP= 20190617-0403
ECLIPSE_SUFX= ${ECLIPSE_TAG}.tar.xz
ECLIPSE_MODULES=jdt/eclipse.jdt \
@@ -38,14 +37,15 @@ ECLIPSE_MODULES=jdt/eclipse.jdt \
equinox/rt.equinox.p2
# Each Eclipse module has its own MASTER_SITE
.for M in ${ECLIPSE_MODULES}
-MASTER_SITES+= https://git.eclipse.org/c/${M}.git/snapshot/:${M:C/[\.\/]//g}
+MASTER_SITES+= https://git.eclipse.org/c/${M}.git/snapshot/:${M:C/[\.\/]//g} \
+ https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${PORTVERSION}/:${M:C/[\.\/]//g}
DISTFILES+= ${M:C/.*\///}-${ECLIPSE_SUFX}:${M:C/[\.\/]//g}
.endfor
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= jonc@chen.org.nz
-COMMENT= Eclipse IDE 2019-03
+COMMENT= Eclipse IDE 2019-06
LICENSE= EPL
@@ -62,8 +62,7 @@ USE_GITHUB= yes
GH_ACCOUNT= daemonblade
GH_PROJECT= eclipse-maven-repo
-USE_JAVA= yes
-JAVA_VERSION= 1.8
+USE_JAVA= 8
DESKTOP_ENTRIES="Eclipse" \
"${COMMENT}" \
@@ -74,7 +73,7 @@ DESKTOP_ENTRIES="Eclipse" \
SUB_FILES= ${PORTNAME}
-MAVEN_ENV= MAVEN_OPTS=-Xmx1024m CC=${CC}
+MAVEN_ENV= MAVEN_OPTS=-Xmx1024m CC=${CC} JAVA_HOME=${JAVA_HOME}
MAVEN_REPO= -Dmaven.repo.local=${WRKDIR}/${GH_PROJECT}-${PORTVERSION}
MAVEN_ECLIPSE= -Dnative=gtk.freebsd.${ARCH} -Dcomparator.repo=file://${WRKDIR}/${GH_PROJECT}-${PORTVERSION}/p2-stub -DforceContextQualifier=v${ECLIPSE_TSTAMP}