<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/ad289a213d36810e029cf20a821f666a9a3bba7a">https://github.com/macports/macports-ports/commit/ad289a213d36810e029cf20a821f666a9a3bba7a</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 ad289a213d3 quickjs: new port in devel
</span>ad289a213d3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ad289a213d36810e029cf20a821f666a9a3bba7a
</span>Author: Brad Town <brad@bradtown.com>
AuthorDate: Sat May 6 15:01:47 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> quickjs: new port in devel
</span>---
devel/quickjs/Portfile | 51 ++++++++++++++++++++++++++++++++++++++++++
devel/quickjs/files/quickjs.pc | 10 +++++++++
2 files changed, 61 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/quickjs/Portfile b/devel/quickjs/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d68d0c44b6e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/quickjs/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;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name quickjs
</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;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A small and embeddable Javascript engine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${name} is a small and embeddable Javascript engine. It \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supports the ES2020 specification including modules, asynchronous \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ generators, proxies and BigInt.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://bellard.org/quickjs/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-devel {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${subport} eq ${name}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts ${name}-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup bellard ${name} b5e62895c619d4ffc75c9d822c8d85f1ece77e5b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 20210327
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 9a6bbc8c7900a77d181120cb498fa7cb51a41b94 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 758df41d9864202c189040e7c5378f34a4c1c65bca3b1d0a54cbcf7650c35bb3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 597758
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # quickjs-devel
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup bellard ${name} 2788d71e823b522b178db3b3660ce93689534e6d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 20220306
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 548cedf046daaeaeb84cabfc11f5044757714412 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 06f001604ae8df9bdc7377d088320e698a014ec3434283f49e2c84f609233102 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 598937
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # `VERSION` is only updated for "real" releases.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|2021.03.27|${version}|" ${worksrcpath}/VERSION
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.destdir prefix=${destroot}${prefix}
</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;'>+ file mkdir ${destroot}${prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${filespath}/${name}.pc ${destroot}${prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@PREFIX@@|${prefix}|" ${destroot}${prefix}/lib/pkgconfig/${name}.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@VERSION@@|${version}|" ${destroot}${prefix}/lib/pkgconfig/${name}.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/quickjs/files/quickjs.pc b/devel/quickjs/files/quickjs.pc
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8e3c6b8bf35
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/quickjs/files/quickjs.pc
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+prefix=@@PREFIX@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+exec_prefix=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+libdir=${exec_prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+includedir=${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Name: QuickJS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Description: A small and embeddable Javascript engine
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Version: @@VERSION@@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Cflags: -I${includedir}/quickjs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Libs: -L${libdir}/quickjs -lquickjs
</span></pre><pre style='margin:0'>
</pre>