# -*- 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 153153 2016-09-26 02:39:46Z ryandesign@macports.org $ PortSystem 1.0 name links version 2.13 description Lynx-like WWW browser that supports tables, menus, etc long_description \ Lynx-like WWW browser with text and graphics modes with many \ features like displaying tables, menus, etc. platforms darwin freebsd sunos categories www license GPL-2+ homepage http://links.twibright.com/ master_sites http://links.twibright.com/download/ checksums rmd160 f1f29ed90b2c7e397ab53fbd589ece5f2462456b \ sha256 c252095334a3b199fa791c6f9a9affe2839a7fbd536685ab07851cb7efaa4405 maintainers nomaintainer use_bzip2 yes depends_build port:pkgconfig depends_lib path:lib/libssl.dylib:openssl \ port:bzip2 \ port:zlib \ port:xz configure.args --disable-graphics \ --enable-javascript \ --mandir=${prefix}/share/man \ --with-ssl \ --without-libjpeg \ --without-libpng \ --without-librsvg \ --without-libtiff \ --without-openmp \ --without-x post-patch { reinplace s|/etc/|${prefix}/etc/| ${workpath}/${worksrcdir}/default.c } variant svg requires x11 description {Enable SVG support} { depends_lib-append port:librsvg configure.args-replace --without-librsvg --with-librsvg } variant tiff requires x11 description {Enable TIFF support} { depends_lib-append port:tiff configure.args-replace --without-libtiff --with-libtiff } variant x11 { depends_lib-append port:jpeg port:libpng port:xorg-libXt configure.args-replace --disable-graphics --enable-graphics configure.args-replace --without-libjpeg --with-libjpeg configure.args-replace --without-libpng --with-libpng configure.args-replace --without-x --with-x } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex {links-([0-9.]+)\.tar\.bz2}