# -*- 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 49974 2009-04-21 17:51:57Z jmr@macports.org $

PortSystem 1.0
PortGroup python26 1.0

name                py26-docutils
version             0.5
revision            1
categories-append   textproc
maintainers         jmr openmaintainer
description         A set of tools for processing plaintext documentation
long_description    Docutils is a set of tools for processing plaintext \
                    documentation into useful formats, such as HTML, XML, \
                    and LaTeX. Includes reStructuredText, the easy to read, \
                    easy to use, what-you-see-is-what-you-get plaintext \
                    markup language.
platforms           darwin

homepage            http://docutils.sourceforge.net/
master_sites        sourceforge:docutils
distname            docutils-${version}

checksums           md5     dd72dac92fc8e3eb0f48c3effeef80f6 \
                    sha1    70ca2dd94969ddf76217e5fe907b0b23f16cc199 \
                    rmd160  3e8dfd2923528bbeac0ca33ccfe6f576c74f1886

post-destroot {
    foreach f {rst2html rst2latex rst2newlatex rst2pseudoxml rst2s5 rst2xml rstpep2html} {
        ln -s ${python.prefix}/bin/${f}.py ${destroot}${prefix}/bin/${f}-2.6.py
    }
}
