Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2008 21:08:34 +0200 (CEST)
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125837: [MAINTAINER] textproc/xmlto: update to 0.0.21
Message-ID:  <20080721190834.AAA0ECAF6@merlin.localdomain>
Resent-Message-ID: <200807211910.m6LJA1EI076190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125837
>Category:       ports
>Synopsis:       [MAINTAINER] textproc/xmlto: update to 0.0.21
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 21 19:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD merlin 6.3-STABLE FreeBSD 6.3-STABLE #35: Thu Jul 17 22:01:59 CEST 2008
>Description:
- Update to 0.0.21

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

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

--- xmlto-0.0.21.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-06-06 16:05:08.000000000 +0200
+++ /usr/home/emma/ports/textproc/xmlto/Makefile	2008-07-21 20:11:23.000000000 +0200
@@ -6,11 +6,9 @@
 #
 
 PORTNAME=	xmlto
-PORTVERSION=	0.0.20
-PORTREVISION=	2
+PORTVERSION=	0.0.21
 CATEGORIES=	textproc
-MASTER_SITES=	http://cyberelk.net/tim/data/xmlto/stable/
-# Master Site is subject to change with 0.0.21 release
+MASTER_SITES=	https://fedorahosted.org/releases/x/m/xmlto/
 
 MAINTAINER=	matthias.andree@gmx.de
 COMMENT=	Front-end to an XSL toolchain
@@ -22,7 +20,10 @@
 		${XSL_DIR}:${PORTSDIR}/textproc/docbook-xsl
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
-OPTIONS=	PASSIVETEX "Enable PassiveTeX support for DVI/PS/PDF" OFF
+OPTIONS=	PASSIVETEX "Enable PassiveTeX support for DVI/PS/PDF" OFF \
+		FOP "Add dependency on FOP" OFF \
+		LIBPAPER "Add dependency on libpaper" OFF \
+		DBLATEX "Add dependency on Dblatex (EXPERIMENTAL)" OFF
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
@@ -49,20 +50,26 @@
 PLIST_SUB=	PASSIVETEX="@comment "
 .endif
 
+.if defined(WITH_FOP)
+RUN_DEPENDS+=	${LOCALBASE}/bin/fop:${PORTSDIR}/textproc/fop
+.endif
+
+.if defined(WITH_LIBPAPER)
+RUN_DEPENDS+=	${LOCALBASE}/bin/paperconf:${PORTSDIR}/print/libpaper
+.endif
+
+.if defined(WITH_DBLATEX)
+RUN_DEPENDS+=	${LOCALBASE}/bin/dblatex:${PORTSDIR}/textproc/dblatex
+.endif
+
 post-patch:
-.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
+	@${REINPLACE_CMD} -E -e 's,/usr/bin/(dblatex|fop|links|lynx|paperconf|w3m),${LOCALBASE}/bin/\1,g' \
+		${WRKSRC}/xmlto.in \
+		${WRKSRC}/format/docbook/txt
 .if !defined(WITH_PASSIVETEX)
 	@${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in
 .endif
 
-post-build:
-	@${REINPLACE_CMD} -e 's,/usr/bin,${LOCALBASE}/bin,g' \
-		${WRKSRC}/format/docbook/txt
-
 .if !defined(NOPORTDOCS)
 post-install:
 	@${MKDIR} ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/textproc/xmlto/distinfo /usr/home/emma/ports/textproc/xmlto/distinfo
--- /usr/ports/textproc/xmlto/distinfo	2008-04-22 14:38:55.000000000 +0200
+++ /usr/home/emma/ports/textproc/xmlto/distinfo	2008-07-21 19:37:30.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (xmlto-0.0.20.tar.bz2) = ab814ae352fc028862cbea9d676ab93b
-SHA256 (xmlto-0.0.20.tar.bz2) = 9ffa1971b9a61851a794caf6cd9f0c81290926cef9a790af845c310f169ce1e8
-SIZE (xmlto-0.0.20.tar.bz2) = 98388
+MD5 (xmlto-0.0.21.tar.bz2) = cc2039dedc81f1a56b06e5fdac6f7570
+SHA256 (xmlto-0.0.21.tar.bz2) = b6435ce111c7578126b6cdcfbd67a229bd27ae3391225d6a1f52dc22b0597049
+SIZE (xmlto-0.0.21.tar.bz2) = 99554
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	2008-05-28 14:40:05.000000000 +0200
+++ /usr/home/emma/ports/textproc/xmlto/files/patch-xmlto.in	1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
---- xmlto.in.orig	2008-01-17 10:39:02.000000000 +0100
-+++ xmlto.in	2008-05-25 13:43:48.000000000 +0200
-@@ -1,4 +1,4 @@
--#!/bin/bash
-+#!@BASH@
- # 
- # @PACKAGE@ - apply an XSL stylesheet to an XML document
- # Copyright (C) 2001, 2002, 2003  Tim Waugh <twaugh@redhat.com>
-@@ -326,6 +326,7 @@
- # Ask the format script what stylesheet to use.
- XSLT_PROCESSOR=xsltproc # We only know about xsltproc right now.
- export XSLT_PROCESSOR
-+export USE_BACKEND
- if [ -z "$STYLESHEET" ]
- then
-   STYLESHEET="$(${BASH} "$FORMAT" stylesheet)" || exit 1
--- xmlto-0.0.21.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080721190834.AAA0ECAF6>