source: trunk/dports/audio/rubberband/Portfile

Last change on this file was 140288, checked in by ryandesign@…, 2 years ago

rubberband: doesn't support PowerPC systems (#48489)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 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 140288 2015-09-16 15:59:03Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                rubberband
7version             1.8.1
8set download_id     34
9categories          audio
10platforms           darwin
11maintainers         ryandesign openmaintainer
12license             GPL-2+
13
14description         audio time-stretching and pitch-shifting library and utility program
15
16long_description    Rubber Band is a library and utility program that permits \
17                    changing the tempo and pitch of an audio recording \
18                    independently of one another.
19
20homepage            http://breakfastquay.com/rubberband/
21master_sites        http://code.breakfastquay.com/attachments/download/${download_id}/
22use_bzip2           yes
23
24checksums           rmd160  21178218aeffb0a0827ba8c4fd32e95f5a08b295 \
25                    sha256  ff0c63b0b5ce41f937a8a3bc560f27918c5fe0b90c6bc1cb70829b86ada82b75
26
27depends_lib         port:libsndfile
28
29patchfiles          patch-Makefile.osx.diff
30patchfiles-append   patch-Accelerate.diff
31
32# error: unrecognized command line option "-mfpmath=sse"
33supported_archs     i386 x86_64
34
35use_configure       no
36
37variant universal {}
38
39build.target        default
40build.args          -f Makefile.osx \
41                    ARCHFLAGS="[get_canonical_archflags cc]" \
42                    CC=${configure.cc} \
43                    CXX=${configure.cxx} \
44                    PREFIX=${prefix}
45
46eval destroot.args  ${build.args}
47
48post-destroot {
49    set docdir ${prefix}/share/doc/${subport}
50    xinstall -d ${destroot}${docdir}
51    xinstall -m 644 -W ${worksrcpath} \
52        CHANGELOG \
53        COPYING \
54        README.txt \
55        ${destroot}${docdir}
56}
57
58livecheck.type      regex
59livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.