# -*- 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 # $Id$ PortSystem 1.0 name stanford-parser version 3.5.2 categories textproc java maintainers hum openmaintainer 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. homepage http://nlp.stanford.edu/software/lex-parser.shtml platforms darwin license GPL-2+ master_sites http://nlp.stanford.edu/software use_zip yes distname ${name}-full-2015-04-20 checksums rmd160 1266f8e9d67ea724272f25076c34ddeac116f0b5 \ sha256 dbad96205d64bd0d259b1fc99318ac0ff90452380a1159d22d4e7b5e9bd790b5 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.]+) *}