mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-18 15:28:58 -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:
parent
6311e8be48
commit
db5b7daa71
@ -1,4 +1,4 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@ -17,4 +17,17 @@ DESCRIPTION="scripting language made for opensurge"
|
||||
HOMEPAGE="https://alemart.github.io/surgescript"
|
||||
LICENSE="Apache-2.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
|
||||
|
||||
EAPI=7
|
||||
@ -17,4 +17,17 @@ DESCRIPTION="scripting language made for opensurge"
|
||||
HOMEPAGE="https://alemart.github.io/surgescript"
|
||||
LICENSE="Apache-2.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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user