[82139] trunk/dports/audio
ryandesign at macports.org
ryandesign at macports.org
Mon Aug 8 08:21:29 PDT 2011
Revision: 82139
http://trac.macports.org/changeset/82139
Author: ryandesign at macports.org
Date: 2011-08-08 08:21:28 -0700 (Mon, 08 Aug 2011)
Log Message:
-----------
shell-fm: new port, version 0.8; see #30650
Added Paths:
-----------
trunk/dports/audio/shell-fm/
trunk/dports/audio/shell-fm/Portfile
trunk/dports/audio/shell-fm/files/
trunk/dports/audio/shell-fm/files/patch-Makefile.diff
trunk/dports/audio/shell-fm/files/patch-source-sckif.c.diff
Added: trunk/dports/audio/shell-fm/Portfile
===================================================================
--- trunk/dports/audio/shell-fm/Portfile (rev 0)
+++ trunk/dports/audio/shell-fm/Portfile 2011-08-08 15:21:28 UTC (rev 82139)
@@ -0,0 +1,51 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name shell-fm
+version 0.8
+categories audio
+platforms darwin
+maintainers fawong.com:waf
+license GPL-2
+
+homepage https://github.com/jkramer/shell-fm
+master_sites ${homepage}/tarball/v${version}
+
+description Console-based last.fm player
+
+long_description shell-fm is a lightweight, console-based player for Last.FM radio streams. \
+ It’s pretty small \
+ and it has most features the “official” player has, if not even a few more. \
+ \
+ Additional features are, for example: \
+ network interface (control shell-fm remotely) \
+ autoban (automatically ban all tracks of an artist you don’t like) \
+ bookmark stations (quickly jump to bookmarked stations with a single key) \
+ ... probably more
+
+depends_build port:pkgconfig
+
+depends_lib port:libao \
+ port:taglib \
+ port:libmad
+
+checksums sha1 ad35391489a4c5b216740a543f6cb46285f556c7 \
+ rmd160 1d9b53c03156b44717365c43dd6d95cea7145ca0
+
+post-extract {
+ move [glob ${workpath}/*] ${worksrcpath}
+}
+
+patchfiles patch-Makefile.diff \
+ patch-source-sckif.c.diff
+
+use_configure no
+
+build.args PREFIX=${prefix} CC="${configure.cc} ${configure.cc_archflags}"
+destroot.args PREFIX=${prefix}
+
+livecheck.type regex
+livecheck.url ${homepage}/downloads
+livecheck.regex {tarball/v([0-9.]+)"}
Property changes on: trunk/dports/audio/shell-fm/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/audio/shell-fm/files/patch-Makefile.diff
===================================================================
--- trunk/dports/audio/shell-fm/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/audio/shell-fm/files/patch-Makefile.diff 2011-08-08 15:21:28 UTC (rev 82139)
@@ -0,0 +1,15 @@
+--- Makefile.orig 2011-05-25 14:35:38.000000000 -0500
++++ Makefile 2011-08-08 10:00:38.000000000 -0500
+@@ -1,10 +1,10 @@
+
+ DESTDIR =
+ PREFIX := /usr
+-MANDIR := $(PREFIX)/man
++MANDIR := $(PREFIX)/share/man
+ DOCDIR := ${PREFIX}/share/doc
+
+-.PHONY : shell-fm manual all clean tags cscope
++.PHONY : shell-fm manual all clean install tags cscope
+
+ all : shell-fm manual
+
Added: trunk/dports/audio/shell-fm/files/patch-source-sckif.c.diff
===================================================================
--- trunk/dports/audio/shell-fm/files/patch-source-sckif.c.diff (rev 0)
+++ trunk/dports/audio/shell-fm/files/patch-source-sckif.c.diff 2011-08-08 15:21:28 UTC (rev 82139)
@@ -0,0 +1,15 @@
+https://github.com/jkramer/shell-fm/commit/5a43a40df8f9b000c0f8e1c1e0b40813047620b3
+--- source/sckif.c.orig 2011-05-25 14:35:38.000000000 -0500
++++ source/sckif.c 2011-08-07 23:41:42.000000000 -0500
+@@ -191,10 +191,7 @@
+
+ if(disconnect) {
+ debug("removing client\n");
+- shutdown(SHUT_RDWR, client_socket);
+- close(client_socket);
+- fclose(fd);
+-
++ fshutdown(& fd);
+ remove_handle(client_socket);
+ }
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110808/5ba1ce9a/attachment.html>
More information about the macports-changes
mailing list