summaryrefslogtreecommitdiff
path: root/x11/xpra-html5/Makefile
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2021-04-15 12:42:58 +0300
committerGleb Popov <arrowd@FreeBSD.org>2021-04-15 12:44:49 +0300
commite0c16587db9f64d435c65091fe8dc60e6c2b9862 (patch)
tree937bf7e3203c99a4b3d5aa21ec0fab5ba0a53a0f /x11/xpra-html5/Makefile
parentsysutils/py-qmk: Update to 0.0.45 (diff)
Create x11/xpra-html port - a HTML5 client for x11/xpra
Previosly it was a part of x11/xpra. PR: 254313
Diffstat (limited to 'x11/xpra-html5/Makefile')
-rw-r--r--x11/xpra-html5/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/x11/xpra-html5/Makefile b/x11/xpra-html5/Makefile
new file mode 100644
index 000000000000..637aef07d329
--- /dev/null
+++ b/x11/xpra-html5/Makefile
@@ -0,0 +1,35 @@
+PORTNAME= xpra-html5
+PORTVERSION= 4.1.2
+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+
+
+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}
+
+.include <bsd.port.mk>