source: trunk/dports/textproc/docbook2X/Portfile @ 122667

Last change on this file since 122667 was 122667, checked in by mojca@…, 5 years ago

change email of Thomas Lockhart

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 122667 2014-07-26 12:03:22Z mojca@macports.org $
3
4PortSystem          1.0
5
6name                docbook2X
7version             0.8.8
8revision            5
9categories          textproc
10platforms           darwin
11license             MIT
12maintainers         gmail.com:tlockhart1976 openmaintainer
13homepage            http://docbook2x.sourceforge.net/
14description         Converts DocBook documents into the traditional Unix man \
15                    page format and the GNU Texinfo format.
16long_description    ${description}
17master_sites        sourceforge:docbook2x
18checksums           md5 b9b76a6af198c4f44574cfd17a322f01
19
20conflicts           docbook-utils
21
22depends_lib         port:perl5.16 \
23                    port:p5.16-xml-namespacesupport \
24                    port:p5.16-xml-sax \
25                    port:p5.16-xml-parser \
26                    port:p5.16-xml-sax-expat \
27                    port:libiconv \
28                    port:libxml2
29
30post-patch          {
31    reinplace "s|http://docbook2x.sf.net/latest/xslt|${prefix}/share/docbook2X/xslt|" \
32        ${worksrcpath}/perl/db2x_xsltproc.pl
33    reinplace "s|/etc/xml/catalog|${prefix}/etc/xml/catalog|" \
34        ${worksrcpath}/perl/db2x_xsltproc.pl \
35        ${worksrcpath}/doc/db2x_xsltproc.1 \
36        ${worksrcpath}/doc/db2x_xsltproc.html \
37        ${worksrcpath}/doc/docbook2X.info
38    reinplace "s|\${prefix}|${prefix}|" \
39        ${worksrcpath}/configure
40}
Note: See TracBrowser for help on using the repository browser.