source: trunk/dports/audio/chuck/Portfile @ 133522

Last change on this file since 133522 was 133522, checked in by ryandesign@…, 4 years ago

chuck: new port, version 1.3.5.0 (#47016)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 133522 2015-03-04 00:45:18Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                chuck
7version             1.3.5.0
8categories          audio
9platforms           darwin
10maintainers         nomaintainer
11license             GPL-2+
12
13description         Chuck is a strongly-timed, concurrent, and on-the-fly \
14                    music programming language.
15
16long_description    ChucK is a programming language for real-time \
17                    sound synthesis and music creation. It presents \
18                    a time-based, concurrent programming model \
19                    that's precise and expressive (we call this \
20                    strongly-timed), along with dynamic control rates, \
21                    and the ability to add and modify code \
22                    on-the-fly. In addition, ChucK supports MIDI, \
23                    OpenSoundControl, HID device, and multi-channel \
24                    audio.
25
26homepage            http://chuck.cs.princeton.edu/
27master_sites        ${homepage}release/files/
28extract.suffix      .tgz
29
30checksums           rmd160  bde1c857d72522c0673066817c42cd3daa4edf03 \
31                    sha256  658e361ceb2ef263c38432e8182664dfe7bf0473fc4580a392a4326b66a14266
32
33depends_build       port:bison \
34                    port:flex
35
36depends_lib         port:libsndfile
37
38patchfiles          patch-makefile.osx.diff
39
40use_configure       no
41
42variant universal {}
43
44build.dir           ${worksrcpath}/src
45build.type          gnu
46build.args-append   ARCHS="[get_canonical_archs]" \
47                    CC="${configure.cc}" \
48                    CXX="${configure.cxx}" \
49                    LD="${configure.cxx}"
50
51destroot {
52    xinstall -m 755 ${worksrcpath}/src/chuck ${destroot}${prefix}/bin
53    xinstall -d ${destroot}${prefix}/share/doc/${name} ${destroot}${prefix}/share/examples
54    xinstall -m 644 -W ${worksrcpath} \
55        AUTHORS COPYING DEVELOPER PROGRAMMER QUICKSTART \
56        README THANKS TODO VERSIONS doc/GOTO \
57        ${destroot}${prefix}/share/doc/${name}
58    copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
59}
60
61platform darwin {
62    build.target    osx
63}
64
65livecheck.regex     {^\s+(\d+\.\d+\.\d+\.\d+)\s+\(.*\)$}
66livecheck.type      regex
67livecheck.url       ${homepage}release/
Note: See TracBrowser for help on using the repository browser.