Changeset View
Changeset View
Standalone View
Standalone View
www/py-cssselect/Makefile
Show All 15 Lines | |||||
USES= python:3.6+ | USES= python:3.6+ | ||||
USE_PYTHON= distutils autoplist | USE_PYTHON= distutils autoplist | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
OPTIONS_DEFINE= DOCS | OPTIONS_DEFINE= DOCS | ||||
DOCS_BUILD_DEPENDS= ${PY_SPHINX} | DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} | ||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} | DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} | ||||
PORTDOCS= * | PORTDOCS= * | ||||
post-build-DOCS-on: | post-build-DOCS-on: | ||||
(cd ${WRKSRC} && \ | (cd ${WRKSRC} && \ | ||||
PYTHONPATH=${WRKSRC} sphinx-build-${PYTHON_VER} -N -a docs docs.html) | PYTHONPATH=${WRKSRC} sphinx-build-${PYTHON_VER} -N -a docs docs.html) | ||||
post-install-DOCS-on: | post-install-DOCS-on: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
(cd ${WRKSRC}/docs.html && \ | (cd ${WRKSRC}/docs.html && \ | ||||
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -path *doctrees*") | ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -path *doctrees*") | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |