# -*- 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$ PortSystem 1.0 name docbook2X version 0.8.8 revision 3 categories textproc platforms darwin license MIT maintainers fourpalms.org:lockhart openmaintainer homepage http://docbook2x.sourceforge.net/ description Converts DocBook documents into the traditional Unix man \ page format and the GNU Texinfo format. long_description ${description} master_sites sourceforge:docbook2x checksums md5 b9b76a6af198c4f44574cfd17a322f01 conflicts docbook-utils depends_lib port:perl5.12 \ port:p5.12-xml-namespacesupport \ port:p5.12-xml-sax \ port:p5.12-xml-parser \ port:p5.12-xml-sax-expat \ port:libiconv \ port:libxml2 post-patch { reinplace "s|http://docbook2x.sf.net/latest/xslt|${prefix}/share/docbook2X/xslt|" \ ${worksrcpath}/perl/db2x_xsltproc.pl reinplace "s|/etc/xml/catalog|${prefix}/etc/xml/catalog|" \ ${worksrcpath}/perl/db2x_xsltproc.pl \ ${worksrcpath}/doc/db2x_xsltproc.1 \ ${worksrcpath}/doc/db2x_xsltproc.html \ ${worksrcpath}/doc/docbook2X.info reinplace "s|\${prefix}|${prefix}|" \ ${worksrcpath}/configure }