Ticket #27496: Portfile

File Portfile, 1.6 KB (added by marshall.perrin@…, 14 years ago)
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 69532 2010-07-09 01:08:45Z jmr@macports.org $
3
4PortSystem 1.0
5PortGroup python27 1.0
6
7name                py27-docutils
8version             0.7
9categories-append   textproc
10license             GPL-2 PSF-2.1.1
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
19supported_archs     noarch
20
21homepage            http://docutils.sourceforge.net/
22master_sites        sourceforge:docutils
23distname            docutils-${version}
24
25checksums           md5     9aec716baf15d06b5aa57cf8d5591c15 \
26                    sha1    e82988f826844ef8d8bf28fa286a19de211349cd \
27                    rmd160  73c832860405c3cba655c92aacccca1582c8f905
28
29depends_lib         port:py27-roman
30
31# we want *-2.6.py not *.py-2.6
32python.link_binaries no
33post-destroot {
34    foreach f {rst2html rst2latex rst2man rst2newlatex rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xml rstpep2html} {
35        ln -s ${python.prefix}/bin/${f}.py ${destroot}${prefix}/bin/${f}-2.6.py
36    }
37}
38
39livecheck.url       http://sourceforge.net/api/file/index/project-id/38414/rss
40livecheck.regex     {docutils/([0-9.]+)}