<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/113aac5d75f2c9d620966db58895d600e9855eea">https://github.com/macports/macports-ports/commit/113aac5d75f2c9d620966db58895d600e9855eea</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 113aac5d75f wc2: new port
</span>113aac5d75f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 113aac5d75f2c9d620966db58895d600e9855eea
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Fri Jun 21 15:24:20 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> wc2: new port
</span>---
textproc/wc2/Portfile | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/wc2/Portfile b/textproc/wc2/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..91a3b0848d3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/wc2/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 github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup robertdavidgraham wc2 4336b2869fa406d25938b9856923a8941e79f500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20221102
</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;'>+description Investigates optimizing \'wc\', the Unix word count program
</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;'>+ There have been multiple articles lately implementing the classic wc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ program in various programming languages, to \"prove\" their favorite \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ language can be \"just as fast\" as C. This project does something \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ different. Instead of a different language it uses a different algorithm. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ The new algorithm is significantly faster -- implementing in a slow \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ language like JavaScript is still faster than the original wc program \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ written in C. The algorithm is known as an \"asynchronous state-machine \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parser\". It\'s a technique for parsing that you don\'t learn in college. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It\'s more efficient, but more importantly, it\'s more scalable. That\'s \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ why your browser uses a state-machine to parse GIFs, and most web servers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use state-machiens to parse incoming HTTP requests.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories 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 unknown
</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 8bf38fa4b3f2a96f4e1c5191cbbfe2024463d523 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f7d8cc810c4a4a61ada54996b523fe4877f040d3b33dc77df57cb3687d4ae3b0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 31172
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.target ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>