Files
2025-11-20 20:59:42 -05:00

47 lines
1.5 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
github.setup nltk nltk 3.8.1
github.tarball_from archive
revision 0
name py-nltk
categories-append textproc
maintainers {gmail.com:stevenbird1 @stevenbird} openmaintainer
supported_archs noarch
platforms {darwin any}
license Apache-2
description Natural Language Toolkit
long_description NLTK is Python modules for research and development in natural language processing
homepage https://www.nltk.org/
checksums rmd160 a4b7e32caccd368487f6a67176a0971575022a46 \
sha256 676970e2b7aa0a7184e68f76e0c4f2756fd1b82559a509d5656a23117faeb658 \
size 2867926
python.versions 310 311 312 313
github.livecheck.regex {([\d.]+)}
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-click \
port:py${python.version}-joblib \
port:py${python.version}-regex \
port:py${python.version}-tqdm
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} \
ChangeLog \
LICENSE.txt \
README.md \
${destroot}${docdir}
}
}