# -*- 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 # $Id: Portfile 104704 2013-04-01 03:14:41Z jeremyhu@macports.org $ PortSystem 1.0 name lynx set milestone 2.8.7 set release 2 version ${milestone}rel.${release} revision 1 categories www license GPL-2 maintainers larryv description The text web browser long_description Lynx is a fully-featured World Wide Web browser for \ users on Unix, VMS, and other platforms running \ cursor-addressable, character-cell terminals or \ emulators. homepage http://lynx.isc.org/ depends_lib port:ncurses use_bzip2 yes distname [strsed ${distname} {g/-//}] worksrcdir ${name}[strsed ${milestone} {g/\./-/}] master_sites http://lynx.isc.org/current/ \ ftp://lynx.isc.org/current/ checksums rmd160 553e232aebaa09f88a6a190a1dfe7debb89f0a41 \ sha256 301bda96ad3cd5032805e8d5315a42061a11e472e3d3a7baee3a2879517ef627 configure.args --mandir=${prefix}/share/man \ --enable-ipv6 patchfiles patch-LYCharSets.c platforms darwin if {![variant_isset gnutls]} { default_variants +ssl } variant ssl conflicts gnutls description "Support for secure connections via OpenSSL" { configure.args-append --with-ssl=${prefix} depends_lib-append port:openssl } variant gnutls conflicts ssl description "Experimental support for secure connections via GnuTLS" { configure.args-append --with-gnutls=${prefix} depends_lib-append port:gnutls } livecheck.type regex livecheck.url http://lynx.isc.org/current/ livecheck.regex "${name}(\\d+(?:\\.\\d+)*rel\\.\[0-9a-z\]*)${extract.suffix}"