summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2022-03-21 20:15:54 +0100
committerJakov Smolić <jsmolic@gentoo.org>2022-03-21 20:25:56 +0100
commit0991a574e48c11153c5e4cf231de0bb5decabff8 (patch)
treec121ee69fea92b39e31cf2567772be59751be8f8 /app-doc
parentdev-util/watchman: drop 4.9.0 (diff)
downloadgentoo-0991a574e48c11153c5e4cf231de0bb5decabff8.tar.gz
gentoo-0991a574e48c11153c5e4cf231de0bb5decabff8.tar.bz2
gentoo-0991a574e48c11153c5e4cf231de0bb5decabff8.zip
app-doc/NaturalDocs: Port to EAPI 8
Closes: https://bugs.gentoo.org/832265 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/NaturalDocs/NaturalDocs-1.52-r2.ebuild (renamed from app-doc/NaturalDocs/NaturalDocs-1.52-r1.ebuild)17
1 files changed, 6 insertions, 11 deletions
diff --git a/app-doc/NaturalDocs/NaturalDocs-1.52-r1.ebuild b/app-doc/NaturalDocs/NaturalDocs-1.52-r2.ebuild
index 636ab0980ab3..df30ac907202 100644
--- a/app-doc/NaturalDocs/NaturalDocs-1.52-r1.ebuild
+++ b/app-doc/NaturalDocs/NaturalDocs-1.52-r2.ebuild
@@ -1,32 +1,27 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=8
inherit perl-module
DESCRIPTION="Extensible, multi-language source code documentation generator"
HOMEPAGE="http://www.naturaldocs.org/"
SRC_URI="mirror://sourceforge/naturaldocs/${P}.zip"
+S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND="dev-lang/perl"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-S="${WORKDIR}"
+BDEPEND="app-arch/unzip"
src_install() {
insinto /usr/share/${PN}
doins -r Styles Info JavaScript
insinto /etc/${PN}
- doins -r Config/*
+ doins -r Config/.
dosym ../../../etc/${PN} /usr/share/${PN}/Config
perl_set_version
@@ -43,7 +38,7 @@ src_install() {
dosym ../share/${PN}/${PN} /usr/bin/${PN}
# Documentation
- dohtml -r Help/*
+ dodoc -r Help/.
dosym ../doc/${PF}/html /usr/share/${PN}/Help
}