Commits
Ryan Schmidt authored d5043e3fd26
1 1 | # -*- 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 |
2 2 | |
3 3 | PortSystem 1.0 |
4 + | PortGroup active_variants 1.1 |
4 5 | |
5 6 | name centerim |
6 7 | version 4.22.10 |
7 8 | revision 3 |
8 9 | categories net |
9 10 | platforms darwin |
10 11 | maintainers nomaintainer |
11 12 | license GPL-2+ |
12 13 | |
13 14 | description Console multi-IM client. |
17 18 | rmd160 2514c871388edb98b4a8957f965ccee3450b968f |
18 19 | |
19 20 | homepage https://www.centerim.org/ |
20 21 | master_sites ${homepage}download/releases/ |
21 22 | |
22 23 | depends_build port:pkgconfig |
23 24 | |
24 25 | depends_lib port:libiconv port:gettext port:ncurses path:lib/libssl.dylib:openssl \ |
25 26 | port:jpeg port:gpgme port:curl |
26 27 | |
28 + | require_active_variants curl {ssl} |
29 + | |
27 30 | patchfiles patch-configure.diff patch-libjabber_jconn.c.diff |
28 31 | |
29 32 | configure.args --with-libiconv-prefix=${prefix} \ |
30 33 | --with-libintl-prefix=${prefix} \ |
31 34 | --with-ssl --with-openssl=${prefix}/include \ |
32 35 | --with-libjpeg --with-gpgme-prefix=${prefix} \ |
33 36 | --with-libcurl=${prefix} |
34 37 | build.type gnu |
35 38 | |
36 - | pre-configure { |
37 - | set fd [open "|pkg-config --variable=supported_features libcurl"] |
38 - | set features {*}[gets $fd] |
39 - | close $fd |
40 - | if {[lsearch -exact $features SSL] == -1} { |
41 - | return -code error "curl must be installed with the +ssl variant" |
42 - | return -code error "incompatible curl installation" |
43 - | } |
44 - | } |
45 - | |
46 39 | livecheck.type regex |
47 40 | livecheck.url [lindex ${master_sites} 0] |
48 41 | livecheck.regex ${name}-(\[0-9.\]+)\\.tar |