# -*- 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.1 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 3462ecef58e9efcc047f6ff29aba3a951f3d4eb4 \ sha256 6289633da95450b12a95d5ed1e27d4ca4906880f6b2ecc0fcdfa51e69ca2349d \ ${ex_distname}${extract.suffix} \ rmd160 592277091d8ded3e7fe0f037e2d4d96f3ca85b5a \ sha256 0521ae9b7fc4b300d2364ad7595acf3285fac517ed8496324c8df54af09aacd3 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.\]+)/