source: trunk/dports/net/echoping/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem              1.0
4
5name                    echoping
6version                 6.0.2
7revision                2
8categories              net
9license                 {GPL-2 OpenSSLException}
10maintainers             nomaintainer
11description             small program to test approximate network performance
12long_description        echoping is a small program to test (approximatively) \
13                                        performances of a remote host by sending it TCP \
14                                        "echo" (or other protocol, like HTTP) packets.
15homepage                http://echoping.sourceforge.net/
16master_sites    sourceforge
17
18checksums               md5     991478532b56ab3b6f46ea9fa332626f \
19                                sha1    8b414d1dbc5a0f21a7f2cccb0138aec13117a1a4 \
20                                rmd160  73ee80f4b666fde3a0e02589388e485c487005fc
21
22platforms               darwin
23
24depends_build   port:pkgconfig
25
26depends_lib             port:libidn \
27                                port:openldap \
28                                port:popt
29
30patchfiles              patch-configure.diff \
31                                patch-plugins-dns-dns.c.diff
32
33configure.args  --enable-http \
34                                --enable-icp \
35                                --enable-smtp \
36                                --disable-tcp-info \
37                                --enable-tos \
38                                --disable-priority \
39                                --with-libidn \
40                                --without-gnutls \
41                                --without-ssl
42
43variant gnutls conflicts ssl description {Add SSL/TLS crypt support with GNU TLS} {
44        depends_lib-append              port:gnutls
45        configure.args-delete   --without-gnutls
46        configure.args-append   --with-gnutls
47}
48
49variant ssl conflicts gnutls description {Add SSL crypt support with OpenSSL} {
50        depends_lib-append              path:lib/libssl.dylib:openssl
51        configure.args-delete   --without-ssl
52        configure.args-append   --with-ssl
53}
54
55if {![variant_isset gnutls]} {
56        default_variants +ssl
57}
Note: See TracBrowser for help on using the repository browser.