View | Details | Raw Unified | Return to bug 241466
Collapse All | Expand All

(-)Makefile.new (-3 / +6 lines)
Lines 17-25 Link Here
17
DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3:textproc/py-sphinx@${PY_FLAVOR} \
17
DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3:textproc/py-sphinx@${PY_FLAVOR} \
18
			${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \
18
			${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \
19
			${PYTHON_PKGNAMEPREFIX}towncrier>0:textproc/py-towncrier@${PY_FLAVOR}
19
			${PYTHON_PKGNAMEPREFIX}towncrier>0:textproc/py-towncrier@${PY_FLAVOR}
20
.if ${FLAVOR:U:Mpy27}
21
DOCS_BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}
22
.endif
23
DOCS_PORTDOCS=	*
20
DOCS_PORTDOCS=	*
24
DOCS_VARS=	PYDISTUTILS_BUILD_TARGET="build build_sphinx"
21
DOCS_VARS=	PYDISTUTILS_BUILD_TARGET="build build_sphinx"
25
22
Lines 39-44 Link Here
39
USES=		python
36
USES=		python
40
USE_GITHUB=	yes
37
USE_GITHUB=	yes
41
USE_PYTHON=	autoplist concurrent distutils
38
USE_PYTHON=	autoplist concurrent distutils
39
40
.include <bsd.port.pre.mk>
41
42
.if ${FLAVOR:U:Mpy27}
43
DOCS_BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pathlib2>0:devel/py-pathlib2@${PY_FLAVOR}
44
.endif
42
45
43
post-install-DOCS-on:
46
post-install-DOCS-on:
44
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
47
	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Return to bug 241466