# -*- 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           python26 1.0

name                py26-logilab-astng
version             0.20.0
maintainers         dh 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.url       http://ftp.logilab.org/pub/astng/
livecheck.type      regex
livecheck.regex     {logilab-astng-(\d+(?:\.\d+)*)\.tar\.gz}

checksums           md5     6c29c2208ea5a74643baa502743444c5 \
                    sha1    7a7449d0ec2e48ece29a48f457e5243215c758f7 \
                    rmd160  4ab0394c3aa0b62654ce385b5713304f32520209        

depends_lib-append  port:py26-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}/${python.prefix}/lib/python2.6/site-packages/logilab/__init__.py
}
