Ticket #37211: Portfile.txt

File Portfile.txt, 2.4 KB (added by cowboycodur@…, 11 years ago)

Maintainer Change

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$
3
4PortSystem                  1.0
5
6name                        pianobar
7version                     2013.01.07
8categories                  audio
9platforms                   darwin
10maintainers                 gmail.com:cowboycodur
11license                     MIT
12homepage                    http://6xq.net/projects/pianobar/
13master_sites                http://6xq.net/static/projects/pianobar/
14use_bzip2                   yes
15
16description                 Console-based pandora.com player
17
18long_description            pianobar is a console client for the \
19                            personalized web radio pandora \
20                            (http://www.pandora.com).\
21                            Play and manage stations, rate songs and \
22                            see why they were selected, show upcoming \
23                            configure keybindings, last.fm scrobbling, \
24                            proxy support for listening outside of USA.
25
26checksums                   rmd160  3c8945dcb72317cfcd49322111535bbb6dcb9094 \
27                            sha256  a3909f796e7cef21b19d98282f332ecbcf9b2c60a2af22a0a2ce01e9c4d9f515
28
29depends_build               port:pkgconfig
30
31depends_lib                 port:gnutls \
32                            port:libgcrypt \
33                            port:json-c
34
35configure.cflags-append     -std=c99
36
37# Prevent upgrade failure.
38configure.cppflags-append   -isystem${prefix}/include
39configure.cppflags-delete   -I${prefix}/include
40
41use_configure               no
42
43variant universal {}
44
45build.args                  CC="${configure.cc} [get_canonical_archflags cc]" \
46                            PREFIX=${prefix} \
47                            CFLAGS="${configure.cflags} ${configure.cppflags}" \
48                            LDFLAGS="${configure.ldflags}"
49
50destroot.args               PREFIX=${prefix}
51
52if {$subport == $name} {
53    depends_lib-append      port:faad2 \
54                            port:libao \
55                            port:libmad
56}
57
58subport libpiano {
59    build.target            libpiano.so.0
60    destroot.target         install-libpiano
61    platform darwin {
62        build.target        libpiano.0.dylib
63    }
64}
65
66platform darwin {
67    patchfiles-append       patch-Makefile.diff
68}
69
70livecheck.type              regex
71livecheck.regex             ${name}-(\[0-9.\]+)${extract.suffix}