Ticket #18558: Portfile

File Portfile, 2.2 KB (added by krunk7@…, 15 years ago)

Portfile

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 44419 2008-12-28 09:31:44Z akitada@macports.org $
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                py26-configobj
8version             4.5.2
9maintainers         akitada openmaintainer
10description         Config file reading, writing and validation.
11long_description    ConfigObj is a simple but powerful config file \
12                    reader and writer: an ini file round tripper. \
13                    Its main feature is that it is very easy to use, \
14                    with a straightforward programmer's interface and \
15                    a simple syntax for config files. \
16                    It has lots of other features though : \
17                    \
18                    * Nested sections (subsections), to any level \
19                    * List values \
20                    * Multiple line values \
21                    * String interpolation (substitution) \
22                    * Integrated with a powerful validation system \
23                    \
24                        - including automatic type checking/conversion \
25                        - repeated sections \
26                        - and allowing default values \
27                    \
28                    * When writing out config files, ConfigObj \
29                      preserves all comments and the order of members \
30                      and sections \
31                    * Many useful methods and options for working with \
32                      configuration files (like the 'reload' method) \
33                    * Full Unicode support
34platforms           darwin
35homepage            http://www.voidspace.org.uk/python/configobj.html
36master_sites        sourceforge:configobj
37distname            configobj-${version}
38use_zip             yes
39checksums           md5 b84e6ce4f8ef5fa1c466cc3561099a66 \
40                    sha1 6a9e72cf55156a35abb7eb4df756b6884cfb77b6 \
41                    rmd160 a69935ec51fd267070d8c0517b1b39adfdd5c275
42post-destroot {
43    foreach f [glob -directory ${worksrcpath}/docs *] {
44        copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
45    }
46}