[40977] trunk/dports/textproc/xmlto
blb at macports.org
blb at macports.org
Sun Oct 19 19:03:35 PDT 2008
Revision: 40977
http://trac.macports.org/changeset/40977
Author: blb at macports.org
Date: 2008-10-19 19:03:34 -0700 (Sun, 19 Oct 2008)
Log Message:
-----------
textproc/xmlto - version bump to 0.0.21 and try to use MacPorts' XML
catalog file when XML_CATALOG_FILES is not set (hopefully fixing #13962
and #14967)
Modified Paths:
--------------
trunk/dports/textproc/xmlto/Portfile
Added Paths:
-----------
trunk/dports/textproc/xmlto/files/
trunk/dports/textproc/xmlto/files/patch-xmlto.in.diff
Modified: trunk/dports/textproc/xmlto/Portfile
===================================================================
--- trunk/dports/textproc/xmlto/Portfile 2008-10-20 00:42:56 UTC (rev 40976)
+++ trunk/dports/textproc/xmlto/Portfile 2008-10-20 02:03:34 UTC (rev 40977)
@@ -3,8 +3,7 @@
PortSystem 1.0
name xmlto
-version 0.0.18
-revision 3
+version 0.0.21
categories textproc
platforms darwin
maintainers nomaintainer
@@ -19,21 +18,22 @@
2. Further processing with other tools. This step may not be necessary.
homepage http://cyberelk.net/tim/xmlto/
-master_sites http://cyberelk.net/tim/data/xmlto/stable/ \
- ftp://ftp6.ua.freebsd.org/pub/OpenBSD/distfiles/
+master_sites https://fedorahosted.org/xmlto/export/1/
use_bzip2 yes
-checksums md5 1a06471b70eb27a6aca5d1b3a144f9b0 \
- sha1 abee8925a80bfefcdf1543956a804b1facff7bec \
- rmd160 4b7232ad673c6b3a0ad015d0061cf5b77165478c
+checksums md5 cc2039dedc81f1a56b06e5fdac6f7570 \
+ sha1 691202620b337d9c35c95c81306ea629248a8850 \
+ rmd160 21d4f82c1e9dcb8617132f097921db722bc901c6
depends_lib port:libxslt \
port:libxml2 \
port:getopt \
- port:docbook-xml-4.2 \
+ port:docbook-xml \
port:docbook-xsl
-configure.args --with-getopt=${prefix}/bin/getopt \
+patchfiles patch-xmlto.in.diff
+
+configure.args --with-getopt=${prefix}/bin/getopt \
--mandir=${prefix}/share/man
build.env-append XML_CATALOG_FILES=${prefix}/etc/xml/catalog
Added: trunk/dports/textproc/xmlto/files/patch-xmlto.in.diff
===================================================================
--- trunk/dports/textproc/xmlto/files/patch-xmlto.in.diff (rev 0)
+++ trunk/dports/textproc/xmlto/files/patch-xmlto.in.diff 2008-10-20 02:03:34 UTC (rev 40977)
@@ -0,0 +1,12 @@
+--- xmlto.in.orig 2008-05-30 07:41:31.000000000 -0600
++++ xmlto.in 2008-10-19 19:41:28.000000000 -0600
+@@ -75,6 +75,9 @@
+ # This can be over-ridden, but really we should detect the source
+ # document type without needing any help.
+ : ${SOURCE_FORMAT=docbook}
++# use MacPorts' XML catalog if XML_CATALOG_FILES not set
++: ${XML_CATALOG_FILES=${prefix}/etc/xml/catalog}
++export XML_CATALOG_FILES
+
+ # Get absolute pathnames for FORMAT_DIR and OUTPUT_DIR.
+ WD="$(pwd)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081019/5639d29c/attachment.html
More information about the macports-changes
mailing list