Patch to the textproc/docproj port

Ceri Davies setantae at submonkey.net
Tue Apr 8 22:24:58 UTC 2003


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
-- 
-------------- next part --------------
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
 
-------------- next part --------------
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


More information about the freebsd-doc mailing list