Index: head/java/Makefile =================================================================== --- head/java/Makefile (revision 411523) +++ head/java/Makefile (revision 411524) @@ -1,128 +1,129 @@ # $FreeBSD$ # COMMENT = Java language support SUBDIR += avis SUBDIR += berkeley-db SUBDIR += bluej SUBDIR += bootstrap-openjdk SUBDIR += bouncycastle SUBDIR += cacao SUBDIR += castor SUBDIR += classpath SUBDIR += cos SUBDIR += cryptix-jce SUBDIR += dbvis SUBDIR += eclipse SUBDIR += eclipse-EPIC SUBDIR += eclipse-cdt SUBDIR += eclipse-drjava SUBDIR += eclipse-ecj SUBDIR += eclipse-findbugs SUBDIR += eclipse-log4e SUBDIR += eclipse-lomboz SUBDIR += eclipse-pydev SUBDIR += eclipse-shelled SUBDIR += eclipse-windowbuilder SUBDIR += hamcrest SUBDIR += icedtea-web SUBDIR += infobus SUBDIR += intellij SUBDIR += intellij-fsnotifier SUBDIR += intellij-pty4j SUBDIR += jad SUBDIR += jaf SUBDIR += jai SUBDIR += jakarta-bcel SUBDIR += jakarta-commons-beanutils SUBDIR += jakarta-commons-cli SUBDIR += jakarta-commons-codec SUBDIR += jakarta-commons-collections SUBDIR += jakarta-commons-dbcp SUBDIR += jakarta-commons-discovery SUBDIR += jakarta-commons-httpclient SUBDIR += jakarta-commons-lang SUBDIR += jakarta-commons-logging SUBDIR += jakarta-commons-pool SUBDIR += jakarta-commons-primitives SUBDIR += jakarta-oro SUBDIR += jakarta-regexp SUBDIR += jakarta-struts SUBDIR += jamvm SUBDIR += jasmin SUBDIR += java-checkstyle SUBDIR += java-cup SUBDIR += java-getopt SUBDIR += java-subversion SUBDIR += java-zoneinfo SUBDIR += java3d SUBDIR += javahelp SUBDIR += javamail SUBDIR += javavmwrapper SUBDIR += jaxen SUBDIR += jboss7 SUBDIR += jboss71 SUBDIR += jboss72 SUBDIR += jcalendar SUBDIR += jcckit SUBDIR += jcommon SUBDIR += jd-gui SUBDIR += jdbcpool SUBDIR += jdk16-doc SUBDIR += jdk7-doc SUBDIR += jdk8-doc SUBDIR += jdom SUBDIR += jflex SUBDIR += jfreechart SUBDIR += jgraph SUBDIR += jgrapht SUBDIR += jgraphx SUBDIR += jikes SUBDIR += jlex SUBDIR += jlint SUBDIR += jmf SUBDIR += jode SUBDIR += jomp SUBDIR += jrosetta SUBDIR += jta SUBDIR += jtiger SUBDIR += jump SUBDIR += junit SUBDIR += langspec SUBDIR += linux-oracle-jdk18 SUBDIR += linux-oracle-jre18 SUBDIR += linux-sun-jdk17 SUBDIR += linux-sun-jre17 SUBDIR += mmake SUBDIR += mx4j SUBDIR += netbeans SUBDIR += netbeans-devel SUBDIR += netcomponents SUBDIR += netrexx SUBDIR += netty SUBDIR += openjdk6 SUBDIR += openjdk6-jre SUBDIR += openjdk7 SUBDIR += openjdk7-jre SUBDIR += openjdk8 SUBDIR += openjdk8-jre + SUBDIR += openjfx8-devel SUBDIR += phpeclipse SUBDIR += proguard SUBDIR += rubygem-rjb SUBDIR += sablevm SUBDIR += sablevm-classpath SUBDIR += servingxml SUBDIR += sigar SUBDIR += springframework SUBDIR += springframework31 SUBDIR += sqlitejdbc SUBDIR += trove4j SUBDIR += veditor SUBDIR += visualvm SUBDIR += wildfly100 SUBDIR += wildfly82 SUBDIR += wildfly90 SUBDIR += xdoclet .include Index: head/java/openjfx8-devel/Makefile =================================================================== --- head/java/openjfx8-devel/Makefile (nonexistent) +++ head/java/openjfx8-devel/Makefile (revision 411524) @@ -0,0 +1,61 @@ +# Created by: Tobias Kortkamp +# $FreeBSD$ + +PORTNAME= openjfx8 +PORTVERSION= 20160228 +CATEGORIES= java x11-toolkits devel +MASTER_SITES= https://bitbucket.org/tobik/openjfx-rt/get/ \ + http://bitbucket.org/tobik/openjfx-rt/get/ +PKGNAMESUFFIX= -devel +DISTNAME= freebsd${PORTVERSION} +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= t@tobik.me +COMMENT= JavaFX (OpenJFX) SDK overlay for OpenJDK 8 + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= apache-ant>0:${PORTSDIR}/devel/apache-ant \ + antlr3>0:${PORTSDIR}/devel/antlr3 \ + gradle:${PORTSDIR}/devel/gradle \ + swt-devel>0:${PORTSDIR}/x11-toolkits/swt-devel +RUN_DEPENDS= swt-devel>0:${PORTSDIR}/x11-toolkits/swt-devel +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg-turbo + +USE_GL= yes +USE_GNOME= gtk20 +USE_JAVA= yes +USE_LDCONFIG= yes +JAVA_VERSION= 1.8 + +BROKEN_FreeBSD_9= does not build + +ONLY_FOR_ARCHS= i386 amd64 +PLIST_SUB= ARCH=${ARCH} \ + JAVA_HOME=${JAVA_HOME} + +WRKSRC= ${WRKDIR}/tobik-openjfx-rt-2de985ca8377 + +# NOTE: This port won't build if openjfx8-devel is currently +# installed. This is not a problem in Poudriere or Synth but +# something to be aware of if you're trying to build this port in a +# non-pristine environment. + +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/build.gradle ${WRKSRC}/buildSrc/build.gradle + +do-build: +# Gradle creates ${HOME}/.gradle, pretend home is somewhere else + @${MKDIR} ${WRKDIR}/dot-gradle + @(cd ${WRKSRC}; ${SETENV} GRADLE_USER_HOME=${WRKDIR}/dot-gradle gradle zips) + +do-install: + @(${MKDIR} ${STAGEDIR}${JAVA_HOME} \ + && ${TAR} -C ${STAGEDIR}${JAVA_HOME} \ + -xf ${WRKSRC}/build/bundles/javafx-sdk-overlay.zip) + +post-install: + @${FIND} ${STAGEDIR}${JAVA_HOME}/jre -name '*.so' -exec ${STRIP_CMD} \{\} \; + +.include Property changes on: head/java/openjfx8-devel/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/java/openjfx8-devel/distinfo =================================================================== --- head/java/openjfx8-devel/distinfo (nonexistent) +++ head/java/openjfx8-devel/distinfo (revision 411524) @@ -0,0 +1,2 @@ +SHA256 (openjfx8/freebsd20160228.tar.gz) = 7940021340d87d68259a812d329670ed3841aa4055cfdee8bddbddd1d4c6ad02 +SIZE (openjfx8/freebsd20160228.tar.gz) = 77469908 Property changes on: head/java/openjfx8-devel/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/java/openjfx8-devel/files/patch-build.gradle =================================================================== --- head/java/openjfx8-devel/files/patch-build.gradle (nonexistent) +++ head/java/openjfx8-devel/files/patch-build.gradle (revision 411524) @@ -0,0 +1,67 @@ +--- build.gradle.orig 2016-02-28 12:54:50 UTC ++++ build.gradle +@@ -1167,7 +1167,7 @@ allprojects { + // By default all of our projects require junit for testing so we can just + // setup this dependency here. + dependencies { +- testCompile group: "junit", name: "junit", version: "4.8.2" ++ testCompile files("%%PREFIX%%/share/java/classes/junit4.jar") + if (BUILD_CLOSED && DO_JCOV) { + testCompile name: "jcov" + } +@@ -1307,11 +1307,9 @@ project(":graphics") { + dependencies { + compile project(":base"), BUILD_SRC + compile files("/usr/local/share/java/classes/swt-devel.jar") +- stubCompile group: "junit", name: "junit", version: "4.8.2", ++ stubCompile files("%%PREFIX%%/share/java/classes/junit4.jar"), + project(":base").sourceSets.test.output, sourceSets.main.output +- antlr3 group: "org.antlr", name: "antlr", version: "3.1.3" +- antlr3 group: "org.antlr", name: "antlr-runtime", version: "3.1.3" +- antlr3 group: "org.antlr", name: "stringtemplate", version: "3.2" ++ antlr3 files("%%PREFIX%%/share/java/classes/antlr-3.5.2-complete.jar") + } + + // Create a single "native" task which will depend on all the individual native tasks for graphics +@@ -1601,9 +1599,7 @@ project(":graphics") { + copy { + into libsDir + from f.getParentFile() +- include "**/antlr-3.1.3.jar" +- include "**/stringtemplate-3.2.jar" +- include "**/antlr-runtime-3.1.3.jar" ++ include "**/antlr-3.5.2-complete.jar" + includeEmptyDirs = false + } + // Have to rename the swt jar because it is some platform specific name but +@@ -1787,7 +1783,7 @@ project(":fxpackager") { + } + + dependencies { +- compile group: "org.apache.ant", name: "ant", version: "1.8.2" ++ compile files("%%PREFIX%%/share/java/apache-ant/lib/ant.jar") + } + + // When producing the jar, we need to relocate a few class files +@@ -2048,21 +2044,6 @@ project(":fxpackager") { + jar.dependsOn buildJavaPackager + jar.dependsOn packagerJar + +- classes << { +- // Copy all of the download libraries to libs directory for the sake of the IDEs +- File libsDir = rootProject.file("build/libs"); +- File antLib = new File(libsDir, "ant-1.8.2.jar") +- libsDir.mkdirs(); +- for (File f : configurations.compile.files) { +- copy { +- into libsDir +- from f.getParentFile() +- include "**/ant-1.8.2.jar" +- includeEmptyDirs = false +- } +- } +- } +- + task packagerFakeJar(type: Jar) { + dependsOn compileTestJava + from compileTestJava.destinationDir Property changes on: head/java/openjfx8-devel/files/patch-build.gradle ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/java/openjfx8-devel/files/patch-buildSrc_build.gradle =================================================================== --- head/java/openjfx8-devel/files/patch-buildSrc_build.gradle (nonexistent) +++ head/java/openjfx8-devel/files/patch-buildSrc_build.gradle (revision 411524) @@ -0,0 +1,17 @@ +--- buildSrc/build.gradle.orig 2016-02-28 12:54:50 UTC ++++ buildSrc/build.gradle +@@ -81,11 +81,9 @@ sourceSets { + getConfigurations().create("antlr3"); + + dependencies { +- compile group: "org.antlr", name: "antlr", version: "3.1.3" +- testCompile group: "junit", name: "junit", version: "4.8.2" +- antlr3 group: "org.antlr", name: "antlr-runtime", version: "3.1.3" +- antlr3 group: "org.antlr", name: "stringtemplate", version: "3.2" +- antlr3 group: "org.antlr", name: "antlr", version: "3.1.3" ++ compile files("%%PREFIX%%/share/java/classes/antlr-3.5.2-complete.jar") ++ testCompile files("%%PREFIX%%/share/java/classes/junit4.jar") ++ antlr3 files("%%PREFIX%%/share/java/classes/antlr-3.5.2-complete.jar") + } + + // At the moment the ASM library shipped with Gradle that is used to Property changes on: head/java/openjfx8-devel/files/patch-buildSrc_build.gradle ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/java/openjfx8-devel/pkg-descr =================================================================== --- head/java/openjfx8-devel/pkg-descr (nonexistent) +++ head/java/openjfx8-devel/pkg-descr (revision 411524) @@ -0,0 +1,6 @@ +OpenJFX is an open source, next generation client application platform for +desktop and embedded systems based on JavaSE. It is a collaborative effort by +many individuals and companies with the goal of producing a modern, efficient, +and fully featured toolkit for developing rich client applications. + +WWW: http://openjdk.java.net/projects/openjfx/ Property changes on: head/java/openjfx8-devel/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/java/openjfx8-devel/pkg-message =================================================================== --- head/java/openjfx8-devel/pkg-message (nonexistent) +++ head/java/openjfx8-devel/pkg-message (revision 411524) @@ -0,0 +1,3 @@ +If you've previously used IntelliJ IDEA for Java development make sure +to recreate your Java SDK under "Platform Settings -> SDKs" so that +the JavaFX runtime libraries are picked up correctly by IDEA. Property changes on: head/java/openjfx8-devel/pkg-message ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/java/openjfx8-devel/pkg-plist =================================================================== --- head/java/openjfx8-devel/pkg-plist (nonexistent) +++ head/java/openjfx8-devel/pkg-plist (revision 411524) @@ -0,0 +1,17 @@ +%%JAVA_HOME%%/bin/javafxpackager +%%JAVA_HOME%%/bin/javapackager +%%JAVA_HOME%%/jre/lib/%%ARCH%%/libdecora_sse.so +%%JAVA_HOME%%/jre/lib/%%ARCH%%/libglass.so +%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjavafx_font.so +%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjavafx_font_freetype.so +%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjavafx_font_pango.so +%%JAVA_HOME%%/jre/lib/%%ARCH%%/libjavafx_iio.so +%%JAVA_HOME%%/jre/lib/%%ARCH%%/libprism_common.so +%%JAVA_HOME%%/jre/lib/%%ARCH%%/libprism_es2.so +%%JAVA_HOME%%/jre/lib/%%ARCH%%/libprism_sw.so +%%JAVA_HOME%%/jre/lib/ext/jfxrt.jar +%%JAVA_HOME%%/jre/lib/javafx.properties +%%JAVA_HOME%%/jre/lib/jfxswt.jar +%%JAVA_HOME%%/lib/ant-javafx.jar +%%JAVA_HOME%%/lib/javafx-mx.jar +%%JAVA_HOME%%/lib/packager.jar Property changes on: head/java/openjfx8-devel/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property