# -*- 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 85810 2011-10-16 08:32:04Z dports@macports.org $ PortSystem 1.0 name lynx set milestone 2.8.7 set release 1 version ${milestone}rel.${release} revision 1 categories www license GPL-2 maintainers nomaintainer description Text-based web browser long_description \ lynx is a program which allows a user to access World-Wide Web servers \ and other information servers. It uses only ascii representation so \ that it can be used from ascii-terminals and dial-in lines. 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 md5 493af4c77ef6761e3f0157cd1be033a0 \ sha1 f5e67a298322b22fe0edcfba326c02eaa5edcb72 \ rmd160 0969f85b6776c5e426cea4b910271356f9193bf1 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}"