From 048dc0ed1f20cddae17baaf18dcb335572dd685f Mon Sep 17 00:00:00 2001 From: tobik Date: Wed, 4 Oct 2017 17:12:42 +0000 Subject: 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/ --- java/Makefile | 1 + java/openjfx8-scenebuilder/Makefile | 36 ++++++++++++++++++++++++ java/openjfx8-scenebuilder/distinfo | 3 ++ java/openjfx8-scenebuilder/files/scenebuilder.in | 2 ++ java/openjfx8-scenebuilder/pkg-descr | 12 ++++++++ 5 files changed, 54 insertions(+) create mode 100644 java/openjfx8-scenebuilder/Makefile create mode 100644 java/openjfx8-scenebuilder/distinfo create mode 100644 java/openjfx8-scenebuilder/files/scenebuilder.in create mode 100644 java/openjfx8-scenebuilder/pkg-descr (limited to 'java') 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 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/ -- cgit