mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
java/icedtea-web: allow to disable new launchers written in Rust
Even it's a build-time dependency, it's quite heavy nonetheless. Since those new launchers are optional (traditional shell-based versions are still provided), allow users to turn them off. Reported by: Vyacheslav Olkhovchenkov
This commit is contained in:
parent
d608f8c716
commit
a7d3136dfc
@ -11,7 +11,6 @@ COMMENT= Free Java plug-in and Java Web Start for OpenJDK
|
||||
LICENSE= GPLv2
|
||||
|
||||
BUILD_DEPENDS= zip:archivers/zip \
|
||||
rustc:lang/${RUST_DEFAULT} \
|
||||
bash:shells/bash \
|
||||
gsed:textproc/gsed \
|
||||
${HAMCREST_JAR}:java/hamcrest \
|
||||
@ -53,12 +52,13 @@ TEST_TARGET= check
|
||||
# Upstream archive contains files with UTF-8 names
|
||||
EXTRACT_CMD= ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
|
||||
|
||||
OPTIONS_DEFINE= DOCS PLUGIN RHINO TAGSOUP
|
||||
OPTIONS_DEFAULT=PLUGIN
|
||||
OPTIONS_DEFINE= DOCS PLUGIN RHINO RUST TAGSOUP
|
||||
OPTIONS_DEFAULT=PLUGIN RUST
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
PLUGIN_DESC= Enable the browser plug-in
|
||||
RHINO_DESC= Add support for Proxy Auto Config files
|
||||
RUST_DESC= Build modern launchers written in Rust
|
||||
TAGSOUP_DESC= Enable cleaning up of malformed JNLP files
|
||||
|
||||
DOCS_CONFIGURE_ENABLE= docs
|
||||
@ -69,6 +69,8 @@ RHINO_RUN_DEPENDS= ${RHINO_BUILD_DEPENDS}
|
||||
RHINO_VARS= RHINO_JAR="${JAVASHAREDIR}/rhino/rhino.jar"
|
||||
RHINO_VARS_OFF= RHINO_JAR=no
|
||||
|
||||
RUST_BUILD_DEPENDS= rustc:lang/${RUST_DEFAULT}
|
||||
|
||||
TAGSOUP_BUILD_DEPENDS= ${JAVALIBDIR}/tagsoup.jar:textproc/tagsoup
|
||||
TAGSOUP_RUN_DEPENDS= ${TAGSOUP_BUILD_DEPENDS}
|
||||
TAGSOUP_VARS= TAGSOUP_JAR="${JAVALIBDIR}/tagsoup.jar"
|
||||
|
@ -1,9 +1,9 @@
|
||||
bin/itw-modularjdk.args
|
||||
bin/itweb-javaws
|
||||
%%RUST%%bin/itweb-javaws
|
||||
bin/itweb-javaws.sh
|
||||
bin/itweb-policyeditor
|
||||
%%RUST%%bin/itweb-policyeditor
|
||||
bin/itweb-policyeditor.sh
|
||||
bin/itweb-settings
|
||||
%%RUST%%bin/itweb-settings
|
||||
bin/itweb-settings.sh
|
||||
%%PLUGIN%%%%WEBPLUGIN_DIR%%/IcedTeaPlugin.so
|
||||
etc/bash_completion.d/itweb-settings.bash
|
||||
|
Loading…
Reference in New Issue
Block a user