<pre style='margin:0'>
tobypeterson pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9b52584b85857621015f1ad0578d07bb7874dafd">https://github.com/macports/macports-ports/commit/9b52584b85857621015f1ad0578d07bb7874dafd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9b52584b85857621015f1ad0578d07bb7874dafd
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Wed Jan 27 19:41:41 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> c-ares: Add cmake build and .cmake files
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Fixes https://trac.macports.org/ticket/62167#ticket
</span><span style='display:block; white-space:pre;color:#404040;'> * Related: https://github.com/macports/macports-ports/pull/7791
</span>---
net/c-ares/Portfile | 66 ++++++++++++++++++++++++++++++-----------------------
1 file changed, 37 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/c-ares/Portfile b/net/c-ares/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8be11cf43d8..063672ae880 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/c-ares/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/c-ares/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,29 +1,37 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name c-ares
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.17.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories net
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {toby @tobypeterson}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description asynchronous DNS library
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- c-ares is a C library that performs DNS requests and \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- name resolves asynchronously. c-ares is a fork of the \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- library named 'ares', written by Greg Hudson at MIT.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://c-ares.haxx.se/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license MIT
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}download/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 4e7f83785735951f2c22145743c238d78332f4cf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1518701
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-shared \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Avoid gtest headers (and other MacPorts headers). c-ares has no dependencies.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.cpath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cppflags
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex href=\"/download/c-ares-(\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz\"
</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 github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup c-ares c-ares 1.17.1 cares-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set version_ [join [split ${github.version} .] _]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+git.branch [join ${github.tag_prefix}]${version_}[join ${github.tag_suffix}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories net
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {toby @tobypeterson}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license MIT
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description C library for asynchronous DNS requests (including name resolves)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description This is c-ares, an asynchronous resolver \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ library. It is intended for applications which \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ need to perform DNS queries without blocking, or \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ need to perform multiple DNS queries in \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parallel. The primary examples of such \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ applications are servers which communicate with \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ multiple clients and programs with graphical user \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ interfaces.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://c-ares.haxx.se/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 4e7f83785735951f2c22145743c238d78332f4cf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1518701
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCARES_SHARED:BOOL=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.version ${version_}
</span></pre><pre style='margin:0'>
</pre>