Ticket #30650: Portfile.2

File Portfile.2, 2.0 KB (added by felix@…, 13 years ago)
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
6
7name                    shell-fm
8version                 0.8
9categories              audio
10platforms               darwin
11maintainers             fawong.com:waf
12license                 GPL-2
13
14homepage                https://github.com/jkramer/shell-fm
15master_sites            ${homepage}/tarball/v${version}
16
17description             Console-based last.fm player
18
19long_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
29depends_build           port:pkgconfig
30
31depends_lib             port:libao \
32                        port:taglib \
33                        port:libmad
34
35checksums               sha1    ad35391489a4c5b216740a543f6cb46285f556c7 \
36                        rmd160  1d9b53c03156b44717365c43dd6d95cea7145ca0
37
38post-extract {
39        move [glob ${workpath}/*] ${worksrcpath}
40}
41
42patchfiles              patch-Makefile.diff \
43                        patch-source-sckif.c.diff
44
45use_configure           no
46
47build.args              PREFIX=${prefix} CC="${configure.cc} ${configure.cc_archflags}"
48destroot.args           PREFIX=${prefix}
49
50livecheck.type          regex
51livecheck.url           ${homepage}/downloads
52livecheck.regex         {tarball/v([0-9.]+)"}