Ticket #20368: Portfile-py26-nltk

File Portfile-py26-nltk, 1.2 KB (added by stevenbird1@…, 15 years ago)

New portfile for Python 2.6

Line 
1# -*- 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
2# $Id: Portfile 51994 2009-06-08 04:31:28Z macsforever2000@macports.org $
3
4PortSystem          1.0
5PortGroup           python26 1.0
6
7name                py26-nltk
8version             2.0b5
9categories          python textproc
10platforms           darwin
11maintainers         gmail.com:stevenbird1
12description         Natural Language Toolkit
13long_description    NLTK is Python modules for research and development in natural language processing
14homepage            http://www.nltk.org/
15master_sites        googlecode:nltk
16distname            nltk-${version}
17
18checksums           md5 a2af58d77942e3e484494783e3bd77f2 \
19                    sha1 32431c00e544fba9bc898dc3c94c0213d8360751 \
20                    rmd160 d572ef4bb098fd8ef032842aa9e667c664edd610
21
22depends_lib         port:py26-numpy \
23                    port:py26-matplotlib \
24                    port:py26-yaml
25
26post-destroot {
27    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
28    xinstall -d ${docdir}
29    xinstall -m 644 -W ${worksrcpath} \
30        LICENSE.txt \
31        README.txt \
32        INSTALL.txt \
33        ${docdir}
34}