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

Last change on this file since 130550 was 130550, checked in by larryv@…, 5 years ago

py32-nltk: Replace with py34

  • 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 130550 2014-12-31 22:19:10Z larryv@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           python 1.0
7
8github.setup        nltk nltk 3.0.0
9name                py-nltk
10categories-append   textproc
11platforms           darwin
12maintainers         hum gmail.com:stevenbird1 openmaintainer
13supported_archs     noarch
14license             Apache-2.0
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
20checksums           rmd160  acf1c137d2447a7358ff3c3f42e615384a719ecb \
21                    sha256  e7bac4c515661f92f5c8bd4d698cee1a7f96e50bdf0bd7655ec0fd5aed84319b
22
23python.versions     26 27 33 34
24
25if {${name} ne ${subport}} {
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.