# -*- 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 mallet version 2.0.7 categories math java maintainers hum openmaintainer description MAchine Learning for LanguagE Toolkit (MALLET) long_description MALLET is a Java-based package for statistical natural \ language processing, document classification, clustering, \ topic modeling, information extraction, and other machine \ learning applications to text. homepage http://mallet.cs.umass.edu/ platforms darwin supported_archs noarch license CPL-1 master_sites http://mallet.cs.umass.edu/dist/ checksums rmd160 083f76b447521dbaa1d3b5747278a41e9b9ba741 \ sha256 bf34241b0589be2d28d57a4b369b4d722f273591cb28bf428d0167f58f91f161 patchfiles patch-mallet.diff use_configure no build {} destroot { set malletdir ${prefix}/share/java/${distname} set mallet_dest ${destroot}${malletdir} xinstall -m 755 ${worksrcpath}/bin/mallet ${destroot}${prefix}/bin reinplace "s|@malletdir@|${malletdir}|" ${destroot}${prefix}/bin/mallet xinstall -m 755 -d ${mallet_dest} xinstall -m 644 ${worksrcpath}/LICENSE ${mallet_dest} foreach d {dist sample-data} { copy ${worksrcpath}/${d} ${mallet_dest} system "chmod -R a+rx ${mallet_dest}/${d}" } } livecheck.type regex livecheck.url http://mallet.cs.umass.edu/download.php livecheck.regex ${name}-(\[\\d\\.\]+)\\.tar