The man(7) page of urlview looks OK to me with mandoc. The diff below removes the GROFF dependence.
Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/urlview/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- Makefile 16 Jul 2014 14:35:37 -0000 1.22 +++ Makefile 9 Jan 2015 12:37:25 -0000 @@ -3,7 +3,7 @@ COMMENT= curses-based URL ripper DISTNAME= urlview-0.9 -REVISION= 5 +REVISION= 6 CATEGORIES= textproc MASTER_SITES= ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/contrib/ \ ftp://ftp.mutt.org/mutt/contrib/ \ @@ -16,7 +16,6 @@ WANTLIB= c CONFIGURE_STYLE= gnu -USE_GROFF = Yes NO_TEST= Yes # see patch-url_handler_sh I rewrote the manpage into mdoc(7) anyway (see below) and offered that upstream; no response. Jan .Dd "January 9, 2015" .Dt URLVIEW 1 .Os .Sh NAME .Nm urlview .Nd extract and launch URLs found in text .Sh SYNOPSIS .Nm urlview .Ar .Sh DESCRIPTION .Nm urlview is a screen oriented program for extracting URLs from text files and displaying a menu allowing the user to launch a command to view a specific item. .Ss Configuration .Nm attempts to read .Pa ~/.urlview upon startup. If this file doesn't exist, it will try to read .Pa /etc/urlview.conf . Two configuration commands are recognized (order does not matter): .Bl -tag -width COMMAND .It REGEXP Ar regexp .Nm uses a regular expression to extract URLs from the specified text files. \\r, \\t, \\n and \\f are all converted to their normal .Xr printf 3 meanings. The default REGEXP is: .Bd -literal -offset indent (((https?|ftp|gopher)://|(mailto|file|news):)[^' \\t<>"]+|(www|web|w3)\.[-a-z0-9.]+)[^' \\t.,;<>"\):] .Ed .It COMMAND Ar command This specifies the command used to launch the URLs found. If .Ar command contains a .Cm %s , it will be subsituted with the URL that was requested; otherwise the URL is simply appended to the COMMAND string. The default COMMAND is: .Bd -literal -offset indent url_handler.sh %s .Ed .Pp Do .Em not put single quotes around the .Cm %s argument. .Nm does this for you, and makes sure that single quotes possibly appearing in the URL are handled properly. (Note that this shouldn't happen with the default regular expression, which explicitly excludes single quotes.) .El .Sh FILES .Bl -tag -width /etc/urlview.confXX -compact .It Pa /etc/urlview.conf system-wide urlview configuration file .It Pa ~/.urlview user configuration file .El .Sh SEE ALSO .Xr printf 3 , .Xr regcomp 3 , .Xr regex 7 .Sh AUTHORS .An Michael Elkins Aq Mt m...@cs.hmc.edu .An Luis Francisco Gonzalez Aq Mt lui...@debian.org .An Werner Fink Aq Mt wer...@suse.de .An Stepan Kasal Aq Mt ka...@suse.cz .An Thomas Roessler Aq Mt roess...@does-not-exist.org