1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

* Add missing build depends

* Restrict Java versions
* Fix packing list

PR:		244976
Submitted by:	Lars Herschke <lhersch@dssgmbh.de>
This commit is contained in:
Greg Lewis 2020-07-24 23:53:31 +00:00
parent 5199c58432
commit c1ca0170d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543385
2 changed files with 13 additions and 3 deletions

View File

@ -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

View File

@ -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