source: trunk/dports/net/c-ares/Portfile

Last change on this file was 116596, checked in by toby@…, 3 years ago

c-ares 1.10.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1019 bytes
Line 
1# $Id: Portfile 116596 2014-01-29 20:47:03Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name             c-ares
6version          1.10.0
7categories       net
8maintainers      toby
9description      asynchronous DNS library
10long_description \
11    c-ares is a C library that performs DNS requests and \
12    name resolves asynchronously. c-ares is a fork of the \
13    library named 'ares', written by Greg Hudson at MIT.
14homepage         http://c-ares.haxx.se/
15platforms        darwin
16license          MIT
17master_sites     ${homepage}download/
18checksums        md5 1196067641411a75d3cbebe074fd36d8 \
19                 sha1 e44e6575d5af99cb3a38461486e1ee8b49810eb5 \
20                 rmd160 aee918002d3fc1b2112c7d95aacf1c00059f4677
21configure.args   --mandir=${prefix}/share/man \
22                 --enable-shared
23
24post-configure {
25    system "ed - ${worksrcpath}/ares_build.h < ${filespath}/ares_build.h.ed"
26    system "ed - ${worksrcpath}/ares_config.h < ${filespath}/ares_config.h.ed"
27}
28
29livecheck.type   regex
30livecheck.regex  href=\"c-ares-(\[0-9\]+\\.\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz\"
Note: See TracBrowser for help on using the repository browser.