Hi, Just found that asciidoc is broken on a clean box.
Here's what I get trying to build x11/i3bar: gmake -C doc gmake[1]: Entering directory `/usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc' /usr/local/bin/a2x.py -f manpage i3bar.man a2x: ERROR: xmllint --nonet --noout --valid /usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc/i3bar.xml returned non-zero exit status 4 gmake[1]: *** [i3bar.1] Error 1 This is because: $ xmllint --nonet --noout --valid /usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc/i3bar.xml I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd /usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc/i3bar.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" ^ /usr/ports/pobj/i3bar-0.6.21/i3bar-0.6.21/doc/i3bar.xml:5: validity error : Validation failed: no DTD found ! <refentry lang="en"> ^ The following diff fixes it for me. OK? Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/asciidoc/Makefile,v retrieving revision 1.12 diff -u -p -r1.12 Makefile --- Makefile 15 Jan 2011 22:29:18 -0000 1.12 +++ Makefile 27 Apr 2011 09:44:07 -0000 @@ -3,6 +3,7 @@ COMMENT= text document format for writing documents and man pages DISTNAME= asciidoc-8.6.3 +REVISION= 0 CATEGORIES= textproc MAINTAINER= Robert Nagy <[email protected]> @@ -18,7 +19,9 @@ PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=asciidoc/} MODULES= lang/python -RUN_DEPENDS= textproc/libxslt +RUN_DEPENDS= textproc/libxslt \ + textproc/docbook \ + textproc/docbook-xsl MODPY_ADJ_FILES=a2x.py \ asciidoc.py \
