aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2017-10-05 01:12:42 +0800
committertobik <tobik@FreeBSD.org>2017-10-05 01:12:42 +0800
commit048dc0ed1f20cddae17baaf18dcb335572dd685f (patch)
tree21575aa2726c918af1d76eec5f89d689d43c6aeb /java
parent45b7e7fd6273545b79cc528d1c6b1144012ab473 (diff)
downloadfreebsd-ports-gnome-048dc0ed1f20cddae17baaf18dcb335572dd685f.tar.gz
freebsd-ports-gnome-048dc0ed1f20cddae17baaf18dcb335572dd685f.tar.zst
freebsd-ports-gnome-048dc0ed1f20cddae17baaf18dcb335572dd685f.zip
New port: java/openjfx8-scenebuilder
JavaFX Scene Builder provides a visual layout environment that lets you quickly design user interfaces for JavaFX applications without needing to write any code. It allows simple drag-and-drop positioning of GUI components onto a JavaFX scene. As you build the layout of your UI, the FXML code for the layout is automatically generated. It provides a simple yet intuitive interface that can help even non-programmers to quickly prototype interactive applications that connect GUI components to the application logic. WWW: http://openjdk.java.net/projects/openjfx/
Diffstat (limited to 'java')
-rw-r--r--java/Makefile1
-rw-r--r--java/openjfx8-scenebuilder/Makefile36
-rw-r--r--java/openjfx8-scenebuilder/distinfo3
-rw-r--r--java/openjfx8-scenebuilder/files/scenebuilder.in2
-rw-r--r--java/openjfx8-scenebuilder/pkg-descr12
5 files changed, 54 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
index 54a8f6c36514..ce55f7153d84 100644
--- a/java/Makefile
+++ b/java/Makefile
@@ -109,6 +109,7 @@
SUBDIR += openjdk8
SUBDIR += openjdk8-jre
SUBDIR += openjfx8-devel
+ SUBDIR += openjfx8-scenebuilder
SUBDIR += phpeclipse
SUBDIR += proguard
SUBDIR += sablevm
diff --git a/java/openjfx8-scenebuilder/Makefile b/java/openjfx8-scenebuilder/Makefile
new file mode 100644
index 000000000000..bd4b865fa848
--- /dev/null
+++ b/java/openjfx8-scenebuilder/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= openjfx8
+DISTVERSION= 8u172-b00
+CATEGORIES= java x11-toolkits devel
+MASTER_SITES= https://github.com/t6/openjfx/releases/download/release/ \
+ http://hg.openjdk.java.net/openjfx/8u/rt/archive/${DISTVERSION}${EXTRACT_SUFX}?dummy=/
+PKGNAMESUFFIX= -scenebuilder
+
+MAINTAINER= tobik@FreeBSD.org
+COMMENT= JavaFX Scene Builder
+
+LICENSE= BSD3CLAUSE
+
+BUILD_DEPENDS= openjfx8-devel>0:java/openjfx8-devel
+RUN_DEPENDS= openjfx8-devel>0:java/openjfx8-devel
+
+USE_ANT= yes
+USE_JAVA= yes
+JAVA_VERSION= 1.8+
+
+ALL_TARGET= jar-sb
+NO_ARCH= yes
+PLIST_FILES= bin/scenebuilder \
+ ${JAVAJARDIR}/SceneBuilderApp.jar \
+ ${JAVAJARDIR}/SceneBuilderKit.jar
+SUB_FILES= scenebuilder
+WRKSRC= ${WRKDIR}/rt-${DISTVERSION}/apps/scenebuilder
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/SceneBuilderApp/dist/SceneBuilderApp.jar \
+ ${WRKSRC}/SceneBuilderKit/dist/SceneBuilderKit.jar \
+ ${STAGEDIR}${JAVAJARDIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/scenebuilder ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/java/openjfx8-scenebuilder/distinfo b/java/openjfx8-scenebuilder/distinfo
new file mode 100644
index 000000000000..408d6025dde3
--- /dev/null
+++ b/java/openjfx8-scenebuilder/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1506878786
+SHA256 (openjfx8-8u172-b00.tar.gz) = b6689302cb215b22b0b673d47b3738ac48a423149f2e047dbdebbc87fbefc8ac
+SIZE (openjfx8-8u172-b00.tar.gz) = 109884684
diff --git a/java/openjfx8-scenebuilder/files/scenebuilder.in b/java/openjfx8-scenebuilder/files/scenebuilder.in
new file mode 100644
index 000000000000..60eb8f016220
--- /dev/null
+++ b/java/openjfx8-scenebuilder/files/scenebuilder.in
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec "%%LOCALBASE%%/bin/java" ${SCENEBUILDER_JAVA_ARGS} -cp "%%JAVAJARDIR%%/SceneBuilderKit.jar:%%JAVAJARDIR%%/SceneBuilderApp.jar" com.oracle.javafx.scenebuilder.app.SceneBuilderApp "$@"
diff --git a/java/openjfx8-scenebuilder/pkg-descr b/java/openjfx8-scenebuilder/pkg-descr
new file mode 100644
index 000000000000..e9cfe1cede4c
--- /dev/null
+++ b/java/openjfx8-scenebuilder/pkg-descr
@@ -0,0 +1,12 @@
+JavaFX Scene Builder provides a visual layout environment that lets
+you quickly design user interfaces for JavaFX applications without
+needing to write any code.
+
+It allows simple drag-and-drop positioning of GUI components onto a
+JavaFX scene. As you build the layout of your UI, the FXML code for
+the layout is automatically generated. It provides a simple yet
+intuitive interface that can help even non-programmers to quickly
+prototype interactive applications that connect GUI components to the
+application logic.
+
+WWW: http://openjdk.java.net/projects/openjfx/