# $Id: Portfile 44477 2008-12-29 07:43:53Z mcalhoun@macports.org $ PortSystem 1.0 name elinks epoch 1 version 0.11.5 categories www platforms darwin maintainers simon openmaintainer 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/ use_bzip2 yes checksums md5 7dccdb6568d7eeda68912f6541496b7e \ sha1 90768912dbb7a77e328a25b43c3e484ae3e4be2f \ rmd160 397e5e94de8cd8c5dc9a1774b7485d6edf1a7c49 depends_lib port:openssl \ port:zlib \ port:bzip2 \ port:expat configure.args --mandir=${prefix}/share/man \ --disable-nls \ --without-guile \ --without-lua \ --without-gnutls \ --with-openssl=${prefix} \ --with-zlib=${prefix} variant col256 description {Use 256 colours if supported by the terminal} { post-extract { 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 }