ports/123952: [PATCH] textproc/xmlto: fix output formats other than man, take maintainership

Matthias Andree matthias.andree at gmx.de
Sat May 24 11:50:03 UTC 2008


>Number:         123952
>Category:       ports
>Synopsis:       [PATCH] textproc/xmlto: fix output formats other than man, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 24 11:50:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 6.3-STABLE FreeBSD 6.3-STABLE #31: Tue Apr 29 09:26:46 CEST 2008
>Description:
- Fix all scripts that use cp -a to instead use cp -PpR, fixing output formats
  such as html, html-nochunks and others.
- Move files/patch-xmlto.in into post-patch section of Makefile
- Take maintainership

Removed file(s):
- files/patch-xmlto.in
- files/ (empty directory)

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- xmlto-0.0.20_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/xmlto/Makefile /usr/home/emma/ports/textproc/xmlto/Makefile
--- /usr/ports/textproc/xmlto/Makefile	2008-05-07 11:23:11.000000000 +0200
+++ /usr/home/emma/ports/textproc/xmlto/Makefile	2008-05-24 13:41:05.000000000 +0200
@@ -10,10 +10,11 @@
 
 PORTNAME=	xmlto
 PORTVERSION=	0.0.20
+PORTREVISION=	1
 CATEGORIES=	textproc
 MASTER_SITES=	http://cyberelk.net/tim/data/xmlto/stable/
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	matthias.andree at gmx.de
 COMMENT=	Front-end to an XSL toolchain
 
 BUILD_DEPENDS=	${BASH_CMD}:${PORTSDIR}/shells/bash \
@@ -44,8 +45,12 @@
 DOCS=		AUTHORS NEWS
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-a|-PpR|' \
-	    ${WRKSRC}/format/docbook/man
+	@${REINPLACE_CMD} -e 's,^#!/bin/bash,#!@BASH@,' ${WRKSRC}/xmlto.in
+.for i in docbook/htmlhelp docbook/xhtml-nochunks docbook/javahelp \
+	docbook/html docbook/html-nochunks docbook/xhtml docbook/fo \
+	docbook/man fo/dvi fo/pdf
+	@${REINPLACE_CMD} -e 's|-a|-PpR|' ${WRKSRC}/format/${i}
+.endfor
 .if !defined(WITH_PASSIVETEX)
 	@${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in
 .endif
diff -ruN --exclude=CVS /usr/ports/textproc/xmlto/files/patch-xmlto.in /usr/home/emma/ports/textproc/xmlto/files/patch-xmlto.in
--- /usr/ports/textproc/xmlto/files/patch-xmlto.in	2004-01-05 07:33:16.000000000 +0100
+++ /usr/home/emma/ports/textproc/xmlto/files/patch-xmlto.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
---- xmlto.in.orig	Mon Jan  5 09:20:01 2004
-+++ xmlto.in	Mon Jan  5 09:20:32 2004
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!@BASH@
- # 
- # @PACKAGE@ - apply an XSL stylesheet to an XML document
- # Copyright (C) 2001, 2002, 2003  Tim Waugh <twaugh at redhat.com>
--- xmlto-0.0.20_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list