git: 3b1deb28f03c - main - net-im/jsxc: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 01 Dec 2022 23:15:09 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b1deb28f03c6120b1e353cc349304e60908000a

commit 3b1deb28f03c6120b1e353cc349304e60908000a
Author:     Manuel Wiesinger <mdw@FreeBSD.org>
AuthorDate: 2022-12-01 23:12:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-12-01 23:15:02 +0000

    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)
---
 net-im/Makefile       |  1 +
 net-im/jsxc/Makefile  | 26 ++++++++++++++++++++++++++
 net-im/jsxc/distinfo  |  3 +++
 net-im/jsxc/pkg-descr | 16 ++++++++++++++++
 4 files changed, 46 insertions(+)

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