aboutsummaryrefslogtreecommitdiff
path: root/science/rdkit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'science/rdkit/Makefile')
-rw-r--r--science/rdkit/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/science/rdkit/Makefile b/science/rdkit/Makefile
index df367f89d74d..6fd5f931c763 100644
--- a/science/rdkit/Makefile
+++ b/science/rdkit/Makefile
@@ -41,6 +41,7 @@ PYTHON_CMAKE_BOOL= RDK_BUILD_PYTHON_WRAPPERS
PYTHON_BUILD_DEPENDS= ${PYNUMPY}
PYTHON_LIB_DEPENDS= ${PY_BOOST}
PYTHON_RUN_DEPENDS= ${PYNUMPY} \
+ ${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}reportlab>0:print/py-reportlab@${PY_FLAVOR}
@@ -54,14 +55,6 @@ PLIST_SUB+= LITTLE_ENDIAN=""
PLIST_SUB+= LITTLE_ENDIAN="@comment "
.endif
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3500
-PYTHON_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR}
-.else
-PYTHON_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
-.endif
-
post-extract:
@${MKDIR} ${WRKSRC}/External/rapidjson-1.1.0
@cd ${WRKSRC}/External/rapidjson-1.1.0 && ${LN} -s ${LOCALBASE}/include/rapidjson include
@@ -70,4 +63,4 @@ post-stage: # https://github.com/rdkit/rdkit/issues/2094
#@${MKDIR} ${STAGEDIR}${PREFIX}/lib/cmake
#@${MV} ${STAGEDIR}${PREFIX}/lib/*.cmake ${STAGEDIR}${PREFIX}/lib/cmake
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>