summaryrefslogtreecommitdiff
path: root/app-doc/xmltoman
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-29 22:01:57 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-29 22:01:57 +0100
commit009897642a869d630779716efc51af1554f72867 (patch)
tree879100d35e2fd1f39b32b68b2abe220f156b3a20 /app-doc/xmltoman
parent9cd7e710ac676c1a318d09e665ca3558bb5c5323 (diff)
gentoo auto-resync : 29:10:2022 - 22:01:57
Diffstat (limited to 'app-doc/xmltoman')
-rw-r--r--app-doc/xmltoman/Manifest5
-rw-r--r--app-doc/xmltoman/files/xmltoman-0.6-generate-man-pages.patch55
-rw-r--r--app-doc/xmltoman/metadata.xml1
-rw-r--r--app-doc/xmltoman/xmltoman-0.6.ebuild33
4 files changed, 93 insertions, 1 deletions
diff --git a/app-doc/xmltoman/Manifest b/app-doc/xmltoman/Manifest
index ade2a135762f..5387bb7be684 100644
--- a/app-doc/xmltoman/Manifest
+++ b/app-doc/xmltoman/Manifest
@@ -1,3 +1,6 @@
+AUX xmltoman-0.6-generate-man-pages.patch 2083 BLAKE2B 3f4136a06607d0c1b0d07acc5d82b977b1e3d1097d08bb29d8a626e1d5d86493892e58001fdd2946c5de96e62702bef5fc4f982507e89d5ac4069933d8638196 SHA512 879c11f14b33a3b134817c62a6f6e6470213e7aa7663b1676444746ab177b5b750114b5023dfa563fd85997ca0c7f7f2683264d0d1f985f363365529941a2ed7
DIST xmltoman-0.4.tar.gz 15250 BLAKE2B d8641a19742d845fdab0e11703a60c16656c63529a4d86931a8038cbdb87e0fbf241b7ff38ed05ddab62daab608407bd5d7778c060fe3cbef1750976fa588dee SHA512 347722731e2101ecd0619f88f4efdbca534810c96977a1281af685e8a61f4c1a826a71a9f0e3af43cc899936640787366a78077f36d23a9efcfeb789dbcfae22
+DIST xmltoman-0.6.tar.gz 15862 BLAKE2B f33ebfb1dfdd0f055f18e68f923e96c07495740e361cec2ba7a10a63889b6b6c4c851f3df6b74947b24811403d2745dbdc7e5d2d67d3566ec65b7be6fae616c8 SHA512 f2b0689ca37212253eaa127c3a2c299facac7c3909991b8872da0adf0fbb34aa02c32144c485135c06c17b1ac5e5753d627969e97ae4938e6dcee9ddbd79582d
EBUILD xmltoman-0.4-r2.ebuild 739 BLAKE2B 387cf48885ba847e614eceec70cc92d4db957199a25e63ce4ef5f6b38ea015623e9060697f64044127526174377db69abb18a1af13f90814ac16c457506ae25c SHA512 9ef6e984f597544559b07fed1a7142bf190c3210b9efc8ce81326f836fc1e1db8e549986830dd477f0604bb6f5e5280481ce462df3e96d448aa3724507ebc2e1
-MISC metadata.xml 246 BLAKE2B 3279ce7a8126c02eb17f7ff8402fbeaf20f919c9953ff16d0b572ac0e802a701a699e98d293bf34a0542ff17a8c39034fba5878207c5d34035eeea845cc3ebdb SHA512 be48ff15d61e6dda9219ef65943e9b462c71b60ec0cefb8012db9abfab1e6d835209a085f92172679b66f4f40493728dec68d2d546134f576b2c33f84814b9c1
+EBUILD xmltoman-0.6.ebuild 825 BLAKE2B f19207ce37a8c580ca659ab1fddd86c34d161bc2120cf4f2247d28cb8a2fc477be6dc0209f69528b2d3d9c7cabe9c6f80bcc48e31e3977dfc619038c2001248e SHA512 1ca8dcab49ff248533fc7f3e4620b965d1e1072d77be5593aac8baf04950827f05646eff8f682fdd29079fedcbb72f965eb8f7443ab656f55111f49c61be8b97
+MISC metadata.xml 299 BLAKE2B 5bb9887ce9510e2a71a5b30e8b2ada78236ec6f2489bf27d6536b47fcdcaae262b7ada77d3f0f8b00f7a2223e7344a4f130f4636a1c61d64bebb923c916c2d6e SHA512 6fef6c50b720fd2aec25ede9b037c5973de9f4e41383c2836f27f42e68b73c32dcac0d31e1a9ec209d5d685e50ccd8c8347ec0822530be23624bd98d2b9f3095
diff --git a/app-doc/xmltoman/files/xmltoman-0.6-generate-man-pages.patch b/app-doc/xmltoman/files/xmltoman-0.6-generate-man-pages.patch
new file mode 100644
index 000000000000..a902ddd07b84
--- /dev/null
+++ b/app-doc/xmltoman/files/xmltoman-0.6-generate-man-pages.patch
@@ -0,0 +1,55 @@
+From 39553c816cb8a18d798a6f947d2901f7a3228439 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sat, 29 Oct 2022 18:02:25 +0100
+Subject: [PATCH] Generate man pages
+
+Generate the man pages so that the tool doesn't have to run itself
+during installation. It's a hack to workaround Perl upgrade problems.
+--- /dev/null
++++ b/xmlmantohtml.1
+@@ -0,0 +1,18 @@
++.TH xmlmantohtml 1 User Manuals
++.SH NAME
++xmlmantohtml \- xml to html converter
++.SH SYNOPSIS
++\fBxmlmantohtml \fIfile.1.xml\fB > file.1.html
++\f1
++.SH DESCRIPTION
++xmlmantohtml is a small script to convert XML/MAN(GROFF) to HTML.
++
++You will find the DTD in \fI/usr/share/xmltoman/\f1 on a Debian GNU/Linux system. There is also an XSL file to generate HTML using \fBxsltproc(1)\f1.
++.SH AUTHOR
++xmltoman was written by Oliver Kurth <oku@masqmail.cx>
++.SH MAINTAINER
++xmltoman is currently maintained by Adam Bilbrough
++.SH SEE ALSO
++\fBxmlmantohtml(1)\f1
++.SH COMMENTS
++This man page was written using \fBxmltoman(1)\f1 by the same author and / or maintainer.
+--- /dev/null
++++ b/xmltoman.1
+@@ -0,0 +1,24 @@
++.TH xmltoman 1 User Manuals
++.SH NAME
++xmltoman \- xml to man converter
++.SH SYNOPSIS
++\fBxmltoman \fIfile.1.xml\fB > file.1
++\f1
++.SH DESCRIPTION
++xmltoman is a small script to convert XML to a MAN page in GROFF format. It features the usual man page items such a description, options, see also etc. The XML format also supports converting to HTML pages.
++
++You will find the DTD in \fI/usr/share/xmltoman/\f1 on a Debian GNU/Linux system. There is also an XSL file to generate html using \fBxsltproc(1)\f1.
++.SH FILES
++\fI/usr/share/xmltoman/xmltoman.dtd\f1 the DTD file.
++
++\fI/usr/share/xmltoman/xmltoman.xsl\f1 XSLT stylesheet to generate HTML.
++
++\fI/usr/share/xmltoman/xmltoman.css\f1 stylesheet to be used for HTML.
++.SH AUTHOR
++xmltoman was written by Oliver Kurth <oku@masqmail.cx>
++.SH MAINTAINER
++xmltoman is currently maintained by Adam Bilbrough
++.SH SEE ALSO
++\fBxmlmantohtml(1)\f1
++.SH COMMENTS
++This man page was written using \fBxmltoman(1)\f1 by the same author and / or maintainer.
diff --git a/app-doc/xmltoman/metadata.xml b/app-doc/xmltoman/metadata.xml
index 379211a297a0..cdc9d054966e 100644
--- a/app-doc/xmltoman/metadata.xml
+++ b/app-doc/xmltoman/metadata.xml
@@ -4,5 +4,6 @@
<!-- maintainer-needed -->
<upstream>
<remote-id type="sourceforge">xmltoman</remote-id>
+ <remote-id type="github">atsb/xmltoman</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-doc/xmltoman/xmltoman-0.6.ebuild b/app-doc/xmltoman/xmltoman-0.6.ebuild
new file mode 100644
index 000000000000..5faec34d22f1
--- /dev/null
+++ b/app-doc/xmltoman/xmltoman-0.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Simple scripts for converting xml to groff or html"
+HOMEPAGE="https://sourceforge.net/projects/xmltoman/"
+SRC_URI="https://github.com/atsb/xmltoman/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-lang/perl
+ dev-perl/XML-Parser
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-generate-man-pages.patch
+)
+
+src_install() {
+ # 'make install' requires GNU install, upstream is dead and carrying
+ # a patch is more space than redoing it here
+ dobin xmltoman xmlmantohtml
+
+ insinto /usr/share/xmltoman
+ doins xmltoman.{css,dtd,xsl}
+
+ dodoc README
+ doman xmltoman.1 xmlmantohtml.1
+}