Ticket #23506: Portfile

File Portfile, 1.4 KB (added by doc.aronnax@…, 15 years ago)

New portfile for py26-docutils

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 63036 2010-01-24 10:43:40Z jmr@macports.org $
3
4PortSystem 1.0
5PortGroup python26 1.0
6
7name                py26-docutils
8version             0.6
9revision            1
10categories-append   textproc
11maintainers         jmr openmaintainer
12description         A set of tools for processing plaintext documentation
13long_description    Docutils is a set of tools for processing plaintext \
14                    documentation into useful formats, such as HTML, XML, \
15                    and LaTeX. Includes reStructuredText, the easy to read, \
16                    easy to use, what-you-see-is-what-you-get plaintext \
17                    markup language.
18platforms           darwin
19
20homepage            http://docutils.sourceforge.net/
21master_sites        sourceforge:docutils
22distname            docutils-${version}
23
24checksums           md5     5c615479a965bc773892f585e0e08119 \
25                    sha1    1b3bfc3bdf285c208dd0c29427fd6b096569aa92 \
26                    rmd160  627665526f25d93277b977c6bfdb1b3f0554d69a
27
28depends_lib         port:py26-roman
29
30# we want *-2.6.py not *.py-2.6
31python.link_binaries no
32post-destroot {
33    foreach f {rst2html rst2latex rst2newlatex rst2pseudoxml rst2s5 rst2xml rstpep2html} {
34        ln -s ${python.prefix}/bin/${f}.py ${destroot}${prefix}/bin/${f}-2.6.py
35    }
36}