[25686] trunk/dports/textproc/docbook-xml-412/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Mon May 28 04:29:06 PDT 2007
Revision: 25686
http://trac.macosforge.org/projects/macports/changeset/25686
Author: rhwood at macports.org
Date: 2007-05-28 04:29:05 -0700 (Mon, 28 May 2007)
Log Message:
-----------
Depends on docbook-xml-4.1.2
Bump revision to force upgrade for all users
Schedule this port for removal sometime in July in ticket:12030
Modified Paths:
--------------
trunk/dports/textproc/docbook-xml-412/Portfile
Modified: trunk/dports/textproc/docbook-xml-412/Portfile
===================================================================
--- trunk/dports/textproc/docbook-xml-412/Portfile 2007-05-28 07:39:49 UTC (rev 25685)
+++ trunk/dports/textproc/docbook-xml-412/Portfile 2007-05-28 11:29:05 UTC (rev 25686)
@@ -4,87 +4,20 @@
name docbook-xml-412
version 4.1.2
-description the docbook xml dtds
+revision 1
+description This port is depreciated in favor of port:docbook-xml-4.1.2t
categories textproc
platforms darwin
maintainers rhwood at macports.org openmaintainer at macports.org
-depends_build bin:unzip:unzip
distname docbkx412
-master_sites http://www.oasis-open.org/docbook/xml/4.1.2/
-checksums md5 900d7609fb7e6d78901b357e4acfbc17
+depends_lib port:docbook-xml-4.1.2
-use_zip yes
-extract.suffix .zip
-extract.cmd unzip
-
-depends_build bin:xmlcatalog:libxml2
-
+fetch {}
+checksum {}
+extract {}
configure {}
build {}
-
-destroot {
- file mkdir ${destroot}/${prefix}/share/xml/docbook/${version}
- file mkdir ${destroot}/${prefix}/share/xml/docbook/${version}/ent
- system "for file in \
- `unzip -l ${distpath}/${distname} | awk '/:\[0-9\].*\[^\\/\]\$/\{print \$4\}'`; do \
- install -cv ${workpath}/\$file ${destroot}/${prefix}/share/xml/docbook/${version}/\$file; \
- done"
-}
-
-post-activate {
- file mkdir ${prefix}/etc/xml
- if {![file exists ${prefix}/etc/xml/docbook]} {
- system "xmlcatalog --noout --create ${prefix}/etc/xml/docbook"
- }
- system "\
- xmlcatalog --noout --add 'public' \
- '-//OASIS//ELEMENTS DocBook XML Information Pool V${version}//EN' \
- 'file://${prefix}/share/xml/docbook/${version}/dbpoolx.mod' ${prefix}/etc/xml/docbook
- xmlcatalog --noout --add 'public' \
- '-//OASIS//DTD DocBook XML V${version}//EN' \
- 'file://${prefix}/share/xml/docbook/${version}/docbookx.dtd' ${prefix}/etc/xml/docbook
- xmlcatalog --noout --add 'public' \
- '-//OASIS//ENTITIES DocBook XML Character Entities V${version}//EN' \
- 'file://${prefix}/share/xml/docbook/${version}/dbcentx.mod' ${prefix}/etc/xml/docbook
- xmlcatalog --noout --add 'public' \
- '-//OASIS//ENTITIES DocBook XML Notations V${version}//EN' \
- 'file://${prefix}/share/xml/docbook/${version}/dbnotnx.mod' ${prefix}/etc/xml/docbook
- xmlcatalog --noout --add 'public' \
- '-//OASIS//ENTITIES DocBook XML Additional General Entities V${version}//EN' \
- 'file://${prefix}/share/xml/docbook/${version}/dbgenent.mod' ${prefix}/etc/xml/docbook
- xmlcatalog --noout --add 'public' \
- '-//OASIS//ELEMENTS DocBook XML Document Hierarchy V${version}//EN' \
- 'file://${prefix}/share/xml/docbook/${version}/dbhierx.mod' ${prefix}/etc/xml/docbook
- xmlcatalog --noout --add 'public' \
- '-//OASIS//DTD XML Exchange Table Model 19990315//EN' \
- 'file://${prefix}/share/xml/docbook/${version}/soextblx.dtd' ${prefix}/etc/xml/docbook
- xmlcatalog --noout --add 'public' \
- '-//OASIS//DTD DocBook XML CALS Table Model V${version}//EN' \
- 'file://${prefix}/share/xml/docbook/${version}/calstblx.dtd' ${prefix}/etc/xml/docbook
- xmlcatalog --noout --add 'rewriteSystem' \
- 'http://www.oasis-open.org/docbook/xml/${version}' \
- 'file://${prefix}/share/xml/docbook/${version}' ${prefix}/etc/xml/docbook
- xmlcatalog --noout --add 'rewriteURI' \
- 'http://www.oasis-open.org/docbook/xml/${version}' \
- 'file://${prefix}/share/xml/docbook/${version}' ${prefix}/etc/xml/docbook
- "
- # add catalog above to root XML catalog
- if {![file exists ${prefix}/etc/xml/catalog]} {
- system "xmlcatalog --noout --create ${prefix}/etc/xml/catalog"
- }
- system "\
- xmlcatalog --noout --add 'delegatePublic' \
- '-//OASIS//ENTITIES DocBook XML' \
- 'file://${prefix}/etc/xml/docbook' ${prefix}/etc/xml/catalog
- xmlcatalog --noout --add 'delegatePublic' \
- '-//OASIS//DTD DocBook XML' \
- 'file://${prefix}/etc/xml/docbook' ${prefix}/etc/xml/catalog
- xmlcatalog --noout --add 'delegateSystem' \
- 'http://www.oasis-open.org/docbook/' \
- 'file://${prefix}/etc/xml/docbook' ${prefix}/etc/xml/catalog
- xmlcatalog --noout --add 'delegateURI' \
- 'http://www.oasis-open.org/docbook/' \
- 'file://${prefix}/etc/xml/docbook' ${prefix}/etc/xml/catalog
- "
-}
+destroot {}
+install {}
+activate {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070528/6458dba8/attachment.html
More information about the macports-changes
mailing list