<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[25793] trunk/dports/textproc/docbook-xml</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.macosforge.org/projects/macports/changeset/25793">25793</a></dd>
<dt>Author</dt> <dd>rhwood@macports.org</dd>
<dt>Date</dt> <dd>2007-06-02 03:57:20 -0700 (Sat, 02 Jun 2007)</dd>
</dl>

<h3>Log Message</h3>
<pre>Change port from a specific docbook-xml DTD version to a meta-port that ensures
that the user has all of the docbook-xml DTDs that MacPorts ships on his system.

Add a readme file that explains this and ensures that this port can be
registered as installed and is therefore upgradable.

Set the version on the port to the version of the highest versioned docbook-xml
DTD port.

This is the last change to the docbook-xml ports from
docbook-xml[|-scrollkeeper|-412] to docbook-xml-${version} before we can edit
ports that depended on the old docbook-xml ports to the new docbook-xml ports.

MAINTAINERS: Please use only the actual DTD versions that you need when setting
dependencies on your ports instead of depending on this port.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportstextprocdocbookxmlPortfile">trunk/dports/textproc/docbook-xml/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/textproc/docbook-xml/files/</li>
<li><a href="#trunkdportstextprocdocbookxmlfilesREADMEdocbookxmltxt">trunk/dports/textproc/docbook-xml/files/README.docbook-xml.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportstextprocdocbookxmlPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/textproc/docbook-xml/Portfile (25792 => 25793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/docbook-xml/Portfile        2007-06-02 10:17:19 UTC (rev 25792)
+++ trunk/dports/textproc/docbook-xml/Portfile        2007-06-02 10:57:20 UTC (rev 25793)
</span><span class="lines">@@ -3,26 +3,32 @@
</span><span class="cx"> PortSystem 1.0
</span><span class="cx"> 
</span><span class="cx"> name                docbook-xml
</span><del>-version                4.3
-description        the docbook xml dtds
</del><ins>+# the version should always be the version of the highest
+# versioned docbook-xml-* port.
+version                4.5
+description        Install all of the versioned docbook-xml-* ports
+long_description    \
+    This port is an uninstallable metaport that simply ensures
+    that a number of other ports are installed.
</ins><span class="cx"> categories        textproc
</span><span class="cx"> platforms        darwin
</span><span class="cx"> maintainers        nomaintainer@macports.org
</span><del>-depends_build        bin:unzip:unzip
</del><ins>+homepage    http://www.docbook.org
</ins><span class="cx"> 
</span><del>-master_sites        http://www.oasis-open.org/docbook/xml/4.3/
-checksums        md5 ab200202b9e136a144db1e0864c45074
</del><ins>+# add every docbook-xml-* port as it is created
+depends_build \
+    port:docbook-xml-4.1.2 \
+    port:docbook-xml-4.2 \
+    port:docbook-xml-4.3 \
+    port:docbook-xml-4.4 \
+    port:docbook-xml-4.5
</ins><span class="cx"> 
</span><del>-use_zip                yes
-extract.suffix        .zip
-extract.cmd        unzip
-
</del><ins>+fetch                {}
+checksum        {}
+extract                {}
</ins><span class="cx"> configure         {}
</span><span class="cx"> build                {}
</span><del>-
-destroot        { file mkdir ${destroot}/${prefix}/share/xml/${name}/${version}
-                   file mkdir ${destroot}/${prefix}/share/xml/${name}/${version}/ent
-                  system &quot;for file in \
-                  `unzip -l ${distpath}/${distname} | awk '/:\[0-9\].*\[^\\/\]\$/\{print \$4\}'`; do \
-                          install -cv ${workpath}/\$file ${destroot}/${prefix}/share/xml/${name}/${version}/\$file; \
-                  done&quot; }
</del><ins>+destroot        { 
+        file mkdir ${destroot}${prefix}/share/doc/
+        file copy ${filespath}/README.${name}.txt ${destroot}${prefix}/share/doc
+}
</ins></span></pre></div>
<a id="trunkdportstextprocdocbookxmlfilesREADMEdocbookxmltxt"></a>
<div class="addfile"><h4>Added: trunk/dports/textproc/docbook-xml/files/README.docbook-xml.txt (0 => 25793)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/textproc/docbook-xml/files/README.docbook-xml.txt                                (rev 0)
+++ trunk/dports/textproc/docbook-xml/files/README.docbook-xml.txt        2007-06-02 10:57:20 UTC (rev 25793)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Please note that the docbook-xml port is simply a meta-port
+that installs all versions of the docbook-xml Document Type
+Definitions (DTDs) that MacPorts ships.
+
+It should be possible to freely uninstall, reinstall, and
+upgrade the various versions of the docbook-xml DTDs without
+affecting the docbook-xml port.
+
+When MacPorts ships new versions of the docbook-xml DTDs, this
+port will be updated so that the new DTD is installed on your
+system when you upgrade outdated ports. 
</ins></span></pre>
</div>
</div>

</body>
</html>