mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
dev-games/surgescript: add use doc
Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2019 Gentoo Authors
|
# Copyright 2019-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@@ -17,4 +17,17 @@ DESCRIPTION="scripting language made for opensurge"
|
|||||||
HOMEPAGE="https://alemart.github.io/surgescript"
|
HOMEPAGE="https://alemart.github.io/surgescript"
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
# TODO: build documentation, needs dev-python/mkdocs-material
|
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
BDEPEND="doc? (
|
||||||
|
dev-python/mkdocs
|
||||||
|
dev-python/mkdocs-material )"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default
|
||||||
|
if use doc; then
|
||||||
|
mkdocs build || die "failed to make docs"
|
||||||
|
HTML_DOCS="site"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2019 Gentoo Authors
|
# Copyright 2019-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
||||||
@@ -17,4 +17,17 @@ DESCRIPTION="scripting language made for opensurge"
|
|||||||
HOMEPAGE="https://alemart.github.io/surgescript"
|
HOMEPAGE="https://alemart.github.io/surgescript"
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
# TODO: build documentation, needs dev-python/mkdocs-material
|
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
BDEPEND="doc? (
|
||||||
|
dev-python/mkdocs
|
||||||
|
dev-python/mkdocs-material )"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default
|
||||||
|
if use doc; then
|
||||||
|
mkdocs build || die "failed to make docs"
|
||||||
|
HTML_DOCS="site"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user