[csw-devel] SF.net SVN: gar:[13674] csw/mgar/pkg/xmltoman/trunk
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Tue Mar 8 04:02:16 CET 2011
Revision: 13674
http://gar.svn.sourceforge.net/gar/?rev=13674&view=rev
Author: bdwalton
Date: 2011-03-08 03:02:16 +0000 (Tue, 08 Mar 2011)
Log Message:
-----------
xmltoman/trunk: patch the manpages for usr/share references; install the examples referenced by the manpages
Modified Paths:
--------------
csw/mgar/pkg/xmltoman/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/xmltoman/trunk/files/0004-Patch-usr-share-references-out-of-the-manpages.patch
Modified: csw/mgar/pkg/xmltoman/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xmltoman/trunk/Makefile 2011-03-08 02:54:08 UTC (rev 13673)
+++ csw/mgar/pkg/xmltoman/trunk/Makefile 2011-03-08 03:02:16 UTC (rev 13674)
@@ -13,6 +13,7 @@
PATCHFILES += 0001-Override-default-hard-coded-prefix-with-opt-csw.patch
PATCHFILES += 0002-Use-CSW-perl-instead-of-system-perl.patch
PATCHFILES += 0003-Use-ginstall-not-system-install.patch
+PATCHFILES += 0004-Patch-usr-share-references-out-of-the-manpages.patch
CONFIGURE_SCRIPTS =
TEST_SCRIPTS =
@@ -28,5 +29,11 @@
@$(MAKECOOKIE);
post-install-modulated:
- @(cd $(WORKSRC); gmkdir -p $(DESTDIR)$(mandir)/man1; for m in xmltoman xmlmantohtml; do cp $$m.1 $(DESTDIR)$(mandir)/man1; done)
+ @(cd $(WORKSRC); \
+ gmkdir -p $(DESTDIR)$(mandir)/man1 \
+ $(DESTDIR)$(docdir)/$(NAME); \
+ for m in xmltoman xmlmantohtml; do \
+ cp $$m.1 $(DESTDIR)$(mandir)/man1; \
+ done; \
+ cp -pR xml $(DESTDIR)$(docdir)/$(NAME)/examples; )
@$(MAKECOOKIE)
\ No newline at end of file
Added: csw/mgar/pkg/xmltoman/trunk/files/0004-Patch-usr-share-references-out-of-the-manpages.patch
===================================================================
--- csw/mgar/pkg/xmltoman/trunk/files/0004-Patch-usr-share-references-out-of-the-manpages.patch (rev 0)
+++ csw/mgar/pkg/xmltoman/trunk/files/0004-Patch-usr-share-references-out-of-the-manpages.patch 2011-03-08 03:02:16 UTC (rev 13674)
@@ -0,0 +1,60 @@
+From eabf65adb61703819191835031fd864e040f9cb5 Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Tue, 8 Mar 2011 03:56:45 +0100
+Subject: [PATCH] Patch usr/share references out of the manpages
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ xml/xmlmantohtml.1.xml | 6 +++---
+ xml/xmltoman.1.xml | 12 ++++++------
+ 2 files changed, 9 insertions(+), 9 deletions(-)
+
+diff --git a/xml/xmlmantohtml.1.xml b/xml/xmlmantohtml.1.xml
+index 735a779..e757305 100644
+--- a/xml/xmlmantohtml.1.xml
++++ b/xml/xmlmantohtml.1.xml
+@@ -12,10 +12,10 @@
+
+ <p>xmlmantohtml is a small script to convert xml/man to html.</p>
+
+-<p>You will find the dtd in <file>/usr/share/xmltoman/</file> on a
+-debian system. There is also an xsl file to generate html using
++<p>You will find the dtd in <file>/opt/csw/share/xmltoman/</file> on an
++OpenCSW system. There is also an xsl file to generate html using
+ <manref name="xsltproc" section="1"/>.
+-See also <file>/usr/share/doc/xmltoman/examples</file> for examples.</p>
++See also <file>/opt/csw/share/doc/xmltoman/examples</file> for examples.</p>
+ <p>If xsltproc proves to be a useful alternative, this program
+ will be obsoleted.</p>
+
+diff --git a/xml/xmltoman.1.xml b/xml/xmltoman.1.xml
+index 662c8f2..7040175 100644
+--- a/xml/xmltoman.1.xml
++++ b/xml/xmltoman.1.xml
+@@ -15,17 +15,17 @@ format. It features the usual man page items such a description,
+ options, see also etc. The xml format also supports converting to html
+ pages.</p>
+
+-<p>You will find the dtd in <file>/usr/share/xmltoman/</file> on a
+-debian system. There is also an xsl file to generate html using
++<p>You will find the dtd in <file>/opt/csw/share/xmltoman/</file> on an
++OpenCSW system. There is also an xsl file to generate html using
+ <manref name="xsltproc" section="1"/>.
+-See also <file>/usr/share/doc/xmltoman/examples</file> for examples.</p>
++See also <file>/opt/csw/share/doc/xmltoman/examples</file> for examples.</p>
+
+ </description>
+
+ <section name ="Files">
+-<p><file>/usr/share/xmltoman/xmltoman.dtd</file> the DTD file.</p>
+-<p><file>/usr/share/xmltoman/xmltoman.xsl</file> XSLT stylesheet to generate html.</p>
+-<p><file>/usr/share/xmltoman/xmltoman.css</file> stylesheet to be used for HTML.</p>
++<p><file>/opt/csw/share/xmltoman/xmltoman.dtd</file> the DTD file.</p>
++<p><file>/opt/csw/share/xmltoman/xmltoman.xsl</file> XSLT stylesheet to generate html.</p>
++<p><file>/opt/csw/share/xmltoman/xmltoman.css</file> stylesheet to be used for HTML.</p>
+ </section>
+
+ <section name = "Author">
+--
+1.7.3.2
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list