summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-10-21 22:15:10 +0000
committeradam <adam@pkgsrc.org>2019-10-21 22:15:10 +0000
commitabb47de3b81319b7060f978199c503941da2febb (patch)
tree01091111cbf0f80968cd2b2374b95e3aff0b2267 /sysutils
parent941bd7c2f3f534b828ba626aeaaa41721aa5ef38 (diff)
downloadpkgsrc-abb47de3b81319b7060f978199c503941da2febb.tar.gz
Fix sphinx-build binary name
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/salt-docs/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/sysutils/salt-docs/Makefile b/sysutils/salt-docs/Makefile
index a6f45ca632c..d561ff0c98e 100644
--- a/sysutils/salt-docs/Makefile
+++ b/sysutils/salt-docs/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2019/04/25 07:33:21 maya Exp $
+# $NetBSD: Makefile,v 1.23 2019/10/21 22:15:10 adam Exp $
-DISTNAME= salt-2019.2.0
+DISTNAME= salt-2019.2.1
PKGNAME= ${DISTNAME:S/-/-docs-/}
-PKGREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/salt/}
@@ -13,19 +12,21 @@ LICENSE= apache-2.0
USE_TOOLS+= gmake pax
-BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.2.3nb1*:../../textproc/py-sphinx
+BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.2.3nb1*:../../textproc/py-sphinx1
NO_CONFIGURE= yes
BUILD_DIRS= doc
BUILD_TARGET= html
-MAKE_FLAGS+= SPHINXBUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX}
+MAKE_FLAGS+= SPHINXBUILD=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX}
HTMLDIR= share/doc/salt
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
INSTALLATION_DIRS= ${HTMLDIR}
+PYTHON_VERSIONS_ACCEPTED= 27
+
do-install:
cd ${WRKSRC}/doc/_build/html && pax -rw -pp . ${DESTDIR}${PREFIX}/${HTMLDIR}
cd ${DESTDIR}${PREFIX} && ${FIND} ${HTMLDIR} -type f -print >>${PLIST_SRC}