svn commit: r506483 - head/textproc/py-ocrmypdf
Kai Knoblich
kai at FreeBSD.org
Fri Jul 12 17:20:34 UTC 2019
Author: kai
Date: Fri Jul 12 17:20:32 2019
New Revision: 506483
URL: https://svnweb.freebsd.org/changeset/ports/506483
Log:
textproc/py-ocrmypdf: Apply workaround for missing files a bit earlier
* The post-stage target runs very late in the install process and should be
only used if the post-install target ran too early.
Thus place the workaround that copes with the missing files to the
post-install target where it fits better.
Suggested by: mat
Modified:
head/textproc/py-ocrmypdf/Makefile
Modified: head/textproc/py-ocrmypdf/Makefile
==============================================================================
--- head/textproc/py-ocrmypdf/Makefile Fri Jul 12 16:56:53 2019 (r506482)
+++ head/textproc/py-ocrmypdf/Makefile Fri Jul 12 17:20:32 2019 (r506483)
@@ -62,7 +62,7 @@ NO_ARCH= yes
#
# See here for a related issue from another port (audio/py-sounddevice):
# https://github.com/spatialaudio/python-sounddevice/issues/116
-post-stage:
+post-install:
${ECHO} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/__pycache__/_leptonica.cpython-${PYTHON_SUFFIX}.opt-1.pyc" >> ${_PYTHONPKGLIST}
${ECHO} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/__pycache__/_leptonica.cpython-${PYTHON_SUFFIX}.pyc" >> ${_PYTHONPKGLIST}
${ECHO} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/_leptonica.py" >> ${_PYTHONPKGLIST}
More information about the svn-ports-head
mailing list