Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2019 19:45:01 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505784 - head/mail/nmh
Message-ID:  <201907031945.x63Jj1eX074265@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Wed Jul  3 19:45:00 2019
New Revision: 505784
URL: https://svnweb.freebsd.org/changeset/ports/505784

Log:
  Add text-based browser dependency options. Text-based browsers are used
  to render HTML. The dependencies are build and run dependencies, build
  dependencies because nmh auto-configures itself at build time for text
  based browsers it finds. The nmh upstream developer,
  Ken Hornstein <kenh@cmf.nrl.navy.mil>, prefers w3m but any text-based
  browser will do. The browser option is not default in order to satisfy
  minimalist install rerequirements.
  
  Reported by:	Ken Hornstein <kenh@cmf.nrl.navy.mil> (upstream)
  MFH:		2019Q3

Modified:
  head/mail/nmh/Makefile   (contents, props changed)

Modified: head/mail/nmh/Makefile
==============================================================================
--- head/mail/nmh/Makefile	Wed Jul  3 19:39:59 2019	(r505783)
+++ head/mail/nmh/Makefile	Wed Jul  3 19:45:00 2019	(r505784)
@@ -21,9 +21,11 @@ CONFIGURE_ARGS=	--libdir=${PREFIX}/libexec/nmh \
 LIB_DEPENDS=	libcurl.so:ftp/curl
 
 OPTIONS_DEFINE=	DOCS HASH_BKP SASL2 TLS REPLYFILTER
+OPTIONS_RADIO=	MIME_HTML
 OPTIONS_SINGLE=	MTS LOCKING
 OPTIONS_SINGLE_MTS=	SMTP SENDMAIL_SMTP SENDMAIL_PIPE
 OPTIONS_SINGLE_LOCKING=	DOT FCNTL FLOCK LOCKF
+OPTIONS_RADIO_MIME_HTML=	LINKS ELINKS LYNX W3M
 
 SASL2_DESC=	SASL2 support
 SASL2_CONFIGURE_WITH=	cyrus-sasl
@@ -55,6 +57,25 @@ FLOCK_DESC=	flock() file locking
 FLOCK_CONFIGURE_ON=	--with-locking=flock
 LOCKF_DESC=	lockf file locking
 LOCKF_CONFIGURE_ON=	--with-locking=lockf
+
+# The reason for BUILD_DEPENDS is nmh detects and configures itself for
+# whichever text-based browser is installed.
+
+ELINKS_DESC=	Install dependencies for www/elinks
+ELINKS_BUILD_DEPENDS=	links>=0:www/elinks
+ELINKS_RUN_DEPENDS=	links>=0:www/elinks
+
+LINKS_DESC=	Install dependencies for www/links
+LINKS_BUILD_DEPENDS=	links>=0:www/links
+LINKS_RUN_DEPENDS=	links>=0:www/links
+
+LYNX_DESC=	Install dependencies for www/lynx
+LYNX_BUILD_DEPENDS=	lynx>=0:www/lynx
+LYNX_RUN_DEPENDS=	lynx>=0:www/lynx
+
+W3M_DESC=	Install dependencies for www/w3m
+W3M_BUILD_DEPENDS=	w3m>=0:www/w3m
+W3M_RUN_DEPENDS=	w3m>=0:www/w3m
 
 OPTIONS_DEFAULT=	SMTP FLOCK
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907031945.x63Jj1eX074265>