blob: b4aafab03577f11ae38a152ce5ddafc1ca007dee (
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
|
# $FreeBSD$
PORTNAME= tremc
DISTVERSION= g20180106
CATEGORIES= net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lebarondemerde@privacychain.ch
COMMENT= Console client for the BitTorrent client Transmission
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= python:3.4+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= louipc
GH_TAGNAME= dfbde72
NO_ARCH= yes
NO_BUILD= yes
SHEBANG_FILES= ${PORTNAME}
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz \
share/bash-completion/completions/${PORTNAME}
OPTIONS_DEFINE= GEOIP XEROX
XEROX_DESC= Copy magnet links to the system clipboard
GEOIP_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/GeoIP.so:net/py-GeoIP@${PY_FLAVOR}
XEROX_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/xerox/__init__.py:devel/py-xerox@${PY_FLAVOR}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL} -d ${STAGEDIR}${PREFIX}/share/bash-completion/completions
${INSTALL_DATA} ${WRKSRC}/completion/bash/${PORTNAME}.sh \
${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME}
.include <bsd.port.mk>
|