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

(-)/usr/home/emma/ports/textproc/xmlto/Makefile (-14 / +21 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	xmlto
8
PORTNAME=	xmlto
9
PORTVERSION=	0.0.20
9
PORTVERSION=	0.0.21
10
PORTREVISION=	2
11
CATEGORIES=	textproc
10
CATEGORIES=	textproc
12
MASTER_SITES=	http://cyberelk.net/tim/data/xmlto/stable/
11
MASTER_SITES=	https://fedorahosted.org/releases/x/m/xmlto/
13
# Master Site is subject to change with 0.0.21 release
14
12
15
MAINTAINER=	matthias.andree@gmx.de
13
MAINTAINER=	matthias.andree@gmx.de
16
COMMENT=	Front-end to an XSL toolchain
14
COMMENT=	Front-end to an XSL toolchain
Lines 22-28 Link Here
22
		${XSL_DIR}:${PORTSDIR}/textproc/docbook-xsl
20
		${XSL_DIR}:${PORTSDIR}/textproc/docbook-xsl
23
RUN_DEPENDS=	${BUILD_DEPENDS}
21
RUN_DEPENDS=	${BUILD_DEPENDS}
24
22
25
OPTIONS=	PASSIVETEX "Enable PassiveTeX support for DVI/PS/PDF" OFF
23
OPTIONS=	PASSIVETEX "Enable PassiveTeX support for DVI/PS/PDF" OFF \
24
		FOP "Add dependency on FOP" OFF \
25
		LIBPAPER "Add dependency on libpaper" OFF \
26
		DBLATEX "Add dependency on Dblatex (EXPERIMENTAL)" OFF
26
27
27
USE_BZIP2=	yes
28
USE_BZIP2=	yes
28
GNU_CONFIGURE=	yes
29
GNU_CONFIGURE=	yes
Lines 49-68 Link Here
49
PLIST_SUB=	PASSIVETEX="@comment "
50
PLIST_SUB=	PASSIVETEX="@comment "
50
.endif
51
.endif
51
52
53
.if defined(WITH_FOP)
54
RUN_DEPENDS+=	${LOCALBASE}/bin/fop:${PORTSDIR}/textproc/fop
55
.endif
56
57
.if defined(WITH_LIBPAPER)
58
RUN_DEPENDS+=	${LOCALBASE}/bin/paperconf:${PORTSDIR}/print/libpaper
59
.endif
60
61
.if defined(WITH_DBLATEX)
62
RUN_DEPENDS+=	${LOCALBASE}/bin/dblatex:${PORTSDIR}/textproc/dblatex
63
.endif
64
52
post-patch:
65
post-patch:
53
.for i in docbook/htmlhelp docbook/xhtml-nochunks docbook/javahelp \
66
	@${REINPLACE_CMD} -E -e 's,/usr/bin/(dblatex|fop|links|lynx|paperconf|w3m),${LOCALBASE}/bin/\1,g' \
54
	docbook/html docbook/html-nochunks docbook/xhtml docbook/fo \
67
		${WRKSRC}/xmlto.in \
55
	docbook/man fo/dvi fo/pdf
68
		${WRKSRC}/format/docbook/txt
56
	@${REINPLACE_CMD} -e 's|-a|-PpR|' ${WRKSRC}/format/${i}
57
.endfor
58
.if !defined(WITH_PASSIVETEX)
69
.if !defined(WITH_PASSIVETEX)
59
	@${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in
70
	@${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in
60
.endif
71
.endif
61
72
62
post-build:
63
	@${REINPLACE_CMD} -e 's,/usr/bin,${LOCALBASE}/bin,g' \
64
		${WRKSRC}/format/docbook/txt
65
66
.if !defined(NOPORTDOCS)
73
.if !defined(NOPORTDOCS)
67
post-install:
74
post-install:
68
	@${MKDIR} ${DOCSDIR}
75
	@${MKDIR} ${DOCSDIR}
(-)/usr/home/emma/ports/textproc/xmlto/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (xmlto-0.0.20.tar.bz2) = ab814ae352fc028862cbea9d676ab93b
1
MD5 (xmlto-0.0.21.tar.bz2) = cc2039dedc81f1a56b06e5fdac6f7570
2
SHA256 (xmlto-0.0.20.tar.bz2) = 9ffa1971b9a61851a794caf6cd9f0c81290926cef9a790af845c310f169ce1e8
2
SHA256 (xmlto-0.0.21.tar.bz2) = b6435ce111c7578126b6cdcfbd67a229bd27ae3391225d6a1f52dc22b0597049
3
SIZE (xmlto-0.0.20.tar.bz2) = 98388
3
SIZE (xmlto-0.0.21.tar.bz2) = 99554
(-)/usr/home/emma/ports/textproc/xmlto/files/patch-xmlto.in (-16 lines)
Lines 1-16 Link Here
1
--- xmlto.in.orig	2008-01-17 10:39:02.000000000 +0100
2
+++ xmlto.in	2008-05-25 13:43:48.000000000 +0200
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>
9
@@ -326,6 +326,7 @@
10
 # Ask the format script what stylesheet to use.
11
 XSLT_PROCESSOR=xsltproc # We only know about xsltproc right now.
12
 export XSLT_PROCESSOR
13
+export USE_BACKEND
14
 if [ -z "$STYLESHEET" ]
15
 then
16
   STYLESHEET="$(${BASH} "$FORMAT" stylesheet)" || exit 1

Return to bug 125837