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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | |
---|
7 | name shell-fm |
---|
8 | version 0.8 |
---|
9 | categories audio |
---|
10 | platforms darwin |
---|
11 | maintainers fawong.com:waf |
---|
12 | license GPL-2 |
---|
13 | |
---|
14 | homepage https://github.com/jkramer/shell-fm |
---|
15 | master_sites ${homepage}/tarball/v${version} |
---|
16 | |
---|
17 | description Console-based last.fm player |
---|
18 | |
---|
19 | long_description shell-fm is a lightweight, console-based player for Last.FM radio streams. \ |
---|
20 | It's pretty small (the binary is currently a little smaller than 60K, or 50K when stripped) \ |
---|
21 | and it has most features the \"official\" player has, if not even a few more. \ |
---|
22 | \ |
---|
23 | Additional features are, for example: \ |
---|
24 | network interface (control shell-fm remotely) \ |
---|
25 | autoban (automatically ban all tracks of an artist you don't like) \ |
---|
26 | bookmark stations (quickly jump to bookmarked stations with a single key) \ |
---|
27 | ... probably more |
---|
28 | |
---|
29 | depends_build port:pkgconfig |
---|
30 | |
---|
31 | depends_lib port:libao \ |
---|
32 | port:taglib \ |
---|
33 | port:libmad |
---|
34 | |
---|
35 | checksums sha1 ad35391489a4c5b216740a543f6cb46285f556c7 \ |
---|
36 | rmd160 1d9b53c03156b44717365c43dd6d95cea7145ca0 |
---|
37 | |
---|
38 | post-extract { |
---|
39 | move [glob ${workpath}/*] ${worksrcpath} |
---|
40 | } |
---|
41 | |
---|
42 | patchfiles patch-Makefile.diff \ |
---|
43 | patch-source-sckif.c.diff |
---|
44 | |
---|
45 | use_configure no |
---|
46 | |
---|
47 | build.args PREFIX=${prefix} CC="${configure.cc} ${configure.cc_archflags}" |
---|
48 | destroot.args PREFIX=${prefix} |
---|
49 | |
---|
50 | livecheck.type regex |
---|
51 | livecheck.url ${homepage}/downloads |
---|
52 | livecheck.regex {tarball/v([0-9.]+)"} |
---|