Fetching contributors…
Cannot retrieve contributors at this time
61 lines (47 sloc) 2.13 KB
# -*- 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
PortSystem 1.0
name lynx
set milestone 2.8.9
version ${milestone}rel.1
categories www
platforms darwin
license {GPL-2 OpenSSLException}
maintainers {larryv @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 \
depends_lib port:gettext \
port:libiconv \
port:libidn \
master_sites \
distname [strsed ${distname} {g/-//}]
use_bzip2 yes
checksums rmd160 0923d229a32c6fc2586798a2b80630fca34e7493 \
sha256 387f193d7792f9cfada14c60b0e5c0bff18f227d9257a39483e14fa1aaf79595
patchfiles patch-LYCharSets.c
configure.args --datadir=${prefix}/share/doc \
--enable-htmlized-cfg \
--enable-ipv6 \
--enable-local-docs \
--enable-nls install-doc install-help
if {![variant_isset gnutls]} {
default_variants +ssl
variant ssl conflicts gnutls description "Enable secure connections using OpenSSL" {
depends_lib-append path:lib/libssl.dylib:openssl
configure.args-append --with-ssl=${prefix}
variant gnutls conflicts ssl description "Enable secure connections with GnuTLS (experimental)" {
depends_lib-append port:gnutls
configure.args-append --with-gnutls=${prefix}
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex [format {href="%s(\d+(?:\.\d+)*rel\.\d+)%s"} \
${name} ${extract.suffix}]