aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjfx8-scenebuilder/Makefile
blob: bd4b865fa84806dad0ece8c59bd6a84d90bb52c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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>