mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= onionshare
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= www python security
|
|
|
|
MAINTAINER= egypcio@FreeBSD.org
|
|
COMMENT= Secure and anonymous file sharing via Tor
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= tor:security/tor \
|
|
obfs4proxy:security/obfs4proxy-tor \
|
|
${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}Flask-HTTPAuth>=0:security/py-flask-httpauth@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}stem>=0:security/py-stem@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python:3.5+ pyqt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= micahflee
|
|
USE_PYQT= core gui sip widgets # "sip" should be "sip_build", but "import PyQt5.QtCore" wants "sip". See bug#225040
|
|
USE_PYTHON= distutils autoplist noflavors
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/onionshare/common.py
|
|
|
|
.include <bsd.port.mk>
|