Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 2003 23:24:54 +0100
From:      Ceri Davies <setantae@submonkey.net>
To:        doc@FreeBSD.org, nik@FreeBSD.org
Subject:   Patch to the textproc/docproj port
Message-ID:  <20030408222454.GF49197@submonkey.net>

next in thread | raw e-mail | index | archive | help

--/Uq4LBwYP4y1W6pO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


In order to build with the STYLESHEET_TYPE set to xsl, the following patches
are necessary.  Any objections (specifically from Nik, as he's down as the
textproc/docproj maintainer) ?

Note that the tree still won't build with these patches, but it's stepping in
the right direction.

Thanks,

Ceri
-- 

--/Uq4LBwYP4y1W6pO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="docbookx.dtd"

Index: doc.docbook.mk
===================================================================
RCS file: /home/dcvs/doc/share/mk/doc.docbook.mk,v
retrieving revision 1.79
diff -u -r1.79 doc.docbook.mk
--- doc.docbook.mk	8 Apr 2003 22:00:23 -0000	1.79
+++ doc.docbook.mk	8 Apr 2003 22:22:13 -0000
@@ -393,7 +393,7 @@
 # Better approaches to handling this would be most welcome
 
 ${DOC}.xml: ${SRCS}
-	echo '<!DOCTYPE book SYSTEM "/usr/local/share/xml/docbook/4.1.2/docbookx.dtd">' > ${DOC}.xml
+	echo '<!DOCTYPE book SYSTEM "/usr/local/share/xml/docbook/4.2/docbookx.dtd">' > ${DOC}.xml
 	${SX} -xlower -xndata ${MASTERDOC} 2> .sxerr | tail -n +2 >> ${DOC}.xml 
 	@-grep -v 'reference to internal SDATA entity' .sxerr
 

--/Uq4LBwYP4y1W6pO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=docproj

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/docproj/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- Makefile	7 Mar 2003 06:11:39 -0000	1.41
+++ Makefile	8 Apr 2003 22:18:19 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	docproj
-PORTVERSION=	1.10
+PORTVERSION=	1.11
 CATEGORIES=	textproc
 MASTER_SITES=	# empty
 DISTFILES=	# empty
@@ -30,7 +30,9 @@
 		${PREFIX}/bin/links:${PORTSDIR}/www/links1 \
 		${PREFIX}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
 		${PREFIX}/bin/scr2png:${PORTSDIR}/graphics/scr2png \
-		${PREFIX}/bin/scr2txt:${PORTSDIR}/textproc/scr2txt
+		${PREFIX}/bin/scr2txt:${PORTSDIR}/textproc/scr2txt \
+		${PREFIX}/share/xsl/docbook/html/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \
+		${PREFIX}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
 
 .if defined(WITH_OPENJADE) || ${MACHINE_ARCH} != "i386"
 RUN_DEPENDS+=	openjade:${PORTSDIR}/textproc/openjade

--/Uq4LBwYP4y1W6pO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030408222454.GF49197>