mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
58 lines
1.8 KiB
Tcl
58 lines
1.8 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name openjfx11
|
|
version 11.0.2
|
|
revision 0
|
|
|
|
set build 0
|
|
set major 11
|
|
|
|
categories java devel
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
license GPL-2
|
|
supported_archs x86_64
|
|
|
|
description OpenJFX ${major}
|
|
|
|
long_description OpenJFX is an open source, next generation client application platform \
|
|
for desktop, mobile and embedded systems built on Java.
|
|
|
|
homepage https://openjfx.io/
|
|
|
|
depends_lib port:openjdk11
|
|
|
|
master_sites https://download2.gluonhq.com/openjfx/${version}/
|
|
distname openjfx-${version}_osx-x64_bin-sdk
|
|
use_zip yes
|
|
|
|
checksums rmd160 3b74b4bd563cc46e28b886df5c9e239fb00845c2 \
|
|
sha256 e98158812db1a0037cdaf85824adff384e41e3edf046fda145479ce6057cb514 \
|
|
size 41684332
|
|
|
|
worksrcdir javafx-sdk-${version}
|
|
|
|
use_configure no
|
|
|
|
build {}
|
|
|
|
# macOS Java tools expect to find Java virtual machines under /Library/Java/JavaVirtualMachines, which is not under ${prefix}.
|
|
destroot.violate_mtree yes
|
|
|
|
set target /Library/Java/JavaVirtualMachines/openjdk11/Contents/Home
|
|
set destroot_target ${destroot}${target}
|
|
|
|
destroot {
|
|
xinstall -m 755 -d ${destroot_target}/Contents/Home
|
|
copy ${worksrcpath}/legal ${destroot_target}/legal
|
|
copy ${worksrcpath}/lib ${destroot_target}/lib
|
|
# src.zip is already provided by openjdk11
|
|
move ${destroot_target}/lib/src.zip ${destroot_target}/lib/src_javafx.zip
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url https://gluonhq.com/products/javafx/
|
|
livecheck.regex "href=\"https://download2.gluonhq.com/openjfx/(\[0-9\\.\]+)/openjfx-11\[0-9\\.\]+_osx-x64_bin-sdk.zip.sha256\""
|