summaryrefslogtreecommitdiffstats
path: root/audio/slimserver-lastfm/Makefile
blob: f3304192f3bd2f11ba8ffdb8edab586dcd9f0d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	slimserver-lastfm
# Date created:				2005-12-31
# Whom:					freebsd-ports@varju.ca
#
# $FreeBSD$

PORTNAME=	lastfm
PORTVERSION=	1.1.3
CATEGORIES=	audio
MASTER_SITES=	http://petherton.pwp.blueyonder.co.uk/SlimServer/
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMEPREFIX=	slimserver-
DISTNAME=	LastFM${DISTVERSION:S/.//g}

MAINTAINER=	freebsd-ports@varju.ca
COMMENT=	SlimServer plugin for playing last.fm radio

RUN_DEPENDS=	${LOCALBASE}/bin/softsqueeze:${PORTSDIR}/audio/slimserver \
		${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5

USE_ZIP=	yes
WRKSRC=		LastFM
NO_BUILD=	yes
CPIOARGS=	--quiet -pdum -R

SLIMDIR?=	slimserver
PLIST_SUB+=	SLIMDIR=${SLIMDIR}

do-install:
	@cd ${WRKDIR} && \
	    ${FIND} LastFM | \
	    ${CPIO} ${CPIOARGS} ${BINOWN}:${BINGRP} ${PREFIX}/${SLIMDIR}/Plugins

.include <bsd.port.mk>
OpenPOWER on IntegriCloud