<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/fa84127402c7c39e48dee312d11d91bed1eb3f3f">https://github.com/macports/macports-ports/commit/fa84127402c7c39e48dee312d11d91bed1eb3f3f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit fa84127402c7c39e48dee312d11d91bed1eb3f3f
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Wed Jan 24 01:05:13 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> libtranscript: new port (version 0.3.3)
</span>---
devel/libtranscript/Portfile | 43 +++++++++++++++++++++++++
devel/libtranscript/files/patch-config.pkg.diff | 10 ++++++
2 files changed, 53 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libtranscript/Portfile b/devel/libtranscript/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f847227dea3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libtranscript/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,43 @@
</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 libtranscript
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.3.3
</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;'>+ ${name} is a character-set conversion library, much like the iconv set of \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ functions.
</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} The library allows great control over the conversions. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It was designed for use in programs which use Unicode internally, using \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ UTF-8, UTF-16 or UTF-32/UCS-4.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories devel textproc
</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 98012fe5cd32e96c770205f5e41408f04a003d76 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 1f8c19f257da5d6fad0ed9a7e5bd2442819e910a19907c38e115116a3955f5fa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1960626
</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;'>+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/libtranscript/files/patch-config.pkg.diff b/devel/libtranscript/files/patch-config.pkg.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a632cedff9e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libtranscript/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:01:48
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./config.pkg 2024-01-24 01:02:14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -66,6 +66,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdint.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <dirent.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdio.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;'>+ DIR *dir;
</span></pre><pre style='margin:0'>
</pre>