View | Details | Raw Unified | Return to bug 123952
Collapse All | Expand All

(-)/usr/home/emma/ports/textproc/xmlto/Makefile (-3 / +8 lines)
Lines 10-19 Link Here
10
10
11
PORTNAME=	xmlto
11
PORTNAME=	xmlto
12
PORTVERSION=	0.0.20
12
PORTVERSION=	0.0.20
13
PORTREVISION=	1
13
CATEGORIES=	textproc
14
CATEGORIES=	textproc
14
MASTER_SITES=	http://cyberelk.net/tim/data/xmlto/stable/
15
MASTER_SITES=	http://cyberelk.net/tim/data/xmlto/stable/
15
16
16
MAINTAINER=	ports@FreeBSD.org
17
MAINTAINER=	matthias.andree@gmx.de
17
COMMENT=	Front-end to an XSL toolchain
18
COMMENT=	Front-end to an XSL toolchain
18
19
19
BUILD_DEPENDS=	${BASH_CMD}:${PORTSDIR}/shells/bash \
20
BUILD_DEPENDS=	${BASH_CMD}:${PORTSDIR}/shells/bash \
Lines 44-51 Link Here
44
DOCS=		AUTHORS NEWS
45
DOCS=		AUTHORS NEWS
45
46
46
post-patch:
47
post-patch:
47
	@${REINPLACE_CMD} -e 's|-a|-PpR|' \
48
	@${REINPLACE_CMD} -e 's,^#!/bin/bash,#!@BASH@,' ${WRKSRC}/xmlto.in
48
	    ${WRKSRC}/format/docbook/man
49
.for i in docbook/htmlhelp docbook/xhtml-nochunks docbook/javahelp \
50
	docbook/html docbook/html-nochunks docbook/xhtml docbook/fo \
51
	docbook/man fo/dvi fo/pdf
52
	@${REINPLACE_CMD} -e 's|-a|-PpR|' ${WRKSRC}/format/${i}
53
.endfor
49
.if !defined(WITH_PASSIVETEX)
54
.if !defined(WITH_PASSIVETEX)
50
	@${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in
55
	@${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in
51
.endif
56
.endif
(-)/usr/home/emma/ports/textproc/xmlto/files/patch-xmlto.in (-8 lines)
Lines 1-8 Link Here
1
--- xmlto.in.orig	Mon Jan  5 09:20:01 2004
2
+++ xmlto.in	Mon Jan  5 09:20:32 2004
3
@@ -1,4 +1,4 @@
4
-#!/bin/bash
5
+#!@BASH@
6
 # 
7
 # @PACKAGE@ - apply an XSL stylesheet to an XML document
8
 # Copyright (C) 2001, 2002, 2003  Tim Waugh <twaugh@redhat.com>

Return to bug 123952