aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-02-11 03:59:26 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-02-11 03:59:26 +0800
commita2fb91b856847c6cbd0902cbc159e65519aad984 (patch)
tree2ead5bcc9ddd5e67dfb6768f2a994e646813caaf /www
parent5d82c1b846942bbb0fed4ba032994e938e860471 (diff)
downloadfreebsd-ports-gnome-a2fb91b856847c6cbd0902cbc159e65519aad984.tar.gz
freebsd-ports-gnome-a2fb91b856847c6cbd0902cbc159e65519aad984.tar.zst
freebsd-ports-gnome-a2fb91b856847c6cbd0902cbc159e65519aad984.zip
Simplify Makefile: use PY_FUTURES
With hat: python
Diffstat (limited to 'www')
-rw-r--r--www/py-pySmartDL/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/www/py-pySmartDL/Makefile b/www/py-pySmartDL/Makefile
index 82cd942ffb34..e39487942537 100644
--- a/www/py-pySmartDL/Makefile
+++ b/www/py-pySmartDL/Makefile
@@ -10,15 +10,11 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= feld@FreeBSD.org
COMMENT= Smart download manager for Python
+RUN_DEPENDS= ${PY_FUTURES}
+
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_VER} == "2.7"
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures@${FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>