Lines 25-39
Link Here
|
25 |
PYDISTUTILS_AUTOPLIST= yes |
25 |
PYDISTUTILS_AUTOPLIST= yes |
26 |
PYDISTUTILS_PKGNAME= Sphinx |
26 |
PYDISTUTILS_PKGNAME= Sphinx |
27 |
|
27 |
|
28 |
post-build: |
28 |
post-install: |
29 |
cd ${WRKSRC} && \ |
29 |
cd ${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/${PYEASYINSTALL_EGG} && \ |
30 |
${SETENV} PYTHONPATH=${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}:${PYTHONPREFIX_SITELIBDIR} \ |
30 |
${SETENV} PYTHONPATH=${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}:${PYTHONPREFIX_SITELIBDIR} \ |
31 |
${PYTHON_CMD} -m sphinx.pycode.pgen2.driver -c 'import load_grammar' |
31 |
${PYTHON_CMD} -m sphinx.pycode.pgen2.driver -c 'load_grammar(force=True)' |
32 |
|
32 |
|
33 |
post-install: |
|
|
34 |
${INSTALL_DATA} ${WRKSRC}/sphinx/pycode/Grammar${PYTHON_VER}.pickle \ |
35 |
${STAGEDIR}/${PYTHONPREFIX_SITELIBDIR}/${PYEASYINSTALL_EGG}/sphinx/pycode/ |
36 |
|
37 |
${ECHO_CMD} ${PYTHON_SITELIBDIR:S;${PYTHONBASE}/;;}/${PYEASYINSTALL_EGG}/sphinx/pycode/Grammar${PYTHON_VER}.pickle >> ${TMPPLIST} |
33 |
${ECHO_CMD} ${PYTHON_SITELIBDIR:S;${PYTHONBASE}/;;}/${PYEASYINSTALL_EGG}/sphinx/pycode/Grammar${PYTHON_VER}.pickle >> ${TMPPLIST} |
38 |
|
34 |
|
39 |
.include <bsd.port.mk> |
35 |
.include <bsd.port.mk> |