aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Wiesinger <mdw@FreeBSD.org>2022-12-01 23:12:17 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-12-01 23:15:02 +0000
commit3b1deb28f03c6120b1e353cc349304e60908000a (patch)
treed374fa680e982a3528eba0e89b9aa21bedfb9388
parent467ac4a99076ae4bd66196fbce67d8a3e419dd60 (diff)
net-im/jsxc: New port
JSXC is a browser-based XMPP Client which suports video calls, file transfer and encrypted communication Features: * Federated real-time communication with XMPP * One-to-one conversation * Multi-user conversation * File transfer * Video calls * Internationalisation * Desktop notifications * End-to-end encrypted two-party communication * Responsive layout * Emoticons two_hearts * Multi-Tab * Screen sharing PR: 268107 Reported by: manuel@mmap.at Tested by: bofh Approved by: mdw (Submitter is maintainer)
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/jsxc/Makefile26
-rw-r--r--net-im/jsxc/distinfo3
-rw-r--r--net-im/jsxc/pkg-descr16
4 files changed, 46 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile
index ad54b37f7fb6..670ef3853921 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -38,6 +38,7 @@
SUBDIR += jitsi-prosody-plugins
SUBDIR += jitsi-srtp-native
SUBDIR += jitsi-videobridge
+ SUBDIR += jsxc
SUBDIR += kaccounts-integration
SUBDIR += kaccounts-providers
SUBDIR += kaidan
diff --git a/net-im/jsxc/Makefile b/net-im/jsxc/Makefile
new file mode 100644
index 000000000000..5c55d7ffe1a3
--- /dev/null
+++ b/net-im/jsxc/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= jsxc
+DISTVERSION= 4.4.0
+CATEGORIES= net-im www
+MASTER_SITES= https://github.com/jsxc/jsxc/releases/download/v${DISTVERSION}/
+
+MAINTAINER= mdw@FreeBSD.org
+COMMENT= Browser-based XMPP Client
+WWW= https://www.jsxc.org/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
+
+post-install:
+ ${FIND} -s ${STAGEDIR}${WWWDIR} -not -type d | ${SORT} | \
+ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/net-im/jsxc/distinfo b/net-im/jsxc/distinfo
new file mode 100644
index 000000000000..f61ee1e04712
--- /dev/null
+++ b/net-im/jsxc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1669928786
+SHA256 (jsxc-4.4.0.tar.gz) = 0ead62303669d90cf0d2083401aa5e109ddf3df3e1856f5674a01a380d3f2116
+SIZE (jsxc-4.4.0.tar.gz) = 1538007
diff --git a/net-im/jsxc/pkg-descr b/net-im/jsxc/pkg-descr
new file mode 100644
index 000000000000..d48695ee15b4
--- /dev/null
+++ b/net-im/jsxc/pkg-descr
@@ -0,0 +1,16 @@
+JSXC is a browser-based XMPP Client which suports video calls, file transfer and
+encrypted communication
+
+Features:
+* Federated real-time communication with XMPP
+* One-to-one conversation
+* Multi-user conversation
+* File transfer
+* Video calls
+* Internationalisation
+* Desktop notifications
+* End-to-end encrypted two-party communication
+* Responsive layout
+* Emoticons two_hearts
+* Multi-Tab
+* Screen sharing