# -*- 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 MMDAgent version 1.3 categories audio japanese multimedia maintainers hum openmaintainer description a toolkit for building voice interaction systems long_description ${name} is ${description}. homepage http://www.mmdagent.jp/ platforms darwin license BSD # Install sample data and scripts in the example package. set ex_name ${name}_Example set ex_distname ${ex_name}-${version} use_zip yes distfiles-append ${ex_distname}${extract.suffix}:ex master_sites sourceforge:project/mmdagent/${name}/${distname}/ \ sourceforge:project/mmdagent/${ex_name}/${ex_distname}/:ex checksums ${distname}${extract.suffix} \ rmd160 d10a0f11b8ac9bd3b5ccb29e0748e6c0595bda6f \ sha256 a23f553b80cb57c4382b95b721288b80aaf1f8bf638fb4be65c22c864cef537d \ ${ex_distname}${extract.suffix} \ rmd160 e0547acc5ccfb825c018daeda8b7b001cb013401 \ sha256 a5db6f41a72ffb129d4c77e2c54493af92d1dbd9e6427d7a4aa3759e03c67d78 patchfiles patch-Library_Julius.diff \ patch-Library_MMDAgent.diff \ patch-Plugin_Audio.diff supported_archs i386 use_configure no use_parallel_build no build.target carbon destroot { # install the application. xinstall -m 755 -d ${destroot}${applications_dir} file copy ${worksrcpath}/Release/MMDAgent.app \ ${destroot}${applications_dir} # install the sample data and scripts. foreach dir {Accessory Expression Model Motion Stage Voice} { file copy ${workpath}/${ex_distname}/${dir} \ ${destroot}${applications_dir}/MMDAgent.app/Contents/MacOS/ } foreach ext {dic fst mdf ojt} { file copy -force ${workpath}/${ex_distname}/MMDAgent_Example.${ext} \ ${destroot}${applications_dir}/MMDAgent.app/Contents/MacOS/MMDAgent.${ext} } } livecheck.type regex livecheck.url http://sourceforge.net/projects/mmdagent/files/${name}/ livecheck.regex /${name}-(\[0-9.\]+)/