# -*- 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$ PortSystem 1.0 name w3m version 0.5.3 revision 2 categories www license MIT maintainers nomaintainer description pager/text based browser long_description w3m is a pager/text-based WWW browser. \ It is a similar application to Lynx, but it has \ several features Lynx doesn't have, like tables, frames\ and inline image rendering. Its 8-bit support is second\ to none. platforms darwin homepage http://w3m.sourceforge.net/ master_sites sourceforge checksums md5 1b845a983a50b8dec0169ac48479eacc \ sha1 444b6c8cf7094ee95f8e9de96b37f814b9d83237 \ rmd160 6a0153bc53f7c107c700404262ce1b4d02e6dd91 depends_lib path:lib/libgc.dylib:boehmgc port:zlib port:openssl port:ncurses \ port:gettext port:libiconv patchfiles gc_init.patch gc_get_warn_proc.patch configure.args --with-gc=${prefix} \ --with-ssl=${prefix} \ --enable-keymap=w3m \ --with-termlib=ncurses \ --with-libiconv-prefix=${prefix} \ --with-libintl-prefix=${prefix} \ --disable-image \ --mandir=${prefix}/share/man post-destroot { xinstall -m 755 -d ${destroot}${prefix}/etc/w3m xinstall -m 644 -W ${filespath} mailcap-dist ${destroot}${prefix}/etc/w3m xinstall -d ${destroot}${prefix}/share/doc/w3m xinstall -m 644 -W ${worksrcpath}/doc FAQ.html HISTORY MANUAL.html README \ README.cookie README.dict README.func README.img README.m17n \ README.mouse README.passwd README.pre_form README.tab STORY.html \ keymap.default keymap.lynx menu.default menu.submenu \ ${destroot}${prefix}/share/doc/w3m } post-activate { if {![file exists ${prefix}/etc/w3m/mailcap]} { copy ${prefix}/etc/w3m/mailcap-dist ${prefix}/etc/w3m/mailcap } else { ui_msg "Be sure to add the contents of ${prefix}/etc/w3m/mailcap-dist" ui_msg "to ${prefix}/etc/w3m/mailcap if not already present, for full" ui_msg "functionality" } } variant inline_image_gtk2 description {View inline images with GTK2} { configure.args-delete --disable-image configure.args-append --enable-image=gtk2 depends_lib-append port:gtk2 } variant inline_image_imlib2 description {View inline images with imlib2} { configure.args-delete --disable-image configure.args-append --enable-image=imlib2 depends_lib-append port:imlib2 } livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"