Ticket #30174: centerim.ryandesign.novariants.diff
File centerim.ryandesign.novariants.diff, 3.2 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name centerim 7 version 4.22.9 8 revision 3 7 version 4.22.10 9 8 categories net 10 9 platforms darwin 11 10 maintainers freebsd.org:miwi … … 13 12 14 13 description Console multi-IM client. 15 14 long_description Console client for AIM/ICQ/Yahoo/MSN/IRC/LiveJournal. 16 checksums md5 c43911508205e0277529230c8316a298 \ 17 sha1 ebe9f4ee2064a2fa10f1084ce26083ccd295673e \ 18 rmd160 253007e466a211ec740f7843538e4f686ab95cad 15 16 checksums sha1 46fbac7a55f33b0d4f42568cca21ed83770650e5 \ 17 rmd160 2514c871388edb98b4a8957f965ccee3450b968f 18 19 19 homepage http://www.centerim.org/ 20 20 master_sites ${homepage}download/releases/ 21 22 depends_build port:pkgconfig 23 21 24 depends_lib port:libiconv port:gettext port:ncurses port:openssl \ 22 port:jpeg port:gpgme 25 port:jpeg port:gpgme port:curl 23 26 patchfiles patch-configure.diff 24 27 25 configure.args --disable-msn \ 26 --disable-yahoo \ 27 --with-libiconv-prefix=${prefix} \ 28 configure.args --with-libiconv-prefix=${prefix} \ 28 29 --with-libintl-prefix=${prefix} \ 29 30 --with-ssl --with-openssl=${prefix}/include \ 30 31 --with-libjpeg --with-gpgme-prefix=${prefix} \ 31 --with out-libcurl32 --with-libcurl=${prefix} 32 33 build.type gnu 33 34 34 variant msn description {Enable MSN support (requires curl+ssl)} { 35 depends_build-append port:pkgconfig 36 depends_lib-append port:curl 37 configure.args-delete --disable-msn --without-libcurl 38 configure.args-append --with-libcurl=${prefix} 39 pre-fetch { 40 set fd [open "|pkg-config --variable=supported_features libcurl"] 41 eval set features [gets $fd] 42 close $fd 43 if {[lsearch -exact $features SSL] == -1} { 44 return -code error "curl must be installed with +ssl to enable MSN support." 45 } 35 pre-configure { 36 set fd [open "|pkg-config --variable=supported_features libcurl"] 37 eval set features [gets $fd] 38 close $fd 39 if {[lsearch -exact $features SSL] == -1} { 40 ui_error "curl must be installed with the +ssl variant" 41 return -code error "incompatible curl installation" 46 42 } 47 43 } 48 variant allproto description {Enable support for all protocols (requires curl+ssl)} {49 depends_build-append port:pkgconfig50 depends_lib-append port:curl51 configure.args-delete --disable-msn --disable-yahoo --without-libcurl52 configure.args-append --with-libcurl=${prefix}53 pre-fetch {54 set fd [open "|pkg-config --variable=supported_features libcurl"]55 eval set features [gets $fd]56 close $fd57 if {[lsearch -exact $features SSL] == -1} {58 return -code error "curl must be installed with +ssl to enable MSN and Yahoo support."59 }60 }61 }62 44 63 45 livecheck.type regex 64 46 livecheck.url [lindex ${master_sites} 0]