This is a last.fm plugin for the CMUS

ncurses based music-player. Written in
Python.

WWW: http://code.google.com/p/last-cmus/

PR:		ports/129299
Submitted by:	Dennis Herrmann <adox at mcx2.org>
This commit is contained in:
Martin Wilke 2008-12-01 21:08:04 +00:00
parent e7b3e41930
commit 6e434b6f35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223677
5 changed files with 54 additions and 0 deletions

View file

@ -335,6 +335,7 @@
SUBDIR += ladspa
SUBDIR += lame
SUBDIR += lash
SUBDIR += last-cmus
SUBDIR += last.fm
SUBDIR += laudio
SUBDIR += liba52

34
audio/last-cmus/Makefile Normal file
View file

@ -0,0 +1,34 @@
# New ports collection makefile for: last-cmus
# Date created: 30 November 2008
# Whom: Dennis Herrmann <adox@mcx2.org>
#
# $FreeBSD$
#
PORTNAME= last
PORTVERSION= 1.0
CATEGORIES= audio
MASTER_SITES= http://last-cmus.googlecode.com/files/ \
http://mirror.mcx2.org/
PKGNAMESUFFIX= -cmus
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}.py
EXTRACT_SUFX= # none
MAINTAINER= adox@mcx2.org
COMMENT= Cmus plugin for submitting songs into last.fm
USE_PYTHON= yes
SUB_FILES= pkg-message
NO_BUILD= yes
PLIST_FILES= bin/${DISTNAME}
do-extract:
@${MKDIR} ${WRKSRC}
@${CP} ${_DISTDIR}/last-cmus.py ${WRKSRC}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/
@${CHMOD} +x ${PREFIX}/bin/${DISTNAME}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

3
audio/last-cmus/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (last-cmus.py) = c2165a1d62e0bd051a4db5e78233f701
SHA256 (last-cmus.py) = c0db2a250c997e7b3a4f1dbbe997a1b2ec41de02c338c9fc5cbfdaea80a38cf9
SIZE (last-cmus.py) = 12439

View file

@ -0,0 +1,11 @@
=====================================================================
To start using last-cmus.py, please complete the following steps:
1. Edit the %%PREFIX%%/bin/last-cmus.py file with right
username and password.
2. Enable it by appending this setting to your ~/.cmus/rc:
set status_display_program=%%PREFIX%%/bin/last-cmus.py
=====================================================================

View file

@ -0,0 +1,5 @@
This is a last.fm plugin for the CMUS
ncurses based music-player. Written in
Python.
WWW: http://code.google.com/p/last-cmus/