Hello, this is a quick port of the mdoc tools by Kristaps Džonsons, see [1] 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. [1]: http://mail-index.netbsd.org/tech-userlevel/2009/03/01/msg001766.html WWW: http://mdocml.bsd.lv/ Generated with FreeBSD Port Tools 0.77
Responsible Changed From-To: freebsd-ports-bugs->miwi 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. Thanks, --kk
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. Cheers, Uli
miwi 2009-03-25 17:48:31 UTC FreeBSD ports repository Modified files: textproc Makefile Added files: textproc/mdocml Makefile distinfo pkg-descr textproc/mdocml/files patch-Makefile patch-main.c Log: The mdocml utilities interface with the mdoc library to compile mdoc-roff documents into a variety of output formats. WWW: http://mdocml.bsd.lv/ PR: ports/132449 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) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!