diff options
author | apb <apb@pkgsrc.org> | 2012-12-06 08:04:39 +0000 |
---|---|---|
committer | apb <apb@pkgsrc.org> | 2012-12-06 08:04:39 +0000 |
commit | da77697c7bb29aae3413d04c595b5fa7a9e00c65 (patch) | |
tree | 1a02aa51a0d731d321d4ed7042393d336d20d287 /sysutils/salt-docs/Makefile | |
parent | c594dc317b00e416bd72899ad3fd8c98ef0825a0 (diff) | |
download | pkgsrc-da77697c7bb29aae3413d04c595b5fa7a9e00c65.tar.gz |
Add salt-docs package. This is the HTML documentation for sysutils/salt.
Current version is 0.10.5.
Diffstat (limited to 'sysutils/salt-docs/Makefile')
-rw-r--r-- | sysutils/salt-docs/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/salt-docs/Makefile b/sysutils/salt-docs/Makefile new file mode 100644 index 00000000000..c84ec195e34 --- /dev/null +++ b/sysutils/salt-docs/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1 2012/12/06 08:04:39 apb Exp $ +# + +DISTNAME= salt-0.10.5 +PKGNAME= ${DISTNAME:S/-/-docs-/} +CATEGORIES= sysutils +MASTER_SITES= http://cloud.github.com/downloads/saltstack/salt/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://saltstack.org/ +COMMENT= Documentation for salt - Remote execution and configuration management system +LICENSE= apache-2.0 + +NO_CONFIGURE= yes +BUILD_DIRS= doc +BUILD_TARGET= html + +HTMLDIR= share/doc/salt +PLIST_SRC= ${WRKDIR}/.PLIST_SRC + +INSTALLATION_DIRS= ${HTMLDIR} + +do-install: + ( cd ${WRKSRC}/doc/_build/html \ + && pax -rw -pe . ${DESTDIR}${PREFIX}/${HTMLDIR} ) + ( cd ${DESTDIR}${PREFIX} \ + && ${FIND} ${HTMLDIR} -type f -print ) >>${PLIST_SRC} + +# The upstream salt project does not say what version of sphinx is reqwuired. +.include "../../lang/python/pyversion.mk" +BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx + +.include "../../mk/bsd.pkg.mk" |