# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           elisp 1.0
PortGroup           github 1.0

name		        emacs-w3m
# No consistent policy from origin in tagging releases can be
# discerned, so we use MELPA's versioning as published
# <https://melpa.org/#/w3m> to shadow their versioning.
github.setup        emacs-w3m  emacs-w3m 546b5082f982e2573fff425e942009cd6c7a02f5
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version		        20191030.537
epoch               20191030537

categories	        www
license             GPL-2
maintainers	        {easieste @easye} openmaintainer
description	        Use the textual w3m web browser from Emacs
long_description	\
		w3m is a pager with WWW capability, developed by	\
		Akinori ITO. Although it is a pager, it can be used	\
		as a text-mode WWW browser. emacs-w3m is a simple Emacs	\
		interface to w3m.

homepage            https://github.com/emacs-w3m/emacs-w3m

checksums           rmd160  b323ef6121b78bafc75b4cf9be014db5fae42399 \
                    sha256  5f3b770559a8e2987fa922a2dc216a688e3ceca97b27aebbafcea11ddc561e39 \
                    size    1063600

depends_lib	        port:w3m
depends_lib-append  path:${emacs_binary}:${emacs_binary_provider}
depends_build-append \
                    port:autoconf

use_autoconf        yes
configure.args	    \
    --with-emacs=${emacs_binary} 

notes "

To use emacs-w3m, put the following in your ~/.emacs:

  (require 'w3m-load)

Then you can use w3m by typing 'M-x w3m'.

"


