From 4fc30e4e13ecfbe29fbef3b5caf96218eab30b68 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 12 Jan 2024 19:10:40 +0000 Subject: gentoo auto-resync : 12:01:2024 - 19:10:40 --- app-text/NaturalDocs/Manifest | 3 ++ app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild | 51 +++++++++++++++++++++++++ app-text/NaturalDocs/metadata.xml | 19 +++++++++ 3 files changed, 73 insertions(+) create mode 100644 app-text/NaturalDocs/Manifest create mode 100644 app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild create mode 100644 app-text/NaturalDocs/metadata.xml (limited to 'app-text/NaturalDocs') diff --git a/app-text/NaturalDocs/Manifest b/app-text/NaturalDocs/Manifest new file mode 100644 index 000000000000..2ac20ca9c7ce --- /dev/null +++ b/app-text/NaturalDocs/Manifest @@ -0,0 +1,3 @@ +DIST NaturalDocs-1.52.zip 460793 BLAKE2B d4ecd8bb8dd3fa92a8d9366077c65ddd70e9c4944519cb453e0752e2df0ed22d7fe23aa1edb1e63ffea16b0d0f56794d50a6a0520b2b91f0193a83326ac34c5b SHA512 45d79dd2bf55a8cb7356eb5321a8c99cbab9d69a4d9a97033737090df2bfd86ee7a058a03016646c7fd6f20daf6523b2d77cd2248a7503a6c5c22684f08431c1 +EBUILD NaturalDocs-1.52-r2.ebuild 1217 BLAKE2B 46e1b3009ec3879fcdaa4d6a73aa3b50e5a70c9fa84a9fb1be1d7f25f2d61ceaec8fc62d4c838b70cb41c24df3dc513811f7a3fc83c833212e78e399aa93b3d7 SHA512 c1e687b4a84372ef5ebac17324c6c9f4f26242e2754ca7985b9fde1faf1ead5fd4f5d9c1e81d739164fd5c2c9aa654eadf51e1ee55eb37ae8e4659cf605a901b +MISC metadata.xml 750 BLAKE2B ac18ca6a34b91431c46771911c80dd37945febcd8c356b317f95153ec605fb2ae5a46cde4326ad94b89c7c146cb7654b7d2fc8793ea8f6b5b650f2fccd3d86b4 SHA512 270e00374ac5315783991a4e24ba0e8786b42fc430d4c402636e991c6e72ca212a7b16818b16fdfbfe3a2b95445a6206c68dfd679bcd54e6f4764df0d35e7f9a diff --git a/app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild b/app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild new file mode 100644 index 000000000000..3c51d42cd125 --- /dev/null +++ b/app-text/NaturalDocs/NaturalDocs-1.52-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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 ~riscv sparc x86" + +BDEPEND="app-arch/unzip" + +src_install() { + insinto /usr/share/${PN} + doins -r Styles Info JavaScript + + insinto /etc/${PN} + doins -r Config/. + dosym ../../../etc/${PN} /usr/share/${PN}/Config + + perl_set_version + insinto ${VENDOR_LIB} + doins -r Modules/NaturalDocs + dodir /usr/share/${PN}/Modules + dosym ../../../..${VENDOR_LIB}/NaturalDocs /usr/share/${PN}/Modules/NaturalDocs + + exeinto /usr/share/${PN} + doexe ${PN} + + # Symlink the Perl script into /usr/bin + dodir /usr/bin + dosym ../share/${PN}/${PN} /usr/bin/${PN} + + # Documentation + dodoc -r Help/. + dosym ../doc/${PF}/html /usr/share/${PN}/Help +} + +pkg_preinst() { + if [[ -e /usr/share/${PN}/Config && ! -L /usr/share/${PN}/Config ]] ; then + mkdir -p /etc/${PN} + mv /usr/share/${PN}/Config/* /etc/${PN}/ + rm -rf /usr/share/${PN}/Config + fi +} diff --git a/app-text/NaturalDocs/metadata.xml b/app-text/NaturalDocs/metadata.xml new file mode 100644 index 000000000000..54582d69c8da --- /dev/null +++ b/app-text/NaturalDocs/metadata.xml @@ -0,0 +1,19 @@ + + + + + Natural Docs is an open-source, extensible, multi-language + documentation generator. It extracts specially formatted comments + from source code and builds HTML documentation from it. The syntax + is transparent so that the comments in the source code read just as + easily as the generated documentation. It also focuses on automation + and high-quality generated output. + + + titanofold@gentoo.org + Aaron W. Swenson + + + naturaldocs + + -- cgit v1.2.3