diff --git a/net-im/Makefile b/net-im/Makefile index 6fd65b63db94..7f21d00b7b74 100644 --- a/net-im/Makefile +++ b/net-im/Makefile @@ -148,6 +148,7 @@ SUBDIR += ruqola SUBDIR += sayaka SUBDIR += scudcloud + SUBDIR += scli SUBDIR += sendxmpp SUBDIR += signal-cli SUBDIR += slack-term diff --git a/net-im/scli/Makefile b/net-im/scli/Makefile new file mode 100644 index 000000000000..b6a41f2df45c --- /dev/null +++ b/net-im/scli/Makefile @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= scli +DISTVERSION= g20200713 +CATEGORIES= net-im python +PATCH_SITES= https://github.com/isamert/scli/commit/ +PATCHFILES= 7be89ab90a2f467abeb363c44c5558c7397c38da.patch:-p1 + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Simple terminal user interface for the Signal messenger (using signal-cli) + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urwid>=0:devel/py-urwid@${PY_FLAVOR} \ + signal-cli>=0.6.8_1:net-im/signal-cli + +USES= python:run,3.5+ shebangfix +USE_GITHUB= yes +GH_ACCOUNT= isamert +GH_TAGNAME= 8e068d4 +SHEBANG_FILES= ${PORTNAME} + +NO_ARCH= yes +NO_BUILD= yes + +PLIST_FILES= bin/${PORTNAME} + +PORTDOCS= README.md screenshots/1.png screenshots/2.png screenshots/3.png + +OPTIONS_DEFINE= DOCS + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${COPYTREE_SHARE} screenshots ${STAGEDIR}${DOCSDIR}) + +.include diff --git a/net-im/scli/distinfo b/net-im/scli/distinfo new file mode 100644 index 000000000000..9c43ec72e019 --- /dev/null +++ b/net-im/scli/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1597144559 +SHA256 (isamert-scli-g20200713-8e068d4_GH0.tar.gz) = 6e0457b2ff3e72d4042a8fd3520463470e46463a60b2bc8f9ac8a90a56a9d6c8 +SIZE (isamert-scli-g20200713-8e068d4_GH0.tar.gz) = 110790 +SHA256 (7be89ab90a2f467abeb363c44c5558c7397c38da.patch) = d6654a38ccac7e922209549ec6ede94224d109ff7c4340cb07cfb9016fce345b +SIZE (7be89ab90a2f467abeb363c44c5558c7397c38da.patch) = 694 diff --git a/net-im/scli/pkg-descr b/net-im/scli/pkg-descr new file mode 100644 index 000000000000..03b3a8de363c --- /dev/null +++ b/net-im/scli/pkg-descr @@ -0,0 +1,4 @@ +scli is a simple TUI (terminal user interface) for Signal, the messaging +platform. It relies on signal-cli to connect to Signal services and urwid. + +WWW: https://github.com/isamert/scli