DragonFly BSD
DragonFly docs List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Setting up docs for pkgsrc


From: "Justin C. Sherrill" <justin@xxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Jun 2006 01:23:28 -0400 (EDT)

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"/>




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]