source: trunk/dports/audio/palmkit/Portfile

Last change on this file was 83496, checked in by hum@…, 6 years ago

palmkit: modify the primary category to audio and move the directory; change maintainers.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 83496 2011-09-03 14:01:52Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                palmkit
7version             1.0.32
8revision            3
9categories          audio textproc japanese
10platforms           darwin
11maintainers         hum openmaintainer
12license             BSD
13
14description         Publicly Available Language Modeling toolKIT
15long_description    ${description}
16
17homepage            http://palmkit.sourceforge.net/
18master_sites        ${homepage}
19
20checksums           sha1    c63fdc780ff214c324c2c519219694fe68da90bf \
21                    rmd160  c836b42009a819ea12b4c8148eacc27fc0012b7b
22
23worksrcdir          ${distname}/src
24
25# respect build_arch
26patchfiles          patch-configure.diff
27
28# fix shebang lines in scripts
29patchfiles-append   patch-scripts.diff \
30                    patch-src.diff
31
32configure.args      --enable-largefile \
33                    --enable-longid
34
35depends_build       port:nkf
36
37use_parallel_build  no
38
39universal_variant   no
40
41set install_srcdir  ${workpath}/${distname}
42set src_docdir      ${install_srcdir}/doc
43set dest_docdir     ${destroot}${prefix}/share/doc/${name}
44
45post-destroot {
46    eval xinstall -m 755 [glob ${install_srcdir}/bin/*]     ${destroot}${prefix}/bin
47    eval xinstall -m 644 [glob ${install_srcdir}/include/*] ${destroot}${prefix}/include
48    eval xinstall -m 644 [glob ${install_srcdir}/lib/*]     ${destroot}${prefix}/lib
49    file mkdir ${dest_docdir}
50    eval xinstall -m 644 [glob ${install_srcdir}/doc/*.eps] ${dest_docdir}
51    eval xinstall -m 644 [glob ${install_srcdir}/doc/*.png] ${dest_docdir}
52    # Convert text encodings to UTF-8.
53    foreach html_path [glob -directory ${src_docdir} *.html] {
54        set html [file tail ${html_path}]
55        system "${prefix}/bin/nkf -w ${html_path} > ${dest_docdir}/${html}"
56    }
57    foreach doc {ChangeLog README.jp} {
58        system "${prefix}/bin/nkf -w ${install_srcdir}/${doc} > ${dest_docdir}/${doc}"
59    }
60}
61
62livecheck.type      regex
63livecheck.regex     ${name}-(\[0-9.\]+)\\.
Note: See TracBrowser for help on using the repository browser.