Index: head/devel/py-pathtools/Makefile =================================================================== --- head/devel/py-pathtools/Makefile (revision 536659) +++ head/devel/py-pathtools/Makefile (revision 536660) @@ -1,33 +1,33 @@ # $FreeBSD$ PORTNAME= pathtools PORTVERSION= 0.1.2 PORTREVISION= 5 CATEGORIES= devel MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= File system general utilities for Python LICENSE= MIT -OPTIONS_DEFINE= DOCS - USES= python USE_PYTHON= distutils autoplist +OPTIONS_DEFINE= DOCS + DOCS_BUILD_DEPENDS= ${PY_SPHINX} DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= * -post-build: +post-build-DOCS-on: @(cd ${WRKSRC}/docs ; ${MAKE} SPHINXBUILD=sphinx-build-${PYTHON_VER} html) -post-install: +post-install-DOCS-on: @(cd ${WRKSRC}/docs/build/html ; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") .include Index: head/devel/py-pathtools/files/patch-docs__source__conf.py =================================================================== --- head/devel/py-pathtools/files/patch-docs__source__conf.py (revision 536659) +++ head/devel/py-pathtools/files/patch-docs__source__conf.py (revision 536660) @@ -1,11 +1,11 @@ ---- ./docs/source/conf.py.orig 2012-09-11 15:54:40.000000000 +0200 -+++ ./docs/source/conf.py 2012-09-11 15:54:44.000000000 +0200 -@@ -104,7 +104,7 @@ +--- docs/source/conf.py.orig 2011-08-25 09:25:25 UTC ++++ docs/source/conf.py +@@ -104,7 +104,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'flask' +html_theme = 'default' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the