# -*- 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 87330 2011-11-17 08:15:40Z jmr@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

name                py-nltk
epoch               1
version             2.0.1rc1
categories          python textproc
platforms           darwin
maintainers         gmail.com:stevenbird1
supported_archs     noarch

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           sha1    4cd2b834875db6df2662a86a35f90d1e9bb8c1ce \
                    rmd160  2ae4a490b73a7d0dc49412a621ed8223761619ec

depends_lib         port:py24-numpy \
                    port:py24-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}
}
