diff -ur /Users/bhartvigsen/MacPorts/audio/pianobar/Portfile ./Portfile
old
|
new
|
|
2 | 2 | # $Id: Portfile 104704 2013-04-01 03:14:41Z jeremyhu@macports.org $ |
3 | 3 | |
4 | 4 | PortSystem 1.0 |
| 5 | PortGroup github 1.0 |
| 6 | |
| 7 | github.setup PromyLOPh pianobar 2013.09.15 |
5 | 8 | |
6 | | name pianobar |
7 | | version 2012.12.01 |
8 | | revision 1 |
9 | 9 | categories audio |
10 | 10 | platforms darwin |
11 | 11 | maintainers gmail.com:aguynamedryan+pianobar |
12 | 12 | license MIT |
13 | | homepage http://6xq.net/projects/pianobar/ |
14 | | master_sites http://6xq.net/static/projects/pianobar/ |
15 | | use_bzip2 yes |
16 | 13 | |
17 | 14 | description Console-based pandora.com player |
18 | 15 | |
… |
… |
|
24 | 21 | configure keybindings, last.fm scrobbling, \ |
25 | 22 | proxy support for listening outside of USA. |
26 | 23 | |
27 | | checksums rmd160 3c8945dcb72317cfcd49322111535bbb6dcb9094 \ |
28 | | sha256 a3909f796e7cef21b19d98282f332ecbcf9b2c60a2af22a0a2ce01e9c4d9f515 |
| 24 | checksums rmd160 553ccf96604958e3652207dbc4be62fa78d6fe10 \ |
| 25 | sha256 2f7a8bcf15c77f2e60dc387152d019bafd769636057bdde87c63ac52d77f0176 |
29 | 26 | |
30 | 27 | depends_build port:pkgconfig |
31 | 28 | |
… |
… |
|
33 | 30 | port:libgcrypt \ |
34 | 31 | port:json-c |
35 | 32 | |
36 | | configure.cflags-append -std=c99 |
37 | | |
38 | | # Prevent upgrade failure. |
39 | | configure.cppflags-append -isystem${prefix}/include |
40 | | configure.cppflags-delete -I${prefix}/include |
41 | | |
42 | 33 | use_configure no |
43 | 34 | |
44 | | variant universal {} |
45 | | |
46 | | build.args CC="${configure.cc} [get_canonical_archflags cc]" \ |
47 | | PREFIX=${prefix} \ |
48 | | CFLAGS="${configure.cflags} ${configure.cppflags}" \ |
49 | | LDFLAGS="${configure.ldflags}" |
50 | | |
51 | 35 | destroot.args PREFIX=${prefix} |
52 | 36 | |
53 | 37 | if {$subport == $name} { |
… |
… |
|
67 | 51 | platform darwin { |
68 | 52 | patchfiles-append patch-Makefile.diff |
69 | 53 | } |
70 | | |
71 | | livecheck.type regex |
72 | | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |