source: trunk/dports/audio/ssrc/Portfile

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

ssrc: take maintainership.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 85043 2011-10-08 03:11:08Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ssrc
7version             1.30
8categories          audio
9platforms           darwin
10maintainers         hum openmaintainer
11license             LGPL-2.1
12
13description         A fast and high quality sampling rate converter SSRC
14
15long_description    SSRC converts sampling rate of PCM wav file. Also, this program has \
16                    a function to apply dither to its output and extend perceived dynamic range. \
17                    Sampling rates of 44.1kHz and 48kHz are populary used, but ratio of these \
18                    two frequency is 147:160, and it's not a small numbers. Therefore, sampling \
19                    rate conversion without degradation of sound quality requires filter with very \
20                    large order, and it's difficult to achive both quality and speed. This program \
21                    achived relatively fast and high quality with two different kinds of filters \
22                    combined skillfully.
23
24homepage            http://shibatch.sourceforge.net/
25master_sites        ${homepage}download
26
27extract.suffix      .tgz
28
29checksums           sha1    0bd83caf06b34a9aae6c0e576aadcb20e62e82e0 \
30                    rmd160  ffc0e0e8d7edfd8e3761e8a7523ede9bb496b3ca
31
32use_configure       no
33
34variant universal {}
35
36build.args          CC=${configure.cc} CFLAGS="${configure.cflags} [get_canonical_archflags]"
37
38destroot {
39    xinstall -m 755 -W ${worksrcpath} \
40        ssrc \
41        ssrc_hp \
42        ${destroot}${prefix}/bin
43    xinstall -d ${destroot}${prefix}/share/doc/${name}
44    xinstall -m 644 -W ${worksrcpath} \
45        LGPL.txt \
46        history.txt \
47        ssrc.txt \
48        ${destroot}${prefix}/share/doc/${name}
49}
50
51livecheck.type      regex
52livecheck.regex     ${name}-(\[0-9.\]+)\\.
Note: See TracBrowser for help on using the repository browser.