summaryrefslogtreecommitdiff
path: root/graphics/py-python-poppler-qt5
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-27 05:42:12 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-27 05:42:12 +0800
commita6813775ea54722f1e78dbff1391ef322212c779 (patch)
tree301d7ee3937bb9006a562c4c8c95715cdc3c8b20 /graphics/py-python-poppler-qt5
parentgraphics/py-pytesseract: Remove outdated PYTHON_REL check after lang/python37... (diff)
graphics/py-python-poppler-qt5: Remove outdated PYTHON_REL check after lang/python37 removal
Approved by: portmgr (blanket) With hat: python
Diffstat (limited to 'graphics/py-python-poppler-qt5')
-rw-r--r--graphics/py-python-poppler-qt5/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/graphics/py-python-poppler-qt5/Makefile b/graphics/py-python-poppler-qt5/Makefile
index 143ca7bc10b1..e4637f56e817 100644
--- a/graphics/py-python-poppler-qt5/Makefile
+++ b/graphics/py-python-poppler-qt5/Makefile
@@ -25,13 +25,7 @@ USE_QT= core gui xml
PLIST_SUB= _PY_SONAME=${_PY_SONAME}
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30800
-_PY_SONAME= .cpython-${PYTHON_SUFFIX}m
-.else
_PY_SONAME= ${PYTHON_EXT_SUFFIX}
-.endif
do-build:
(cd ${WRKSRC} ; sip-build-${PYTHON_VER} --qmake ${QMAKE} --verbose --no-make --build-dir build ; ${MAKE} -C ./build )
@@ -43,4 +37,4 @@ post-install:
${RLN} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${_PY_SONAME}.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5.so
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/popplerqt5${_PY_SONAME}.so
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>