View | Details | Raw Unified | Return to bug 145704
Collapse All | Expand All

(-)Makefile (-21 / +16 lines)
Lines 2-40 Link Here
2
# Date created:				06 Apr 2006
2
# Date created:				06 Apr 2006
3
# Whom:					Alexander Botero-Lowry <alex@foxybanana.com>
3
# Whom:					Alexander Botero-Lowry <alex@foxybanana.com>
4
#
4
#
5
# $FreeBSD: ports/audio/xmms2-scrobbler/Makefile,v 1.11 2009/08/19 11:56:16 miwi Exp $
5
# $FreeBSD$
6
6
7
PORTNAME=	xmms2-scrobbler
7
PORTNAME=	xmms2-scrobbler
8
PORTVERSION=	0.1.3
8
PORTVERSION=	0.4.0
9
PORTREVISION=	2
9
CATEGORIES=	audio
10
CATEGORIES=	audio ruby
10
MASTER_SITES=	http://ftp.code-monkey.de/pub/${PORTNAME}/ \
11
MASTER_SITES=	http://exodus.xmms.se/~tilman/
11
	http://exodus.xmms.se/~tilman/
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	A last.fm submission client for XMMS2
14
COMMENT=	A last.fm submission client for XMMS2
15
15
16
BUILD_DEPENDS=	${RUBY_SITEARCHLIBDIR}/xmmsclient_ext.so:${PORTSDIR}/audio/ruby-xmms2 \
16
LIB_DEPENDS=	xmmsclient.5:${PORTSDIR}/audio/xmms2 \
17
		${RUBY_SITELIBDIR}/event-loop.rb:${PORTSDIR}/devel/ruby-event-loop
17
		curl.6:${PORTSDIR}/ftp/curl
18
RUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/xmmsclient_ext.so:${PORTSDIR}/audio/ruby-xmms2 \
19
		${RUBY_SITELIBDIR}/event-loop.rb:${PORTSDIR}/devel/ruby-event-loop
20
21
USE_RUBY=	yes
22
USE_RAKE=	yes
23
NO_BUILD=	yes
24
25
PLIST_FILES=	bin/xmms2-scrobbler \
26
		%%DATADIR%%/filters/britney.rb \
27
		%%DATADIR%%/filters/musicbrainz.rb
28
PLIST_DIRS=	%%DATADIR%%/filters %%DATADIR%%
29
18
30
SUB_FILES=	pkg-message
19
USE_GMAKE=	yes
20
21
PLIST_FILES=	bin/xmms2-scrobbler
22
PORTDOCS=	README
31
23
32
do-install:
24
SUB_FILES=	pkg-message
33
	@cd ${WRKSRC} && ${RAKE_BIN} PREFIX=${PREFIX}/ ${INSTALL_TARGET}
34
25
35
post-install:
26
post-install:
36
	@${ECHO_MSG}
27
	@${ECHO_MSG}
37
	@${CAT} ${PKGMESSAGE}
28
	@${CAT} ${PKGMESSAGE}
38
	@${ECHO_MSG}
29
	@${ECHO_MSG}
30
.if !defined(NOPORTDOCS)
31
	@${MKDIR} ${DOCSDIR}; \
32
	cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}
33
.endif
39
34
40
.include <bsd.port.mk>
35
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (xmms2-scrobbler-0.1.3.tar.gz) = 4d7fde80a5a6c963cf46864f2747d773
1
MD5 (xmms2-scrobbler-0.4.0.tar.gz) = f5be15c90cf7c60209031b8968f77b19
2
SHA256 (xmms2-scrobbler-0.1.3.tar.gz) = 2c2306eedab88f3b8ee4b8ab07b84405349d35e0ce4a57e300f491f70049cf26
2
SHA256 (xmms2-scrobbler-0.4.0.tar.gz) = 7aed1670f381463e44466083f2e49119636e96005b9b93899edf79d613a2d2bc
3
SIZE (xmms2-scrobbler-0.1.3.tar.gz) = 6466
3
SIZE (xmms2-scrobbler-0.4.0.tar.gz) = 19831
(-)files/pkg-message.in (-4 / +20 lines)
Lines 1-8 Link Here
1
To use XMMS2Scrobbler write your username and password to the config file
1
You need to set up XMMS2-Scrobbler's config files.
2
like this:
2
Config values that are specific to the AudioScrobbler server go in
3
	~/.config/xmms2/clients/xmms2-scrobbler/$SERVER_NAME/config.
4
You will usually have
5
	~/.config/xmms2/clients/xmms2-scrobbler/lastfm/config
6
and maybe
7
	~/.config/xmms2/clients/xmms2-scrobbler/librefm/config.
3
8
4
        printf "user: foo\npassword: bar" > \
9
These server-specific config files contain your username and password
5
                ~/.config/xmms2/clients/xmms2-scrobbler/config
10
and the URL to use:
11
	mkdir ~/.config/xmms2/clients/xmms2-scrobbler/librefm/config
12
	echo -e "user: foo\npassword: bar\nhandshake_url: http://post.audioscrobbler.com\n" > \
13
	~/.config/xmms2/clients/xmms2-scrobbler/lastfm/config
14
For libre.fm, use
15
	handshake_url: http://turtle.libre.fm.
16
17
Optionally, if you're behind a proxy, you'll need to tell XMMS2-Scrobbler
18
about that proxy.  This information applies to all servers and so goes in
19
~/.config/xmms2/clients/xmms2-scrobbler/config:
20
	echo -e "proxy: my.proxynproxy_port: 8080\n" >> \
21
	~/.config/xmms2/clients/xmms2-scrobbler/config
6
22
7
~/.config is actually $XDG_CONFIG_HOME whose default value is ~/.config.
23
~/.config is actually $XDG_CONFIG_HOME whose default value is ~/.config.

Return to bug 145704