aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjfx8-scenebuilder/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjfx8-scenebuilder/Makefile')
-rw-r--r--java/openjfx8-scenebuilder/Makefile36
1 files changed, 36 insertions, 0 deletions
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>