# -*- 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 PortGroup github 1.0 set ver 20230121 github.setup tats w3m 0.5.3+git${ver} v github.tarball_from archive version 0.5.3.${ver} revision 0 categories www license MIT maintainers {makr @mohd-akram} openmaintainer 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. depends_build path:bin/pkg-config:pkgconfig \ port:gettext depends_lib port:boehmgc \ port:gettext-runtime \ port:ncurses \ path:lib/libssl.dylib:openssl \ port:zlib checksums rmd160 724e6a776c6e0aa5dd3ea8bfd92a9ec718328dc9 \ sha256 fdc7d55d3c0104db26aa9759db34f37e5eee03f44c868796e3bbfb8935c96e39 \ size 2322709 configure.args --disable-image # Fix build with GCC 4.2 configure.cflags-append -std=c99 build.args WARNINGS=-Wall post-destroot { 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 } variant imlib2 description {View inline images with imlib2} { configure.args-delete --disable-image configure.args-append --with-imagelib=imlib2 depends_lib-append port:imlib2 \ port:xorg-libX11 }