# -*- 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 name stanford-parser version 4.2.0 revision 0 checksums rmd160 e38741cd531dacfdabff0286292aa07d84e7c816 \ sha256 8c2110c78f7f82b66bcf91089a18e415669eda4346bbd9a6e3bc2bde63e5fed1 \ size 182285548 categories textproc java maintainers nomaintainer description a Java implementation of probabilistic natural language parsers long_description {*}${description}, both highly optimized PCFG and lexicalized \ dependency parsers, and a lexicalized PCFG parser. platforms any license GPL-2+ master_sites https://nlp.stanford.edu/software/ homepage ${master_sites}lex-parser.html use_zip yes patchfiles wrappers.patch use_configure no supported_archs noarch build {} destroot { # install jar files and scripts. set dest_java ${destroot}${prefix}/share/java/${name} xinstall -d ${dest_java} xinstall -m 644 -W ${worksrcpath} \ stanford-parser.jar \ stanford-parser-${version}-models.jar \ ${dest_java} xinstall -m 755 -W ${worksrcpath} \ lexparser.sh \ lexparser-gui.sh \ ${dest_java} # install additional documents. set dest_doc ${destroot}${prefix}/share/doc/${name} xinstall -d ${dest_doc} xinstall -m 644 -W ${worksrcpath} \ LICENSE.txt README.txt README_dependencies.txt \ StanfordDependenciesManual.pdf \ ${dest_doc} } notes " $name requires Java v1.8+ " livecheck.type regex livecheck.regex {Version *([0-9.]+) *}