Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2019 17:20:33 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r506483 - head/textproc/py-ocrmypdf
Message-ID:  <201907121720.x6CHKX3c098082@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907121720.x6CHKX3c098082>