aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-qrcode
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2017-11-30 15:50:30 +0000
committerMathieu Arnold <mat@FreeBSD.org>2017-11-30 15:50:30 +0000
commit551be3c7231225ed9c26479af2b8914fb2ef0ea8 (patch)
treed296c82a71504382f4faefa0bf8d7be384ea1105 /textproc/py-qrcode
parent02f9c9be1699251467efc027f210049dfe14f9c5 (diff)
downloadports-551be3c7231225ed9c26479af2b8914fb2ef0ea8.tar.gz
ports-551be3c7231225ed9c26479af2b8914fb2ef0ea8.zip
Notes
Diffstat (limited to 'textproc/py-qrcode')
-rw-r--r--textproc/py-qrcode/Makefile18
1 files changed, 5 insertions, 13 deletions
diff --git a/textproc/py-qrcode/Makefile b/textproc/py-qrcode/Makefile
index e2b3c9d3ba99..c735a9bde156 100644
--- a/textproc/py-qrcode/Makefile
+++ b/textproc/py-qrcode/Makefile
@@ -13,18 +13,10 @@ COMMENT= QR Code image generator
LICENSE= BSD3CLAUSE
-USES?= python
-USE_PYTHON= autoplist distutils
-
-.include <bsd.port.pre.mk>
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py-six@${FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>=2.6:graphics/py-pillow@${FLAVOR}
-.if ${PYTHON_REL} > 3000
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py3-six \
- ${PYTHON_PKGNAMEPREFIX}pillow>=2.6:graphics/py3-pillow
-.else
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.8:devel/py-six \
- ${PYTHON_PKGNAMEPREFIX}pillow>=2.6:graphics/py-pillow
-.endif
-
-.include <bsd.port.post.mk>
+USES= python
+USE_PYTHON= autoplist distutils
+.include <bsd.port.mk>