[csw-devel] SF.net SVN: gar:[13671] csw/mgar/pkg/xmltoman/trunk/files

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Tue Mar 8 03:47:18 CET 2011


Revision: 13671
          http://gar.svn.sourceforge.net/gar/?rev=13671&view=rev
Author:   bdwalton
Date:     2011-03-08 02:47:18 +0000 (Tue, 08 Mar 2011)

Log Message:
-----------
xmltoman/trunk: add patches that allow installation to proceed

Added Paths:
-----------
    csw/mgar/pkg/xmltoman/trunk/files/0001-Override-default-hard-coded-prefix-with-opt-csw.patch
    csw/mgar/pkg/xmltoman/trunk/files/0002-Use-CSW-perl-instead-of-system-perl.patch
    csw/mgar/pkg/xmltoman/trunk/files/0003-Use-ginstall-not-system-install.patch

Added: csw/mgar/pkg/xmltoman/trunk/files/0001-Override-default-hard-coded-prefix-with-opt-csw.patch
===================================================================
--- csw/mgar/pkg/xmltoman/trunk/files/0001-Override-default-hard-coded-prefix-with-opt-csw.patch	                        (rev 0)
+++ csw/mgar/pkg/xmltoman/trunk/files/0001-Override-default-hard-coded-prefix-with-opt-csw.patch	2011-03-08 02:47:18 UTC (rev 13671)
@@ -0,0 +1,26 @@
+From 73929a0716f96c262920b3bd40efac71e17cbac2 Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Tue, 8 Mar 2011 03:24:20 +0100
+Subject: [PATCH] Override default (hard coded) prefix with /opt/csw
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ Makefile |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 1195c52..ae89d52 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,6 +1,6 @@
+-PREFIX=/usr/local
++PREFIX=/opt/csw/
+ PACKAGE=xmltoman
+-VERSION=0.3
++VERSION=0.4
+ DISTNAME=$(PACKAGE)-$(VERSION)
+ DISTFILES= COPYING Makefile README xml/ xmlmantohtml xmltoman xmltoman.css xmltoman.dtd xmltoman.xsl
+ 
+-- 
+1.7.3.2
+

Added: csw/mgar/pkg/xmltoman/trunk/files/0002-Use-CSW-perl-instead-of-system-perl.patch
===================================================================
--- csw/mgar/pkg/xmltoman/trunk/files/0002-Use-CSW-perl-instead-of-system-perl.patch	                        (rev 0)
+++ csw/mgar/pkg/xmltoman/trunk/files/0002-Use-CSW-perl-instead-of-system-perl.patch	2011-03-08 02:47:18 UTC (rev 13671)
@@ -0,0 +1,23 @@
+From e61ef0560a36132fbb5751805bcc74f1fba8158d Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Tue, 8 Mar 2011 03:25:19 +0100
+Subject: [PATCH 3/3] Use CSW perl instead of system perl
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ xmltoman |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/xmltoman b/xmltoman
+index 6a7489a..33b99bf 100755
+--- a/xmltoman
++++ b/xmltoman
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
++#!/opt/csw/bin/perl -w
+ 
+ #    xmltoman - simple xml to man converter
+ #    Copyright (C) 2000-2002 Oliver Kurth <oku at masqmail.cx>
+-- 
+1.7.3.2
+

Added: csw/mgar/pkg/xmltoman/trunk/files/0003-Use-ginstall-not-system-install.patch
===================================================================
--- csw/mgar/pkg/xmltoman/trunk/files/0003-Use-ginstall-not-system-install.patch	                        (rev 0)
+++ csw/mgar/pkg/xmltoman/trunk/files/0003-Use-ginstall-not-system-install.patch	2011-03-08 02:47:18 UTC (rev 13671)
@@ -0,0 +1,42 @@
+From 2227aedee4ee6d2c0b7d8d8864e752d101f0381c Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Tue, 8 Mar 2011 03:40:36 +0100
+Subject: [PATCH] Use ginstall, not system install
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ Makefile |   11 ++++++-----
+ 1 files changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index ae89d52..194ba20 100644
+--- a/Makefile
++++ b/Makefile
+@@ -3,6 +3,7 @@ PACKAGE=xmltoman
+ VERSION=0.4
+ DISTNAME=$(PACKAGE)-$(VERSION)
+ DISTFILES= COPYING Makefile README xml/ xmlmantohtml xmltoman xmltoman.css xmltoman.dtd xmltoman.xsl
++INSTALL=/opt/csw/bin/ginstall
+ 
+ all: xmltoman.1 xmlmantohtml.1
+ 
+@@ -13,11 +14,11 @@ xmlmantohtml.1: xml/xmlmantohtml.1.xml
+ 	./xmltoman $< > $@
+ 
+ install:
+-	install -D xmltoman $(DESTDIR)/$(PREFIX)/bin/xmltoman
+-	install -D xmlmantohtml $(DESTDIR)/$(PREFIX)/bin/xmlmantohtml
+-	install -D -m 0644 xmltoman.dtd $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.dtd
+-	install -D -m 0644 xmltoman.css $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.css
+-	install -D -m 0644 xmltoman.xsl $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.xsl
++	$(INSTALL) -D xmltoman $(DESTDIR)/$(PREFIX)/bin/xmltoman
++	$(INSTALL) -D xmlmantohtml $(DESTDIR)/$(PREFIX)/bin/xmlmantohtml
++	$(INSTALL) -D -m 0644 xmltoman.dtd $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.dtd
++	$(INSTALL) -D -m 0644 xmltoman.css $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.css
++	$(INSTALL) -D -m 0644 xmltoman.xsl $(DESTDIR)/$(PREFIX)/share/xmltoman/xmltoman.xsl
+ 
+ dist:
+ 	[ -d $(DISTNAME) ] && rm -rf $(DISTNAME) || true
+-- 
+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