source: trunk/dports/python/py-nltk/Portfile

Last change on this file was 139871, checked in by jmr@…, 2 years ago

use expected license version number format (no trailing .0)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
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 139871 2015-08-31 10:47:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           python 1.0
7
8github.setup        nltk nltk 3.0.4
9name                py-nltk
10categories-append   textproc
11platforms           darwin
12maintainers         hum gmail.com:stevenbird1 openmaintainer
13supported_archs     noarch
14license             Apache-2
15
16description         Natural Language Toolkit
17long_description    NLTK is Python modules for research and development in natural language processing
18homepage            http://www.nltk.org/
19
20python.versions     27 34
21
22if {${name} ne ${subport}} {
23    checksums       rmd160  5c4f00776485b189d5d58f4ad01e50beead2cb73 \
24                    sha256  09d039ba03c572b6057d7d9f61a59fe9c0e06bfd8c1dc7a33e78b43d36387e5a
25
26    depends_build   port:py${python.version}-setuptools
27    depends_lib     port:py${python.version}-numpy \
28                    port:py${python.version}-yaml \
29                    port:py${python.version}-matplotlib
30
31    post-destroot {
32        set docdir ${prefix}/share/doc/${subport}
33        xinstall -d ${destroot}${docdir}
34        xinstall -m 644 -W ${worksrcpath} \
35            ChangeLog \
36            LICENSE.txt \
37            README.md \
38            README.txt \
39            ${destroot}${docdir}
40    }
41
42    livecheck.type      none
43} else {
44    livecheck.regex     archive/(\[\\d\\.\]+)${extract.suffix}
45}
Note: See TracBrowser for help on using the repository browser.