<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/211ed6b00c047ed93ac74100b1d607143534e990">https://github.com/macports/macports-ports/commit/211ed6b00c047ed93ac74100b1d607143534e990</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 211ed6b00c047ed93ac74100b1d607143534e990
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Fri Sep 4 13:11:25 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> libgnt: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> GNT is an ncurses toolkit for creating text-mode graphical user interfaces in a fast and easy way.
</span><span style='display:block; white-space:pre;color:#404040;'> Previously part of finch, now distributed separately.
</span>---
devel/libgnt/Portfile | 41 +++++++++++++++++++++++++++++
devel/libgnt/files/ncurses-sys-prefix.patch | 11 ++++++++
2 files changed, 52 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgnt/Portfile b/devel/libgnt/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..5eaaef7c2d7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgnt/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 meson 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name libgnt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.14.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {devans @dbevans} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description GNT: The GLib Ncurses Toolkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description GNT is an ncurses toolkit for creating text-mode graphical user interfaces \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ in a fast and easy way. It is based on GNOME glib2 and ncurses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.pidgin.im/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites sourceforge:project/pidgin/libgnt/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e759253b992c31c02ce7c44ca0ef3d0b9080d80b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6b7ea2030c9755ad9756ab4b1d3396dccaef4a712eccce34d3990042bb4b3abf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 102444
</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;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtk-doc
</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:libxml2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ncurses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles ncurses-sys-prefix.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|@@MP_PREFIX@@|${prefix}|" ${worksrcpath}/meson.build
</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.url https://sourceforge.net/projects/pidgin/files/${name}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex "${name}\/(\\d+(?:\\.\\d+)*)\/"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgnt/files/ncurses-sys-prefix.patch b/devel/libgnt/files/ncurses-sys-prefix.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..202aaf2e8dd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgnt/files/ncurses-sys-prefix.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- meson.build.orig 2020-09-04 11:57:39.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson.build 2020-09-04 11:59:34.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -83,7 +83,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # FIXME: $host ?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ncurses_sys_prefix = '/usr/$host/sys-root/mingw'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ncurses_sys_prefix = '/usr'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ncurses_sys_prefix = '@@MP_PREFIX@@'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ncurses_sys_dirs = [ncurses_sys_prefix + '/include/ncursesw',
</span></pre><pre style='margin:0'>
</pre>