<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b974a230b13123d3c81db0ede9b871a892aea1c9">https://github.com/macports/macports-ports/commit/b974a230b13123d3c81db0ede9b871a892aea1c9</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new b974a230b13 xmltoman: submission
</span>b974a230b13 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b974a230b13123d3c81db0ede9b871a892aea1c9
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Fri Sep 18 21:53:20 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> xmltoman: submission
</span>---
textproc/xmltoman/Portfile | 41 +++++++++++++++++++++++++++++
textproc/xmltoman/files/patch-Makefile.diff | 19 +++++++++++++
2 files changed, 60 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/xmltoman/Portfile b/textproc/xmltoman/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a869609f09a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/xmltoman/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,41 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name xmltoman
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories textproc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@i0ntempest me.com:szf1234} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Small scripts to convert xml to man pages in groff format or html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description xmltoman and xmlmantohtml are two small scripts to convert xml to man pages in groff\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ format or html. It features the usual man page items such a \"description\", \"options\",\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \"see also\" etc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://sourceforge.net/projects/xmltoman/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites sourceforge:xmltoman
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ce61c5184d5ba0a9db63bff2d4635eb644825383 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 948794a316aaecd13add60e17e476beae86644d066cb60171fc6b779f2df14b0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 15250
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:coreutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:perl5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.override-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/xmltoman ${worksrcpath}/xmlmantohtml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/share|${prefix}/share|g" ${worksrcpath}/xml/xmltoman.1.xml ${worksrcpath}/xml/xmlmantohtml.1.xml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 640 ${worksrcpath}/xmltoman.1 ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 640 ${worksrcpath}/xmlmantohtml.1 ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex xmltoman-(\[0-9\\.\]+)\\.tar.gz
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/xmltoman/files/patch-Makefile.diff b/textproc/xmltoman/files/patch-Makefile.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..249756f4cda
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/xmltoman/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.old 2008-03-22 18:38:37.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2020-09-18 20:40:39.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -13,11 +13,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ./xmltoman $< > $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -D xmltoman $(DESTDIR)/$(PREFIX)/bin/xmltoman
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -D xmlmantohtml $(DESTDIR)/$(PREFIX)/bin/xmlmantohtml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -D -m 0644 xmltoman.dtd $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.dtd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -D -m 0644 xmltoman.css $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.css
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- install -D -m 0644 xmltoman.xsl $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.xsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @PREFIX@/libexec/gnubin/install -D xmltoman $(DESTDIR)/$(PREFIX)/bin/xmltoman
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @PREFIX@/libexec/gnubin/install -D xmlmantohtml $(DESTDIR)/$(PREFIX)/bin/xmlmantohtml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @PREFIX@/libexec/gnubin/install -D -m 0644 xmltoman.dtd $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.dtd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @PREFIX@/libexec/gnubin/install -D -m 0644 xmltoman.css $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.css
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ @PREFIX@/libexec/gnubin/install -D -m 0644 xmltoman.xsl $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.xsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dist:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [ -d $(DISTNAME) ] && rm -rf $(DISTNAME) || true
</span></pre><pre style='margin:0'>
</pre>