source: trunk/dports/audio/sctk/Portfile

Last change on this file was 141041, checked in by ryandesign@…, 22 months ago

sctk: update to 2.4.10

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 141041 2015-10-08 14:30:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                sctk
7version             2.4.10
8set timestamp       20151007-1312Z
9description         Speech Recognition Scoring Toolkit
10long_description    \
11    NIST ${description}
12maintainers         ryandesign openmaintainer
13categories          audio
14license             public-domain
15platforms           darwin freebsd
16
17homepage            http://nist.gov/itl/iad/mig/tools.cfm
18master_sites        ftp://jaguar.ncsl.nist.gov/pub/
19use_bzip2           yes
20distfiles           ${distname}-${timestamp}${extract.suffix}
21
22checksums           rmd160  87ce0f9c7ae75719e9e749eb01cbc3c2e3a22363 \
23                    sha256  9cef424ce3a899f83b9527dc6fa83badf1bb14151529a78580301dd248bd2bf9
24
25configure.cmd       make
26configure.args      config
27configure.pre_args  PREFIX=${prefix}
28configure.universal_args
29
30patchfiles          DESTDIR.patch
31
32post-destroot {
33    system -W ${worksrcpath}/doc "make all"
34
35    set docdir ${prefix}/share/doc/${subport}
36    xinstall -d ${destroot}${docdir}
37
38    xinstall -m 644 {*}[glob -directory ${worksrcpath}/doc/ *.gif *.htm *.html *.txt] ${destroot}${docdir}
39    copy ${worksrcpath}/doc/rover ${destroot}${docdir}
40    xinstall -m 644 {*}[glob ${worksrcpath}/doc/*.1] ${destroot}${prefix}/share/man/man1
41}
Note: See TracBrowser for help on using the repository browser.