Setting up docs for pkgsrc
Justin C. Sherrill
justin at shiningsilence.com
Sat Jun 10 21:53:23 PDT 2006
When I have been working on docs, I've been doing it on leaf, which has
the old FreeBSD docproj ports installed.
To make the doc framework work with pkgsrc-installed versions of jade,
docbook DTDs, etc., there's a few changes to make. I'm testing it
locally, and I'd like to commit it, but it'll keep people from building
docs on leaf until it too moves to pkgsrc. (Though I think I'm the only
one.)
Any objections?
Example changes below:
Index: share/mk/doc.docbook.mk
===================================================================
RCS file: /cvs/doc/share/mk/doc.docbook.mk,v
retrieving revision 1.2
diff -r1.2 doc.docbook.mk
144c144
< CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
---
> CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog
434c434
< echo '<!DOCTYPE book SYSTEM
"/usr/local/share/xml/docbook/4.2/docbookx.dtd">' > ${DOC}.xml
---
> echo '<!DOCTYPE book SYSTEM
"/usr/pkg/share/xml/docbook/4.2/docbookx.dtd">' > ${DOC}.xml
Index: share/mk/doc.project.mk
===================================================================
RCS file: /cvs/doc/share/mk/doc.project.mk,v
retrieving revision 1.2
diff -r1.2 doc.project.mk
67c67
< LOCALBASE?= /usr/local
---
> LOCALBASE?= /usr/pkg
Index: share/xsl/dragonfly-fo.xsl
===================================================================
RCS file: /cvs/doc/share/xsl/dragonfly-fo.xsl,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 dragonfly-fo.xsl
11c11
< <xsl:import href="/usr/local/share/xsl/docbook/fo/docbook.xsl"/>
---
> <xsl:import href="/usr/pkg/share/xsl/docbook/fo/docbook.xsl"/>
Index: share/xsl/dragonfly-html-chunk.xsl
===================================================================
RCS file: /cvs/doc/share/xsl/dragonfly-html-chunk.xsl,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 dragonfly-html-chunk.xsl
11c11
< <xsl:import href="/usr/local/share/xsl/docbook/html/chunk.xsl"/>
---
> <xsl:import href="/usr/pkg/share/xsl/docbook/html/chunk.xsl"/>
Index: share/xsl/dragonfly-html.xsl
===================================================================
RCS file: /cvs/doc/share/xsl/dragonfly-html.xsl,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 dragonfly-html.xsl
11c11
< <xsl:import href="/usr/local/share/xsl/docbook/html/docbook.xsl"/>
---
> <xsl:import href="/usr/pkg/share/xsl/docbook/html/docbook.xsl"/>
Index: share/xsl/dragonfly.xsl
===================================================================
RCS file: /cvs/doc/share/xsl/dragonfly.xsl,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 dragonfly.xsl
12c12
< <xsl:import
href="/usr/local/share/xml/docbook/xsl/modular/html/docbook.xsl"/>
---
> <xsl:import
href="/usr/pkg/share/xml/docbook/xsl/modular/html/docbook.xsl"/>
More information about the Docs
mailing list