blob: 1c3c6244f31495871cdffc8a565d86cbe153e48a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
PORTNAME= scli
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.0
CATEGORIES= net-im python
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-readline>=0:devel/py-urwid-readline@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}urwid>=0:devel/py-urwid@${PY_FLAVOR} \
dbus>=0:devel/dbus \
signal-cli>=0.6.8_1:net-im/signal-cli
USES= python:run,3.7+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= isamert
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 LINKING
OPTIONS_DEFAULT= LINKING
LINKING_DESC= Linking support for the --link flag
LINKING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyqrcode>=0:graphics/py-pyqrcode@${PY_FLAVOR}
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 <bsd.port.mk>
|