[29443] trunk/dports/textproc/docbook-xml

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 23 13:08:08 PDT 2007


Revision: 29443
          http://trac.macosforge.org/projects/macports/changeset/29443
Author:   nox at macports.org
Date:     2007-09-23 13:08:07 -0700 (Sun, 23 Sep 2007)

Log Message:
-----------
docbook:
 * Whitespace changes.
 * README is now installed in a doc/ subdir.
 * Renamed the README file as it is all alone.
 * Now uses a smarter method to disable fetch~build targets.

Modified Paths:
--------------
    trunk/dports/textproc/docbook-xml/Portfile

Added Paths:
-----------
    trunk/dports/textproc/docbook-xml/files/README

Removed Paths:
-------------
    trunk/dports/textproc/docbook-xml/files/README.docbook-xml.txt

Modified: trunk/dports/textproc/docbook-xml/Portfile
===================================================================
--- trunk/dports/textproc/docbook-xml/Portfile	2007-09-23 19:34:42 UTC (rev 29442)
+++ trunk/dports/textproc/docbook-xml/Portfile	2007-09-23 20:08:07 UTC (rev 29443)
@@ -1,20 +1,24 @@
 # $Id$
 
-PortSystem 1.0
+PortSystem      1.0
 
-name		docbook-xml
+name            docbook-xml
 # 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    \
+version         4.5
+revision        1
+categories      textproc
+platforms       darwin
+maintainers     nomaintainer
+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.
-categories	textproc
-platforms	darwin
-maintainers	nomaintainer at macports.org
-homepage    http://www.docbook.org
 
+homepage        http://www.docbook.org/
+distfiles
+
 # add every docbook-xml-* port as it is created
 depends_build \
     port:docbook-xml-4.1.2 \
@@ -23,12 +27,12 @@
     port:docbook-xml-4.4 \
     port:docbook-xml-4.5
 
-fetch		{}
-checksum	{}
-extract		{}
-configure 	{}
-build		{}
-destroot	{ 
-	file mkdir ${destroot}${prefix}/share/doc/
-	file copy ${filespath}/README.${name}.txt ${destroot}${prefix}/share/doc
+use_configure   no
+
+build {}
+
+destroot { 
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 0644 ${filespath}/README ${destroot}${docdir}
 }

Copied: trunk/dports/textproc/docbook-xml/files/README (from rev 29434, trunk/dports/textproc/docbook-xml/files/README.docbook-xml.txt)
===================================================================
--- trunk/dports/textproc/docbook-xml/files/README	                        (rev 0)
+++ trunk/dports/textproc/docbook-xml/files/README	2007-09-23 20:08:07 UTC (rev 29443)
@@ -0,0 +1,11 @@
+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. 

Deleted: trunk/dports/textproc/docbook-xml/files/README.docbook-xml.txt
===================================================================
--- trunk/dports/textproc/docbook-xml/files/README.docbook-xml.txt	2007-09-23 19:34:42 UTC (rev 29442)
+++ trunk/dports/textproc/docbook-xml/files/README.docbook-xml.txt	2007-09-23 20:08:07 UTC (rev 29443)
@@ -1,11 +0,0 @@
-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. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070923/f19bb224/attachment.html


More information about the macports-changes mailing list