<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e992a980976b53e0dd8783748a8daa06825627e4">https://github.com/macports/macports-ports/commit/e992a980976b53e0dd8783748a8daa06825627e4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e992a980976b53e0dd8783748a8daa06825627e4
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Wed Jul 24 11:14:46 2019 -0700

<span style='display:block; white-space:pre;color:#404040;'>    socketxx: new port
</span>---
 devel/socketxx/Portfile                 | 40 +++++++++++++++++++++++++++++++++
 devel/socketxx/files/patch-include.diff |  8 +++++++
 2 files changed, 48 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/socketxx/Portfile b/devel/socketxx/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..f1a2570
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/socketxx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,40 @@
</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               cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup               cxx11 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name                    socketxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# There seems to be little upstream work on socketxx (a.k.a. socket++).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Use the version supplied by GDCM instead.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set gdcm_version        3.0.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see ${worksrcpath}/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version                 1.12.12
</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;'>+license                 BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers             {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms               darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description             a family of C++ classes that gives the same interface as the iostream classes for input and output for communication between processes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description        Socket++ is ${description}.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage                https://github.com/malaterre/socketxx-1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites            sourceforge:gdcm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname                gdcm-${gdcm_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir             gdcm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums               rmd160  0dd7e5458ee9747a8e310b8df44cbf974611a8be \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        sha256  4bd0caa18632d3af5cb672cf9b7051cd9ef5ba42eca3d31412d3c8a3166a0a27 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    3857842
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir              gdcm-${gdcm_version}/Utilities/socketxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append       patch-include.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append   -DBUILD_SHARED_LIBS=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        -DSOCKETXX_INSTALL_INCLUDE_DIR=include/socket++
</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;'>+    xinstall -m 0644 ${extract.dir}/build/socket++/config.h ${destroot}${prefix}/include/socket++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    copy ${destroot}${prefix}/lib/libsocketxx.dylib ${destroot}${prefix}/lib/libsocket++.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/socketxx/files/patch-include.diff b/devel/socketxx/files/patch-include.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..85afc67
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/socketxx/files/patch-include.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- socket++/config.h.in.orig      2019-07-22 07:36:02.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ socket++/config.h.in   2019-07-24 05:20:34.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -132,4 +132,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Define as `fork' if `vfork' does not work. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #cmakedefine vfork
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <local.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <socket++/local.h>
</span></pre><pre style='margin:0'>

</pre>