Ticket #26620: pianobar-2010.08.21.diff
File pianobar-2010.08.21.diff, 2.1 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name pianobar 7 version 6a0f6207 version 2010.08.21 8 8 categories audio 9 9 platforms darwin 10 10 maintainers gmail.com:aguynamedryan+pianobar 11 11 homepage http://6xq.net/html/00/17.html 12 master_sites http://6xq.net/media/00/16/ 13 use_bzip2 yes 12 14 13 15 description Console-based pandora.com player 14 16 … … 19 21 see why they were selected, show upcoming \ 20 22 configure keybindings, last.fm scrobbling, \ 21 23 proxy support for listening outside of USA. 22 23 24 24 fetch.type git25 git.url git://github.com/PromyLOPh/pianobar.git26 git.branch ${version}27 28 25 depends_lib port:libao \ 29 26 port:faad2 \ 30 27 port:libmad 31 28 32 patchfiles patch-Makefile.diff 33 post-patch { 34 reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/Makefile 29 checksums md5 980012b848ff24c0398a4a5641e2b76b \ 30 sha1 9ee97c47623fbccdbb91c4a713524aebafd78b68 \ 31 rmd160 4a5bc1278264151e317b78e44c0b84ef509e4463 32 33 use_configure no 34 35 variant universal {} 36 if {[variant_isset universal]} { 37 set archflags ${configure.universal_cflags} 38 } else { 39 set archflags ${configure.cc_archflags} 35 40 } 36 41 37 use_configure no 42 build.args CC="${configure.cc} ${archflags}" \ 43 PREFIX=${prefix} \ 44 LIBAO_INCLUDE=${prefix}/include \ 45 LIBFAAD_INCLUDE=${prefix}/include \ 46 LIBMAD_INCLUDE=${prefix}/include 47 48 destroot.args PREFIX=${prefix}