# $Id: Portfile,v 1.15 2004/11/30 13:49:18 michaelm Exp $ PortSystem 1.0 name docbook-xml version 4.3 description the docbook xml dtds categories textproc platforms darwin maintainers michaelm@opendarwin.org depends_build bin:unzip:unzip master_sites http://www.oasis-open.org/docbook/xml/4.3/ checksums md5 ab200202b9e136a144db1e0864c45074 use_zip yes extract.suffix .zip extract.cmd unzip configure {} build {} destroot { file mkdir ${destroot}/${prefix}/share/xml/${name}/${version} file mkdir ${destroot}/${prefix}/share/xml/${name}/${version}/ent system "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" }