Ticket #23934: Portfile-centerim.diff
File Portfile-centerim.diff, 2.2 KB (added by macports@…, 15 years ago) |
---|
-
Portfile
old new 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 1 2 # $Id: Portfile 61377 2009-12-09 23:32:32Z jmr@macports.org $ 2 3 3 4 PortSystem 1.0 4 5 name centerim 5 version 4.22. 76 version 4.22.9 6 7 revision 1 7 8 categories net 8 9 maintainers nomaintainer 9 10 platforms darwin 10 11 description Console multi-IM client. 11 long_description Console client for AIM/ICQ/Yahoo/ IRC/LiveJournal.12 checksums md5 2db303baa9b7680c2cccb3314bfa7ae2\13 sha1 c0b3433ed260fca23f8e10999c1cf91895489b35\14 rmd160 83c579db34fe6e7c5d539cf78102a2de6b89f47a 12 long_description Console client for AIM/ICQ/Yahoo/MSN/IRC/LiveJournal. 13 checksums md5 c43911508205e0277529230c8316a298 \ 14 sha1 ebe9f4ee2064a2fa10f1084ce26083ccd295673e \ 15 rmd160 253007e466a211ec740f7843538e4f686ab95cad 15 16 homepage http://www.centerim.org/ 16 17 master_sites ${homepage}download/releases/ 17 use_bzip2 yes18 use_bzip2 no 18 19 depends_lib port:libiconv port:gettext port:ncurses port:openssl \ 19 20 port:jpeg port:gpgme 20 patchfiles patch-configure.diff \ 21 patch-kkconsui_include_conscommon.h.diff 21 patchfiles patch-configure.diff 22 22 23 23 configure.args --disable-msn \ 24 --disable-yahoo \ 24 25 --with-libiconv-prefix=${prefix} \ 25 26 --with-libintl-prefix=${prefix} \ 26 27 --with-ssl --with-openssl=${prefix}/include \ … … 42 43 } 43 44 } 44 45 } 46 variant allproto description {Enable support for all protocols (requires curl+ssl)} { 47 depends_build-append port:pkgconfig 48 depends_lib-append port:curl 49 configure.args-delete --disable-msn --disable-yahoo --without-libcurl 50 configure.args-append --with-libcurl=${prefix} 51 pre-fetch { 52 set fd [open "|pkg-config --variable=supported_features libcurl"] 53 eval set features [gets $fd] 54 close $fd 55 if {[lsearch -exact $features SSL] == -1} { 56 return -code error "curl must be installed with +ssl to enable MSN and Yahoo support." 57 } 58 } 59 }