Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2006 15:08:46 -0400 (EDT)
From:      Alexander Botero-Lowry <alex@foxybanana.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102511: [NEW PORT] audio/xmms2-scrobbler: A last.fm submission client for XMMS2
Message-ID:  <200608251908.k7PJ8kRq081806@Laptop.mine.box>
Resent-Message-ID: <200608251910.k7PJARbD029929@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         102511
>Category:       ports
>Synopsis:       [NEW PORT] audio/xmms2-scrobbler: A last.fm submission client for XMMS2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 25 19:10:27 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Botero-Lowry
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD Laptop.mine.box 6.1-STABLE FreeBSD 6.1-STABLE #1: Mon Jul 10 22:43:23 CDT 2006
>Description:
XMMS2-Scrobbler is a client for XMMS2 that feeds information about the songs
you played to last.fm, formerly known as AudioScrobbler.

WWW: http://code-monkey.de/pages/xmms2-scrobbler

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- xmms2-scrobbler-0.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xmms2-scrobbler
#	xmms2-scrobbler/Makefile
#	xmms2-scrobbler/distinfo
#	xmms2-scrobbler/pkg-descr
#	xmms2-scrobbler/files
#	xmms2-scrobbler/files/pkg-message.in
#
echo c - xmms2-scrobbler
mkdir -p xmms2-scrobbler > /dev/null 2>&1
echo x - xmms2-scrobbler/Makefile
sed 's/^X//' >xmms2-scrobbler/Makefile << 'END-of-xmms2-scrobbler/Makefile'
X# New ports collection makefile for:	snett
X# Date created:				06 Apr 2006
X# Whom:					Alexander Botero-Lowry <alex@foxybanana.com>
X#
X# $FreeBSD$
X
XPORTNAME=	xmms2-scrobbler
XPORTVERSION=	0.1
XCATEGORIES=	audio ruby
XMASTER_SITES=	ftp://ftp.code-monkey.de/pub/xmms2-scrobbler/
X
XMAINTAINER=	alex@foxybanana.com
XCOMMENT=	A last.fm submission client for XMMS2
X
XBUILD_DEPENDS=	${RUBY_SITEARCHLIBDIR}/xmmsclient.so:${PORTSDIR}/audio/ruby-xmms2 \
X		${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/event-loop-0.2/gemspec.rb:${PORTSDIR}/devel/rubygem-event-loop \
X		${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
XRUN_DEPENDS=	${RUBY_SITEARCHLIBDIR}/xmmsclient.so:${PORTSDIR}/audio/ruby-xmms2 \
X		${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/event-loop-0.2/gemspec.rb:${PORTSDIR}/devel/rubygem-event-loop
X
XUSE_RUBY=	yes
XNO_BUILD=	yes
X
XPLIST_FILES=	bin/xmms2-scrobbler
X
XSUB_FILES=	pkg-message
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500000
XBROKEN=		Does not compile on FreeBSD 4.x
X.endif
X
Xdo-install:
X	@cd ${WRKSRC} && ${LOCALBASE}/bin/rake PREFIX=${PREFIX}/ ${INSTALL_TARGET}
X
Xpost-install:
X	@${ECHO_MSG}
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO_MSG}
X.include <bsd.port.post.mk>
END-of-xmms2-scrobbler/Makefile
echo x - xmms2-scrobbler/distinfo
sed 's/^X//' >xmms2-scrobbler/distinfo << 'END-of-xmms2-scrobbler/distinfo'
XMD5 (xmms2-scrobbler-0.1.tar.gz) = db93d117e0def2b9acc012b48a58776a
XSHA256 (xmms2-scrobbler-0.1.tar.gz) = 49ef7aa79d44c7e779d846e5f368129b4325e1d59bcacd521c47c8e0584bc0e9
XSIZE (xmms2-scrobbler-0.1.tar.gz) = 5911
END-of-xmms2-scrobbler/distinfo
echo x - xmms2-scrobbler/pkg-descr
sed 's/^X//' >xmms2-scrobbler/pkg-descr << 'END-of-xmms2-scrobbler/pkg-descr'
XXMMS2-Scrobbler is a client for XMMS2 that feeds information about the songs
Xyou played to last.fm, formerly known as AudioScrobbler.
X
XWWW: http://code-monkey.de/pages/xmms2-scrobbler
END-of-xmms2-scrobbler/pkg-descr
echo c - xmms2-scrobbler/files
mkdir -p xmms2-scrobbler/files > /dev/null 2>&1
echo x - xmms2-scrobbler/files/pkg-message.in
sed 's/^X//' >xmms2-scrobbler/files/pkg-message.in << 'END-of-xmms2-scrobbler/files/pkg-message.in'
XTo use XMMS2Scrobbler write your username and password to the config file
Xlike this:
X
X        printf "user: foo\npassword: bar" > \
X                ~/.xmms2/clients/xmms2-scrobbler/config
X
XIf you wish for XMMS2Scrobbler to start when you start xmms2d, make a
Xsymbolic link from %%PREFIX%%/bin/xmms2-scrobbler to ~/.xmms2/startup.d/
END-of-xmms2-scrobbler/files/pkg-message.in
exit
--- xmms2-scrobbler-0.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608251908.k7PJ8kRq081806>