source: trunk/dports/audio/qtplay/Portfile

Last change on this file was 86676, checked in by jmr@…, 6 years ago

qtplay: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 86676 2011-10-31 18:19:22Z ryandesign@macports.org $
2
3PortSystem              1.0
4
5name                    qtplay
6version                 1.3.1
7categories              audio
8license                 BSD
9platforms               macosx
10maintainers             nomaintainer
11
12description \
13    a command line utility to play Audio CDs and music files
14
15long_description \
16    ${name} is ${description}. \
17    Plays any audio file supported by QuickTime \
18    Special flag for simply playing CDs, for lazy people. \
19    Playlist features such as loop, shuffle, and random. \
20    Special flag for reading playlist via standard input. \
21    Support for process signals: SIGINT, SIGTSTP, and SIGCONT.
22
23homepage                http://rainbowflight.googlepages.com/
24master_sites            ${homepage}
25distname                ${name}${version}
26
27checksums               md5     f6cb47521afbfc5b40efdd2d8433830d \
28                        sha1    fd7394675c972377a48c2ff8e0a774853c0be6a3 \
29                        rmd160  4c97ee8d38537f52547cb7a4d31eced0a93f2054
30
31use_parallel_build      no
32
33extract.mkdir           yes
34post-extract {
35    file delete ${worksrcpath}/${name}
36}
37
38use_configure           no
39
40configure.ldflags       -framework Carbon -framework QuickTime
41
42# Force 32-bit (#21115)
43supported_archs         ppc i386
44installs_libs           no
45
46build {
47    set cmd "cd ${worksrcpath} && ${configure.cc} -o ${name} ${configure.ldflags} ${configure.cc_archflags} ${name}.c"
48    ui_debug ${cmd}
49    system ${cmd}
50}
51
52destroot {
53    xinstall -m 755 -W ${worksrcpath} ${name} \
54        ${destroot}${prefix}/bin
55    xinstall -m 644 -W ${worksrcpath} ${name}.1 \
56        ${destroot}${prefix}/share/man/man1
57}
58
59livecheck.type          regex
60livecheck.regex         ${name}(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.