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@FreeBSD.org +MAINTAINER= matthias.andree@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