<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e0a48d6cd2ca625cbfd3c64a09e6ede4f091c4bc">https://github.com/macports/macports-ports/commit/e0a48d6cd2ca625cbfd3c64a09e6ede4f091c4bc</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 e0a48d6 xmlbird: new port
</span>e0a48d6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e0a48d6cd2ca625cbfd3c64a09e6ede4f091c4bc
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Wed Feb 6 21:05:46 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> xmlbird: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> XML parser written in Vala.
</span>---
textproc/xmlbird/Portfile | 52 +++++++++++++++++++++++++++
textproc/xmlbird/files/fix-install-name.patch | 15 ++++++++
2 files changed, 67 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/xmlbird/Portfile b/textproc/xmlbird/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..d17ea43
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/xmlbird/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,52 @@
</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:filetype=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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name xmlbird
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.2.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories textproc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description XML parser written in Vala
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://birdfont.org/${name}.php
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://birdfont.org/${name}-releases/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname lib${name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 bbc05904d8612c4d3eebc4431ddcff62b982a8e8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e8b0d4984fc55865bbd60b67c8facfe1b3e7d0c8da7df665084772d230bef862 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 20560
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:vala
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles fix-install-name.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|/usr/bin/python3|${prefix}/bin/python3.7|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.py \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install.py
</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;'>+configure.args --cc=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --cflags="${configure.cflags}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --ldflags="${configure.ldflags}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.cmd ./build.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.cmd ./install.py --dest="${destroot}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url ${homepage}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "lib${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/xmlbird/files/fix-install-name.patch b/textproc/xmlbird/files/fix-install-name.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..98271bc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/xmlbird/files/fix-install-name.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- dodo.py.orig 2019-02-17 18:15:51.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ dodo.py 2019-02-17 18:31:13.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -19,8 +19,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ all_tests = tests.all_tests ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ def soname(target_binary):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if "darwin" in sys.platform or "msys" in sys.platform:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if "msys" in sys.platform:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return ''
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if "darwin" in sys.platform:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return '-Wl,-install_name,' + config.PREFIX + '/lib/' + target_binary
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return '-Wl,-soname,' + target_binary
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>