Lines 1-34
Link Here
|
1 |
PORTNAME= onionshare |
1 |
PORTNAME= onionshare |
2 |
DISTVERSIONPREFIX=v |
2 |
DISTVERSIONPREFIX=v |
3 |
DISTVERSION= 2.2 |
3 |
DISTVERSION= 2.5 |
4 |
PORTREVISION= 8 |
4 |
CATEGORIES= www security python |
5 |
CATEGORIES= www python security |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
6 |
|
6 |
|
7 |
MAINTAINER= egypcio@FreeBSD.org |
7 |
MAINTAINER= egypcio@FreeBSD.org |
8 |
COMMENT= Secure and anonymous file sharing via Tor |
8 |
COMMENT= Secure and anonymous file sharing via Tor |
9 |
|
9 |
|
10 |
LICENSE= GPLv3 |
10 |
LICENSE= GPLv3 |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
12 |
|
13 |
RUN_DEPENDS= meek-client:security/meek \ |
13 |
RUN_DEPENDS= meek-client:security/meek \ |
14 |
obfs4proxy:security/obfs4proxy-tor \ |
14 |
obfs4proxy:security/obfs4proxy-tor \ |
15 |
snowflake-client:security/snowflake-tor \ |
15 |
snowflake-client:security/snowflake-tor \ |
16 |
tor:security/tor \ |
16 |
tor:security/tor \ |
17 |
${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}Flask-HTTPAuth>=0:security/py-flask-httpauth@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}Flask-HTTPAuth>=0:security/py-flask-httpauth@${PY_FLAVOR} \ |
|
|
19 |
${PYTHON_PKGNAMEPREFIX}atomicwrites>=0:devel/py-atomicwrites@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}onionshare-cli>=0:www/onionshare-cli@${PY_FLAVOR} \ |
19 |
${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \ |
22 |
${PYTHON_PKGNAMEPREFIX}pycryptodome>=0:security/py-pycryptodome@${PY_FLAVOR} \ |
|
|
23 |
${PYTHON_PKGNAMEPREFIX}pyside2>=0:devel/pyside2@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks@${PY_FLAVOR} \ |
24 |
${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks@${PY_FLAVOR} \ |
|
|
25 |
${PYTHON_PKGNAMEPREFIX}qrcode>=0:textproc/py-qrcode@${PY_FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ |
26 |
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ |
22 |
${PYTHON_PKGNAMEPREFIX}stem>=0:security/py-stem@${PY_FLAVOR} |
27 |
${PYTHON_PKGNAMEPREFIX}shiboken2>=0:devel/shiboken2@${PY_FLAVOR} |
23 |
|
28 |
|
24 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} |
29 |
USES= cpe python:3.6+ pyqt:5 qt:5 shebangfix xorg |
25 |
|
|
|
26 |
USES= cpe python:3.6+ pyqt:5 |
27 |
USE_GITHUB= yes |
30 |
USE_GITHUB= yes |
28 |
USE_PYQT= pyqt5 sip |
31 |
USE_PYQT= pyqt5 sip |
29 |
USE_PYTHON= distutils autoplist noflavors |
32 |
USE_PYTHON= distutils autoplist |
|
|
33 |
USE_XORG= x11 xcb |
34 |
|
35 |
PYSETUP= ${WRKSRC}/desktop/setup.py |
36 |
SHEBANG_FILES= ${WRKSRC}/desktop/*.py \ |
37 |
${WRKSRC}/desktop/scripts/*.py \ |
38 |
${WRKSRC}/desktop/scripts/bridges/*.py \ |
39 |
${WRKSRC}/desktop/tests/*.py |
30 |
|
40 |
|
31 |
post-patch: |
41 |
post-patch: |
32 |
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/onionshare/common.py |
42 |
${RLN} ${WRKSRC}/desktop/onionshare ${WRKSRC}/onionshare |
33 |
|
43 |
|
34 |
.include <bsd.port.mk> |
44 |
.include <bsd.port.mk> |