summaryrefslogtreecommitdiff
path: root/net-p2p/py-tremc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/py-tremc/Makefile')
-rw-r--r--net-p2p/py-tremc/Makefile26
1 files changed, 8 insertions, 18 deletions
diff --git a/net-p2p/py-tremc/Makefile b/net-p2p/py-tremc/Makefile
index b4aafab03577..c97df1298334 100644
--- a/net-p2p/py-tremc/Makefile
+++ b/net-p2p/py-tremc/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
PORTNAME= tremc
-DISTVERSION= g20180106
+DISTVERSION= 0.9.1-11
+DISTVERSIONSUFFIX= -g54a873f
CATEGORIES= net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,28 +14,17 @@ 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= ADNS GEOIP PYPERCLIP
+OPTIONS_DEFAULT= ADNS GEOIP PYPERCLIP
-OPTIONS_DEFINE= GEOIP XEROX
+PYPERCLIP_DESC= Copy magnet links to the system clipboard
-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}
+ADNS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}adns>=:dns/py-adns@${PY_FLAVOR}
+GEOIP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}GeoIP>=0:net/py-GeoIP@${PY_FLAVOR}
+PYPERCLIP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyperclip>=0:devel/py-pyperclip@${PY_FLAVOR}
.include <bsd.port.mk>