# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 119782 2014-05-06 19:50:37Z pixilla@macports.org $ PortSystem 1.0 PortGroup xmlcatalog 1.0 name docbook-sgml-4.2 version [strsed ${name} {s/docbook-sgml-//}] revision 1 description Version ${version} of the DocBook SGML DTDs long_description \ Version ${version} of the DocBook SGML DTDs, which provide a structured,\ semantic markup format for books and documentation, especially for\ computer hardware and software. categories textproc license MIT Permissive platforms darwin maintainers phlo.org:fgp supported_archs noarch homepage http://www.docbook.org/sgml/${version}/ depends_lib port:iso8879 depends_run port:docbook-dsssl master_sites http://www.oasis-open.org/docbook/sgml/${version}/ distname docbook-${version} worksrcdir ${distname} checksums rmd160 f97bf5c595f1f28d0bb4be6549b27f701da7c9f8 \ sha256 67ebd2c94b342718c6865d2de60f5d4ff02d77a7e4b0d9e72a48c45f2b2635c3 use_zip yes extract.mkdir yes use_configure no set install_dir ${prefix}/share/sgml/docbook/${version} sgml.catalog "${install_dir}/docbook.cat" build {} destroot { set destroot_dir ${destroot}${install_dir} set destroot_files [readdir ${worksrcpath}] xinstall -m 755 -d ${destroot_dir} foreach file ${destroot_files} { copy ${worksrcpath}/${file} ${destroot_dir} } }