summaryrefslogtreecommitdiff
path: root/net-p2p/py-tremc/Makefile
blob: 0b96bc17cb40973ba80981b5356f8d7632660cf0 (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

PORTNAME=	tremc
DISTVERSION=	0.9.2
CATEGORIES=	net-p2p python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	rigoletto@FreeBSD.org
COMMENT=	Console client for the BitTorrent client Transmission

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		python:3.4+ shebangfix
USE_GITHUB=	yes
NO_ARCH=	yes
NO_BUILD=	yes
SHEBANG_FILES=	${PORTNAME}

OPTIONS_DEFINE=	ADNS IPY PYPERCLIP
OPTIONS_DEFAULT=	ADNS IPY PYPERCLIP

ADNS_DESC=	Resolve IPs to host names
IPY_DESC=	Extract ipv4 from ipv6 addresses
PYPERCLIP_DESC=	Copy magnet links to the system clipboard

ADNS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}adns>=0:dns/py-adns@${PY_FLAVOR}
IPY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipy>=0:net-mgmt/py-ipy@${PY_FLAVOR}
PYPERCLIP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyperclip>=0:devel/py-pyperclip@${PY_FLAVOR}

.include <bsd.port.mk>