<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6943ec59beb731a1cb9cdd9ca938cf85c6aa36db">https://github.com/macports/macports-ports/commit/6943ec59beb731a1cb9cdd9ca938cf85c6aa36db</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6943ec59beb731a1cb9cdd9ca938cf85c6aa36db
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Wed Jan 24 01:41:26 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> libt3key: new port (version 0.2.10)
</span>---
devel/libt3key/Portfile | 51 ++++++++++++++++++++++++++++++
devel/libt3key/files/patch-config.pkg.diff | 10 ++++++
2 files changed, 61 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libt3key/Portfile b/devel/libt3key/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9a5cc721f64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libt3key/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,51 @@
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name libt3key
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.2.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://os.ghalkes.nl/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The ${name} library provides functions for retrieving the character \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sequences used by terminals to represent keys pressed by the user.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {*}${description} Although the terminfo database provides part of this \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ information, it lacks information for the sequences returned by modern \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ terminals\/terminal emulators for many combinations of modifiers with \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ other keys. For example, many terminal emulators provide separate \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ character sequences for Control combined with the cursor keys, which is \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ not stored in the terminfo database. Many programs contain their own \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ databases with this information. This library tries to be a database \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usable by many programs, such that all programs can benefit from the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ information collected.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {gmail.com:herby.gillot @herbygillot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 97f7adb074c2a8dec392c02504178e38522c5b3e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b3f63c8a5bdf4efc10a293e5124a4a1095af6149af96b0a10b3ce7da7400f8c1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 87863
</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:libtool \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:libt3config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}/dist/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-config.pkg.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBTOOL=${prefix}/bin/glibtool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-gettext
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libt3key/files/patch-config.pkg.diff b/devel/libt3key/files/patch-config.pkg.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..56bed3cfd4e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libt3key/files/patch-config.pkg.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./config.pkg.orig 2024-01-24 01:39:30
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./config.pkg 2024-01-24 01:39:50
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -144,6 +144,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <curses.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <term.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int main(int argc, char *argv[]) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int args[9], error, fd;
</span></pre><pre style='margin:0'>
</pre>