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> |