Index: Makefile =================================================================== --- Makefile (revision 473125) +++ Makefile (working copy) @@ -2,10 +2,11 @@ PORTNAME= icedtea-web PORTVERSION= 1.6.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= java www MASTER_SITES= http://icedtea.wildebeest.org/download/source/ \ http://icedtea.classpath.org/download/source/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= java@FreeBSD.org COMMENT= Free Java plug-in and Java Web Start for OpenJDK @@ -12,7 +13,6 @@ LICENSE= GPLv2 -BROKEN= Does not configure: "Package 'mozilla-plugin', required by 'virtual:world', not found" BUILD_DEPENDS= zip:archivers/zip \ bash:shells/bash \ gsed:textproc/gsed @@ -43,9 +43,11 @@ TEST_TARGET= check -OPTIONS_DEFINE= DOCS RHINO TAGSOUP +OPTIONS_DEFINE= DOCS PLUGIN RHINO TAGSOUP +OPTIONS_DEFAULT=PLUGIN OPTIONS_SUB= yes +PLUGIN_DESC= Enable the browser plug-in RHINO_DESC= Add support for Proxy Auto Config files TAGSOUP_DESC= Enable cleaning up of malformed JNLP files @@ -62,6 +64,18 @@ TAGSOUP_VARS= TAGSOUP_JAR="${JAVALIBDIR}/tagsoup.jar" TAGSOUP_VARS_OFF= TAGSOUP_JAR=no +PLUGIN_CONFIGURE_ENABLE=plugin +PLUGIN_CONFIGURE_ENV= MOZILLA_CFLAGS="-I${WRKDIR}/npapi-headers -DXP_UNIX" \ + MOZILLA_LIBS=" " # needs to be set and non-empty! +PLUGIN_DISTFILES= npapi-headers${EXTRACT_SUFX}:npapi +PLUGIN_MASTER_SITES= LOCAL/tobik:npapi +PLUGIN_PORTDOCS= plugin +PLUGIN_TEST_TARGET= plugin-tests +PLUGIN_USE= GNOME=glib20 +PLUGIN_USES= webplugin:native +PLUGIN_VARS= WEBPLUGIN_DIR=${PREFIX}/lib \ + WEBPLUGIN_FILES=IcedTeaPlugin.so + HAMCREST_JAR= ${JAVALIBDIR}/hamcrest.jar JUNIT_JAR= ${JAVALIBDIR}/junit.jar Index: distinfo =================================================================== --- distinfo (revision 473125) +++ distinfo (working copy) @@ -1,2 +1,5 @@ +TIMESTAMP = 1529752635 SHA256 (icedtea-web-1.6.2.tar.gz) = ce67034096d6b960e2b6cfb5c41a7bd6b30eb2ec7f13bf3ecdb477ff6ce69300 SIZE (icedtea-web-1.6.2.tar.gz) = 1824557 +SHA256 (npapi-headers.tar.gz) = 625d86955aef95c7a0a4c192bb51a1e7833d30c2d53e390d07f97abd835744f8 +SIZE (npapi-headers.tar.gz) = 15637 Index: pkg-plist =================================================================== --- pkg-plist (revision 473125) +++ pkg-plist (working copy) @@ -1,6 +1,7 @@ bin/itweb-javaws bin/itweb-policyeditor bin/itweb-settings +%%PLUGIN%%%%WEBPLUGIN_DIR%%/IcedTeaPlugin.so man/cs/man1/icedtea-web-plugin.1.gz man/cs/man1/icedtea-web.1.gz man/cs/man1/itweb-javaws.1.gz @@ -26,4 +27,5 @@ share/applications/itweb-settings.desktop %%DATADIR%%/javaws_splash.png %%DATADIR%%/netx.jar +%%PLUGIN%%%%DATADIR%%/plugin.jar share/pixmaps/itweb-javaws.png