description text mode web browser
long_description ELinks is an advanced and well-established feature-rich \
text mode web (HTTP/FTP/..) browser. ELinks can render \
both frames and tables, is highly customizable and can \
be extended via Lua or Guile scripts.
homepage http://elinks.or.cz/
master_sites ${homepage}download/
checksums md5 fcd087a6d2415cd4c6fd1db53dceb646 \
sha1 d13edc1477d0ab32cafe7d3c1f3a23ae1c0a5c54 \
rmd160 2e6e863d08f9accb71892ba6f236f795c83cba9c
depends_lib path:lib/libssl.dylib:openssl \
configure.args --mandir=${prefix}/share/man \
--with-openssl=${prefix} \
--with-spidermonkey=${prefix} \
# zlib support is broken in 0.11, ticket #24143
variant col256 description {Use 256 colours if supported by the terminal} {
reinplace "s|CONFIG_256_COLORS=no|CONFIG_256_COLORS=yes|" \
${worksrcpath}/features.conf
variant lua description {Build with Lua support} {
depends_lib-append port:lua50
configure.args-delete --without-lua
configure.args-append --with-lua
variant perl description {Build with Perl support} {
depends_lib-append path:bin/perl:perl5
patchfiles-append patch-perl.diff
configure.args-append --with-perl