# -*- 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 54768 2009-08-01 23:48:57Z snc@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

name                py-nltk
version             2.0b5
epoch               1
categories          python textproc
platforms           darwin
maintainers         gmail.com:stevenbird1
description         Natural Language Toolkit
long_description    NLTK is Python modules for research and development in natural language processing
homepage            http://www.nltk.org/
master_sites        googlecode:nltk
distname            nltk-${version}

checksums           md5 a2af58d77942e3e484494783e3bd77f2 \
                    sha1 32431c00e544fba9bc898dc3c94c0213d8360751 \
                    rmd160 d572ef4bb098fd8ef032842aa9e667c664edd610

depends_lib         port:py-numpy \
                    port:py-matplotlib \
                    port:py-yaml

post-destroot {
    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
    xinstall -d ${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        LICENSE.txt \
        README.txt \
        INSTALL.txt \
        ${docdir}
}
