this is a quick port of the mdoc tools by Kristaps DÅ¾onsons, see  for some
discussion about it.
@ Kristaps: I had to add <sys/types.h> includes for u_char and <time.h> for
time_t. Perhaps you can import these changes into the official tree?
Also, CPPFLAGS is somehow not passed to the .c -> .o rule, so I had to add
it manually in the Makefile. I also took the liberty and strip binaries on
install, as this is usually done for FreeBSD ports.
Thanks for working on this, I'm looking forward to the day, this is able to
render all man pages on FreeBSD.
Generated with FreeBSD Port Tools 0.77
I'll take it.
Ulrich et al., I've merged the <sys/types.h> and <time.h> request into
the mainline. I also fixed the CPPFLAGS part of the Makefile (it's now
put directly into CFLAGS/LINTFLAGS). I don't have a FreeBSD box to
check this on, but it works on Linux, NetBSD and OpenBSD.
> Thanks for working on this, I'm looking forward to the day, this is able to
> render all man pages on FreeBSD.
Please submit patches for new/different macros/strings! I work
primarily with NetBSD and OpenBSD, so I don't delve often into the groff
disparity within FreeBSD.
mdocml still has a few more version before it can handle all mdoc --
specifically (from mdocterm.1), some `Bd' work needs to be done and `Bl
-hang and -column are still in progress.
Note that the current version, which I suggestion, is mdocml-1.4.6.
On Mon, 09.03.2009 at 14:41:36 +0100, Kristaps DÅ¾onsons wrote:
> > Thanks for working on this, I'm looking forward to the day, this is able to
> > render all man pages on FreeBSD.
> Please submit patches for new/different macros/strings! I work
> primarily with NetBSD and OpenBSD, so I don't delve often into the groff
> disparity within FreeBSD.
> mdocml still has a few more version before it can handle all mdoc --
> specifically (from mdocterm.1), some `Bd' work needs to be done and `Bl
> -hang and -column are still in progress.
> Note that the current version, which I suggestion, is mdocml-1.4.6.
Four versions in one day, heh :)
I'll attach an updated shar-ball. I'm only keeping the Makefile changes,
since FreeBSD ports usually ship without debug symbols, and this is easy
to change for the individual developer.
miwi 2009-03-25 17:48:31 UTC
FreeBSD ports repository
textproc/mdocml Makefile distinfo pkg-descr
textproc/mdocml/files patch-Makefile patch-main.c
The mdocml utilities interface with the mdoc library to compile
mdoc-roff documents into a variety of output formats.
Submitted by: Ulrich Spoerlein <uspoerlein at gmail.com>
Revision Changes Path
1.1320 +1 -0 ports/textproc/Makefile
1.1 +23 -0 ports/textproc/mdocml/Makefile (new)
1.1 +3 -0 ports/textproc/mdocml/distinfo (new)
1.1 +32 -0 ports/textproc/mdocml/files/patch-Makefile (new)
1.1 +13 -0 ports/textproc/mdocml/files/patch-main.c (new)
1.1 +4 -0 ports/textproc/mdocml/pkg-descr (new)
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"