# -*- 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 8 categories textproc platforms darwin license MIT maintainers gmail.com:tlockhart1976 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 set perl_version 5.24 depends_lib port:perl${perl_version} \ port:p${perl_version}-xml-namespacesupport \ port:p${perl_version}-xml-sax \ port:p${perl_version}-xml-parser \ port:p${perl_version}-xml-sax-expat \ port:libiconv \ port:libxml2 configure.args PERL=${prefix}/bin/perl${perl_version} 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 }