| 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 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | PortGroup python26 1.0 |
|---|
| 6 | |
|---|
| 7 | name py26-docutils |
|---|
| 8 | version 0.6 |
|---|
| 9 | revision 1 |
|---|
| 10 | categories-append textproc |
|---|
| 11 | maintainers jmr openmaintainer |
|---|
| 12 | description A set of tools for processing plaintext documentation |
|---|
| 13 | long_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. |
|---|
| 18 | platforms darwin |
|---|
| 19 | |
|---|
| 20 | homepage http://docutils.sourceforge.net/ |
|---|
| 21 | master_sites sourceforge:docutils |
|---|
| 22 | distname docutils-${version} |
|---|
| 23 | |
|---|
| 24 | checksums md5 5c615479a965bc773892f585e0e08119 \ |
|---|
| 25 | sha1 1b3bfc3bdf285c208dd0c29427fd6b096569aa92 \ |
|---|
| 26 | rmd160 627665526f25d93277b977c6bfdb1b3f0554d69a |
|---|
| 27 | |
|---|
| 28 | depends_lib port:py26-roman |
|---|
| 29 | |
|---|
| 30 | # we want *-2.6.py not *.py-2.6 |
|---|
| 31 | python.link_binaries no |
|---|
| 32 | post-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 | } |
|---|