summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2020-07-24 23:53:31 +0000
committerGreg Lewis <glewis@FreeBSD.org>2020-07-24 23:53:31 +0000
commitc1ca0170d0a982e43d87deb959e91d839f2dac9d (patch)
tree47bc97bcf23fd374acb59fe139a600511f477aa1 /java
parentUpdate xfce4-timer-plugin to 1.7.1 (diff)
* Add missing build depends
* Restrict Java versions * Fix packing list PR: 244976 Submitted by: Lars Herschke <lhersch@dssgmbh.de>
Notes
Notes: svn path=/head/; revision=543385
Diffstat (limited to 'java')
-rw-r--r--java/icedtea-web/Makefile6
-rw-r--r--java/icedtea-web/pkg-plist10
2 files changed, 13 insertions, 3 deletions
diff --git a/java/icedtea-web/Makefile b/java/icedtea-web/Makefile
index 07a9324fd270..f5a6497264e0 100644
--- a/java/icedtea-web/Makefile
+++ b/java/icedtea-web/Makefile
@@ -2,6 +2,7 @@
PORTNAME= icedtea-web
PORTVERSION= 1.8.4
+PORTREVISION= 1
CATEGORIES= java www
MASTER_SITES= https://github.com/AdoptOpenJDK/IcedTea-Web/archive/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -13,6 +14,7 @@ COMMENT= Free Java plug-in and Java Web Start for OpenJDK
LICENSE= GPLv2
BUILD_DEPENDS= zip:archivers/zip \
+ rustc:lang/rust \
bash:shells/bash \
gsed:textproc/gsed \
${HAMCREST_JAR}:java/hamcrest \
@@ -23,6 +25,7 @@ MAKE_JOBS_UNSAFE=yes
GNU_CONFIGURE= yes
USE_JAVA= yes
+JAVA_VERSION= 7 8
JAVA_OS= native
JAVA_VENDOR= openjdk
USE_PERL5= build
@@ -32,7 +35,6 @@ SHEBANG_FILES= jrunscript.in shell-launcher/launchers.sh.in
CONFIGURE_ARGS= --with-hamcrest="${HAMCREST_JAR}"
CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}"
-CONFIGURE_ARGS+= --with-jre-home="${JAVA_HOME}/jre"
CONFIGURE_ARGS+= --with-junit="${JUNIT_JAR}"
CONFIGURE_ARGS+= --with-rhino="${RHINO_JAR}"
CONFIGURE_ARGS+= --with-tagsoup="${TAGSOUP_JAR}"
@@ -67,7 +69,7 @@ TAGSOUP_RUN_DEPENDS= ${TAGSOUP_BUILD_DEPENDS}
TAGSOUP_VARS= TAGSOUP_JAR="${JAVALIBDIR}/tagsoup.jar"
TAGSOUP_VARS_OFF= TAGSOUP_JAR=no
-PLUGIN_CONFIGURE_ENABLE=native-plugin
+PLUGIN_CONFIGURE_ENABLE=native-plugin pluginjar
PLUGIN_CONFIGURE_ENV= MOZILLA_CFLAGS="-I${WRKDIR}/npapi-headers -DXP_UNIX" \
MOZILLA_LIBS=" " # needs to be set and non-empty!
PLUGIN_DISTFILES= libxul-npapi-headers-45.9.0${EXTRACT_SUFX}:npapi
diff --git a/java/icedtea-web/pkg-plist b/java/icedtea-web/pkg-plist
index 32463279bb55..4e7eff83266b 100644
--- a/java/icedtea-web/pkg-plist
+++ b/java/icedtea-web/pkg-plist
@@ -1,5 +1,9 @@
+bin/itw-modularjdk.args
+bin/itweb-javaws
bin/itweb-javaws.sh
+bin/itweb-policyeditor
bin/itweb-policyeditor.sh
+bin/itweb-settings
bin/itweb-settings.sh
%%PLUGIN%%%%WEBPLUGIN_DIR%%/IcedTeaPlugin.so
man/cs/man1/icedtea-web-plugin.1.gz
@@ -25,7 +29,11 @@ man/pl/man1/itweb-settings.1.gz
share/applications/itweb-javaws.desktop
share/applications/itweb-policyeditor.desktop
share/applications/itweb-settings.desktop
-%%DATADIR%%/javaws_splash.png
+share/bash-completion/completions/itweb-settings.bash
+share/bash-completion/completions/javaws.bash
+share/bash-completion/completions/policyeditor.bash
%%DATADIR%%/javaws.jar
+%%DATADIR%%/javaws_splash.png
+%%PLUGIN%%%%DATADIR%%/jsobject.jar
%%PLUGIN%%%%DATADIR%%/plugin.jar
share/pixmaps/itweb-javaws.png