Ticket #47016: Portfile

File Portfile, 1.9 KB (added by slewsys (Andrew L. Moore), 10 years ago)
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
3PortSystem          1.0
4
5name                chuck
6version             1.3.5.0
7license             GPL
8categories          audio
9maintainers         nomaintainer
10platforms           darwin
11description         Chuck is a strongly-timed, concurrent, and on-the-fly       \
12                    music programming language.
13
14long_description    ChucK is a programming language for real-time       \
15                    sound synthesis and music creation. It presents \
16                    a time-based, concurrent programming model \
17                    that's precise and expressive (we call this \
18                    strongly-timed), along with dynamic control rates, \
19                    and the ability to add and modify code \
20                    on-the-fly. In addition, ChucK supports MIDI, \
21                    OpenSoundControl, HID device, and multi-channel \
22                    audio.
23
24homepage            http://chuck.cs.princeton.edu
25master_sites        ${homepage}release/files/
26
27extract.suffix      .tgz
28
29checksums           rmd160  bde1c857d72522c0673066817c42cd3daa4edf03 \
30                    sha256  658e361ceb2ef263c38432e8182664dfe7bf0473fc4580a392a4326b66a14266
31
32depends_lib         port:libsndfile
33
34patchfiles          patch-makefile.osx
35
36use_configure       no
37
38build.dir           ${worksrcpath}/src
39build.type          gnu
40
41platform darwin {
42    build.target    osx
43}
44
45destroot {
46    xinstall -m 755 ${worksrcpath}/src/chuck ${destroot}${prefix}/bin
47    xinstall -d ${destroot}${prefix}/share/doc/${name}
48    xinstall -m 644 ${worksrcpath}/doc/GOTO ${destroot}${prefix}/share/doc/${name}
49    exec cp -a ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
50}
51
52livecheck.regex     {^\s+(\d+\.\d+\.\d+\.\d+)\s+\(.*\)$}
53livecheck.type      regex
54livecheck.url       ${homepage}release/