# $Id: Portfile 99643 2012-11-13 04:26:02Z singingwolfboy@macports.org $ PortSystem 1.0 name sctk version 2.4.0 description Speech Recognition Scoring Toolkit long_description \ NIST ${description} maintainers nomaintainer categories audio platforms darwin freebsd homepage http://www.itl.nist.gov/iad/mig/ master_sites ftp://jaguar.ncsl.nist.gov/pub/ distname ${name}-${version}-20091110-0958 use_bzip2 yes checksums md5 77912e75304098ffcc6850ecf641d1a4 \ sha1 6c0fdc2806cd9d19fe635806517e6f0517d4dba2 \ rmd160 3022f4b49c100f61ca9c818f5f5e3c3ab20a64d5 worksrcdir ${name}-${version} configure.cmd make configure.args config configure.pre_args PREFIX=${prefix} configure.universal_args patchfiles DESTDIR.patch post-destroot { system "cd ${worksrcpath}/doc && make all" set docdir ${destroot}${prefix}/share/doc/${name} set mandir ${destroot}${prefix}/share/man/man1 xinstall -d ${docdir} ${mandir} eval xinstall [glob ${worksrcpath}/doc/*.htm] ${docdir} eval xinstall [glob ${worksrcpath}/doc/*.html] ${docdir} eval xinstall [glob ${worksrcpath}/doc/*.gif] ${docdir} eval xinstall [glob ${worksrcpath}/doc/*.txt] ${docdir} file copy ${worksrcpath}/doc/rover ${docdir} eval xinstall [glob ${worksrcpath}/doc/*.1] ${mandir} }