Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 2015 19:15:19 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r396930 - head/www/py-pyquery
Message-ID:  <201509141915.t8EJFJaI026069@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Sep 14 19:15:19 2015
New Revision: 396930
URL: https://svnweb.freebsd.org/changeset/ports/396930

Log:
  - Switch to options helpers
  - Add missing files to plist
  
  Approved by:	portmgr blanket

Modified:
  head/www/py-pyquery/Makefile
  head/www/py-pyquery/pkg-plist

Modified: head/www/py-pyquery/Makefile
==============================================================================
--- head/www/py-pyquery/Makefile	Mon Sep 14 19:15:12 2015	(r396929)
+++ head/www/py-pyquery/Makefile	Mon Sep 14 19:15:19 2015	(r396930)
@@ -19,24 +19,21 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}csss
 		${PYTHON_PKGNAMEPREFIX}lxml>=2.1:${PORTSDIR}/devel/py-lxml \
 		${PYTHON_PKGNAMEPREFIX}webob>=1.2.2:${PORTSDIR}/www/py-webob
 
-DOCS_BUILD_DEPENDS+=	sphinx-build:${PORTSDIR}/textproc/py-sphinx
 DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS
 
 USES=		python zip
 USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
 
-.include <bsd.port.options.mk>
+DOCS_BUILD_DEPENDS=	sphinx-build:${PORTSDIR}/textproc/py-sphinx
+DOCS_VARS=	PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
 
-.if ${PORT_OPTIONS:MDOCS}
-PYDISTUTILS_BUILD_TARGET+=	build_sphinx -a -E
-
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@(cd ${WRKSRC}/build/sphinx/html && \
 	${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
 		"! -name .buildinfo -or ! -name objects.inv")
-.endif
 
 .include <bsd.port.mk>

Modified: head/www/py-pyquery/pkg-plist
==============================================================================
--- head/www/py-pyquery/pkg-plist	Mon Sep 14 19:15:12 2015	(r396929)
+++ head/www/py-pyquery/pkg-plist	Mon Sep 14 19:15:19 2015	(r396930)
@@ -24,12 +24,14 @@
 %%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png
 %%PORTDOCS%%%%DOCSDIR%%/_static/down.png
 %%PORTDOCS%%%%DOCSDIR%%/_static/file.png
+%%PORTDOCS%%%%DOCSDIR%%/_static/jquery-1.11.1.js
 %%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js
 %%PORTDOCS%%%%DOCSDIR%%/_static/minus.png
 %%PORTDOCS%%%%DOCSDIR%%/_static/nature.css
 %%PORTDOCS%%%%DOCSDIR%%/_static/plus.png
 %%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css
 %%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js
+%%PORTDOCS%%%%DOCSDIR%%/_static/underscore-1.3.1.js
 %%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js
 %%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png
 %%PORTDOCS%%%%DOCSDIR%%/_static/up.png



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