diff --git a/x11/xpra-html5/Makefile b/x11/xpra-html5/Makefile
index 653241486a15..c35b98564ad7 100644
--- a/x11/xpra-html5/Makefile
+++ b/x11/xpra-html5/Makefile
@@ -1,35 +1,35 @@
PORTNAME= xpra-html5
-PORTVERSION= 4.5.2
+PORTVERSION= 5.0
DISTVERSIONPREFIX= v
CATEGORIES= x11
MAINTAINER= arrowd@FreeBSD.org
COMMENT= Browser-based client for x11/xpra
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= brotli:archivers/brotli
USES= python:3.6+,build
OPTIONS_DEFINE= MINIFY
OPTIONS_DEFAULT= MINIFY
MINIFY_DESC= Minify JavaScript source files
MINIFY_BUILD_DEPENDS= yuicompressor:www/yuicompressor
MINIFY_VARS= minifier=yuicompressor
MINIFY_VARS_OFF= minifier=copy
USE_PYTHON= noflavors
USE_GITHUB= yes
GH_ACCOUNT= Xpra-org
NO_ARCH= yes
NO_BUILD= yes
do-install:
- cd ${WRKSRC} && ${PYTHON_CMD} setup.py install ${STAGEDIR}${PREFIX}/share/xpra/www ${MINIFIER}
+ cd ${WRKSRC} && ${PYTHON_CMD} setup.py install ${STAGEDIR} ${PREFIX}/share/xpra/www ${MINIFIER}
.include
diff --git a/x11/xpra-html5/distinfo b/x11/xpra-html5/distinfo
index cad43cca1dd5..7c1dc1e08561 100644
--- a/x11/xpra-html5/distinfo
+++ b/x11/xpra-html5/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640522660
-SHA256 (Xpra-org-xpra-html5-v4.5.2_GH0.tar.gz) = 7f4ccea864fdfb8d6c71a77100fcb2ad07af0773eaafc528ec19ff8187d9bfdb
-SIZE (Xpra-org-xpra-html5-v4.5.2_GH0.tar.gz) = 1492651
+TIMESTAMP = 1652463818
+SHA256 (Xpra-org-xpra-html5-v5.0_GH0.tar.gz) = 0e70566bfd91eb4eaae1deb2746812efeebce2ba8140ef3a3bb0be3dd0d0b230
+SIZE (Xpra-org-xpra-html5-v5.0_GH0.tar.gz) = 1570694
diff --git a/x11/xpra-html5/pkg-plist b/x11/xpra-html5/pkg-plist
index 3415a9afae68..47221075cb70 100644
--- a/x11/xpra-html5/pkg-plist
+++ b/x11/xpra-html5/pkg-plist
@@ -1,188 +1,212 @@
share/xpra/www/connect.html
share/xpra/www/connect.html.br
share/xpra/www/connect.html.gz
share/xpra/www/css/bootstrap.css
share/xpra/www/css/bootstrap.css.br
share/xpra/www/css/bootstrap.css.gz
share/xpra/www/css/bootstrap.css.map
share/xpra/www/css/bootstrap.css.map.br
share/xpra/www/css/bootstrap.css.map.gz
share/xpra/www/css/client.css
share/xpra/www/css/client.css.br
share/xpra/www/css/client.css.gz
share/xpra/www/css/icon.css
share/xpra/www/css/icon.css.br
share/xpra/www/css/icon.css.gz
share/xpra/www/css/menu-skin.css
share/xpra/www/css/menu-skin.css.br
share/xpra/www/css/menu-skin.css.gz
share/xpra/www/css/menu.css
share/xpra/www/css/menu.css.br
share/xpra/www/css/menu.css.gz
share/xpra/www/css/signin.css
share/xpra/www/css/signin.css.br
share/xpra/www/css/signin.css.gz
share/xpra/www/css/simple-keyboard.css
share/xpra/www/css/simple-keyboard.css.br
share/xpra/www/css/simple-keyboard.css.gz
share/xpra/www/css/simple-keyboard.css.map
share/xpra/www/css/simple-keyboard.css.map.br
share/xpra/www/css/simple-keyboard.css.map.gz
+share/xpra/www/css/slick.css
+share/xpra/www/css/slick.css.br
+share/xpra/www/css/slick.css.gz
share/xpra/www/css/spinner.css
share/xpra/www/css/spinner.css.br
share/xpra/www/css/spinner.css.gz
share/xpra/www/default-settings.txt
share/xpra/www/favicon.ico
share/xpra/www/favicon.ico.br
share/xpra/www/favicon.ico.gz
share/xpra/www/favicon.png
share/xpra/www/icons/authentication.png
share/xpra/www/icons/close.png
share/xpra/www/icons/default_cursor.png
share/xpra/www/icons/empty.png
share/xpra/www/icons/eye-slash.png
share/xpra/www/icons/eye.png
share/xpra/www/icons/fullscreen.png
share/xpra/www/icons/materialicons-regular.ttf
share/xpra/www/icons/materialicons-regular.ttf.br
share/xpra/www/icons/materialicons-regular.ttf.gz
share/xpra/www/icons/materialicons-regular.woff
share/xpra/www/icons/materialicons-regular.woff.br
share/xpra/www/icons/materialicons-regular.woff.gz
share/xpra/www/icons/materialicons-regular.woff2
share/xpra/www/icons/materialicons-regular.woff2.br
share/xpra/www/icons/materialicons-regular.woff2.gz
share/xpra/www/icons/maximize.png
share/xpra/www/icons/minimize.png
share/xpra/www/icons/noicon.png
share/xpra/www/icons/speaker-buffering.png
share/xpra/www/icons/speaker-off.png
share/xpra/www/icons/speaker.png
share/xpra/www/icons/unfullscreen.png
share/xpra/www/icons/xpra-logo.png
share/xpra/www/index.html
share/xpra/www/index.html.br
share/xpra/www/index.html.gz
share/xpra/www/js/Client.js
share/xpra/www/js/Client.js.br
share/xpra/www/js/Client.js.gz
+share/xpra/www/js/Constants.js
+share/xpra/www/js/Constants.js.br
+share/xpra/www/js/Constants.js.gz
share/xpra/www/js/DecodeWorker.js
share/xpra/www/js/DecodeWorker.js.br
share/xpra/www/js/DecodeWorker.js.gz
+share/xpra/www/js/ImageDecoder.js
+share/xpra/www/js/ImageDecoder.js.br
+share/xpra/www/js/ImageDecoder.js.gz
share/xpra/www/js/Keycodes.js
share/xpra/www/js/Keycodes.js.br
share/xpra/www/js/Keycodes.js.gz
share/xpra/www/js/MediaSourceUtil.js
share/xpra/www/js/MediaSourceUtil.js.br
share/xpra/www/js/MediaSourceUtil.js.gz
share/xpra/www/js/Menu-custom.js
share/xpra/www/js/Menu-custom.js.br
share/xpra/www/js/Menu-custom.js.gz
share/xpra/www/js/Menu.js
share/xpra/www/js/Menu.js.br
share/xpra/www/js/Menu.js.gz
share/xpra/www/js/Notifications.js
share/xpra/www/js/Notifications.js.br
share/xpra/www/js/Notifications.js.gz
+share/xpra/www/js/OffscreenDecodeWorker.js
+share/xpra/www/js/OffscreenDecodeWorker.js.br
+share/xpra/www/js/OffscreenDecodeWorker.js.gz
+share/xpra/www/js/OffscreenDecodeWorkerHelper.js
+share/xpra/www/js/OffscreenDecodeWorkerHelper.js.br
+share/xpra/www/js/OffscreenDecodeWorkerHelper.js.gz
share/xpra/www/js/Protocol.js
share/xpra/www/js/Protocol.js.br
share/xpra/www/js/Protocol.js.gz
+share/xpra/www/js/RgbHelpers.js
+share/xpra/www/js/RgbHelpers.js.br
+share/xpra/www/js/RgbHelpers.js.gz
share/xpra/www/js/Utilities.js
share/xpra/www/js/Utilities.js.br
share/xpra/www/js/Utilities.js.gz
+share/xpra/www/js/VideoDecoder.js
+share/xpra/www/js/VideoDecoder.js.br
+share/xpra/www/js/VideoDecoder.js.gz
share/xpra/www/js/Window.js
share/xpra/www/js/Window.js.br
share/xpra/www/js/Window.js.gz
share/xpra/www/js/lib/AudioContextMonkeyPatch.js
share/xpra/www/js/lib/AudioContextMonkeyPatch.js.br
share/xpra/www/js/lib/AudioContextMonkeyPatch.js.gz
share/xpra/www/js/lib/FileSaver.js
share/xpra/www/js/lib/FileSaver.js.br
share/xpra/www/js/lib/FileSaver.js.gz
share/xpra/www/js/lib/aurora/aac.js
share/xpra/www/js/lib/aurora/aac.js.br
share/xpra/www/js/lib/aurora/aac.js.gz
share/xpra/www/js/lib/aurora/aac.js.map
share/xpra/www/js/lib/aurora/aac.js.map.br
share/xpra/www/js/lib/aurora/aac.js.map.gz
share/xpra/www/js/lib/aurora/aurora-xpra.js
share/xpra/www/js/lib/aurora/aurora-xpra.js.br
share/xpra/www/js/lib/aurora/aurora-xpra.js.gz
share/xpra/www/js/lib/aurora/aurora.js
share/xpra/www/js/lib/aurora/aurora.js.br
share/xpra/www/js/lib/aurora/aurora.js.gz
share/xpra/www/js/lib/aurora/flac.js
share/xpra/www/js/lib/aurora/flac.js.br
share/xpra/www/js/lib/aurora/flac.js.gz
share/xpra/www/js/lib/aurora/flac.js.map
share/xpra/www/js/lib/aurora/flac.js.map.br
share/xpra/www/js/lib/aurora/flac.js.map.gz
share/xpra/www/js/lib/aurora/mp3.js
share/xpra/www/js/lib/aurora/mp3.js.br
share/xpra/www/js/lib/aurora/mp3.js.gz
share/xpra/www/js/lib/aurora/mp3.js.map
share/xpra/www/js/lib/aurora/mp3.js.map.br
share/xpra/www/js/lib/aurora/mp3.js.map.gz
share/xpra/www/js/lib/bencode.js
share/xpra/www/js/lib/bencode.js.br
share/xpra/www/js/lib/bencode.js.gz
share/xpra/www/js/lib/broadway/AUTHORS
share/xpra/www/js/lib/broadway/AUTHORS.br
share/xpra/www/js/lib/broadway/AUTHORS.gz
share/xpra/www/js/lib/broadway/Decoder.js
share/xpra/www/js/lib/broadway/Decoder.js.br
share/xpra/www/js/lib/broadway/Decoder.js.gz
share/xpra/www/js/lib/broadway/LICENSE
share/xpra/www/js/lib/broadway/LICENSE.br
share/xpra/www/js/lib/broadway/LICENSE.gz
share/xpra/www/js/lib/brotli_decode.js
share/xpra/www/js/lib/brotli_decode.js.br
share/xpra/www/js/lib/brotli_decode.js.gz
share/xpra/www/js/lib/detect-zoom.js
share/xpra/www/js/lib/detect-zoom.js.br
share/xpra/www/js/lib/detect-zoom.js.gz
share/xpra/www/js/lib/es6-shim.js
share/xpra/www/js/lib/es6-shim.js.br
share/xpra/www/js/lib/es6-shim.js.gz
share/xpra/www/js/lib/forge.js
share/xpra/www/js/lib/forge.js.br
share/xpra/www/js/lib/forge.js.gz
share/xpra/www/js/lib/jquery-transform-draggable.js
share/xpra/www/js/lib/jquery-transform-draggable.js.br
share/xpra/www/js/lib/jquery-transform-draggable.js.gz
share/xpra/www/js/lib/jquery-ui.js
share/xpra/www/js/lib/jquery-ui.js.br
share/xpra/www/js/lib/jquery-ui.js.gz
share/xpra/www/js/lib/jquery.ba-throttle-debounce.js
share/xpra/www/js/lib/jquery.ba-throttle-debounce.js.br
share/xpra/www/js/lib/jquery.ba-throttle-debounce.js.gz
share/xpra/www/js/lib/jquery.js
share/xpra/www/js/lib/jquery.js.br
share/xpra/www/js/lib/jquery.js.gz
share/xpra/www/js/lib/jsmpeg.js
share/xpra/www/js/lib/jsmpeg.js.br
share/xpra/www/js/lib/jsmpeg.js.gz
share/xpra/www/js/lib/jszip.js
share/xpra/www/js/lib/jszip.js.br
share/xpra/www/js/lib/jszip.js.gz
share/xpra/www/js/lib/lz4.js
share/xpra/www/js/lib/lz4.js.br
share/xpra/www/js/lib/lz4.js.gz
share/xpra/www/js/lib/rencode.js
share/xpra/www/js/lib/rencode.js.br
share/xpra/www/js/lib/rencode.js.gz
share/xpra/www/js/lib/simple-keyboard.js
share/xpra/www/js/lib/simple-keyboard.js.br
share/xpra/www/js/lib/simple-keyboard.js.gz
share/xpra/www/js/lib/simple-keyboard.js.map
share/xpra/www/js/lib/simple-keyboard.js.map.br
share/xpra/www/js/lib/simple-keyboard.js.map.gz
+share/xpra/www/js/lib/slick.js
+share/xpra/www/js/lib/slick.js.br
+share/xpra/www/js/lib/slick.js.gz
share/xpra/www/js/lib/wsworker_check.js
share/xpra/www/js/lib/wsworker_check.js.br
share/xpra/www/js/lib/wsworker_check.js.gz
share/xpra/www/js/lib/zlib.js
share/xpra/www/js/lib/zlib.js.br
share/xpra/www/js/lib/zlib.js.gz
share/xpra/www/js/lib/zlib.pretty.js.map
share/xpra/www/js/lib/zlib.pretty.js.map.br
share/xpra/www/js/lib/zlib.pretty.js.map.gz