# -*- 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 67271 2010-05-04 01:14:50Z blair@macports.org $

PortSystem          1.0
PortGroup           python25 1.0

name                py25-logilab-astng
version             0.19.3
maintainers         stechert openmaintainer
description         Python Abstract Syntax Tree New Generation
long_description    The aim of this module is to provide a common base representation of python source code for \
                    projects such as pychecker, pyreverse, pylint... Well, actually the development of this library \
                    is essentially governed by pylint's needs.

platforms           darwin

homepage            http://www.logilab.org/project/logilab-astng
master_sites        http://ftp.logilab.org/pub/astng \
                    ftp://ftp.logilab.fr/pub/astng
distname            logilab-astng-${version}

livecheck.type      regex
livecheck.url       http://ftp.logilab.org/pub/astng/
livecheck.regex     {logilab-astng-(\d+(?:\.\d+)*)\.tar\.gz}

checksums           md5     f3b9e324be1e59d521fbd0239bd7262b \
                    sha1    0d467e512b0c2b5b3e75d58de7f802e749290002 \
                    rmd160  22bb50949ed7790271b4fb5055b6b0178857d750

depends_lib-append  port:py25-logilab-common

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
        ${destroot}${prefix}/share/doc/${name}
    file delete ${destroot}/${prefix}/lib/python2.5/site-packages/logilab/__init__.py
}
