summaryrefslogtreecommitdiff
path: root/misc/mmdnn
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2020-03-24 19:54:57 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2020-03-24 19:54:57 +0000
commit1bf9457272318a99eb550ee7603ef85903c36cea (patch)
tree30969701cc82a93abc61c62dd66cf03666bbe585 /misc/mmdnn
parentAdd a PY_PILLOW that can be used to choose between graphics/py-pillow (diff)
Convert the tree to use PY_PILLOW
With hat: portmgr Originally submitted by: kai
Notes
Notes: svn path=/head/; revision=529063
Diffstat (limited to 'misc/mmdnn')
-rw-r--r--misc/mmdnn/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/misc/mmdnn/Makefile b/misc/mmdnn/Makefile
index 036a3c7bca4d..dfde7ed8cb86 100644
--- a/misc/mmdnn/Makefile
+++ b/misc/mmdnn/Makefile
@@ -13,6 +13,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY} \
+ ${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}protobuf>=3.6.0:devel/py-protobuf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR}
@@ -24,12 +25,4 @@ USE_PYTHON= distutils noflavors autoplist
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3500
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>=3.1.0:graphics/py-pillow6@${PY_FLAVOR}
-.else
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>=3.1.0:graphics/py-pillow@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>