aboutsummaryrefslogtreecommitdiff
path: root/audio/logitechmediaserver-trackstat/Makefile
blob: 651c01deb39b9a160d5b3d209d26393c01e2f672 (plain) (blame)
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
PORTNAME=	trackstat
PORTVERSION=	3.2.3951
CATEGORIES=	audio
MASTER_SITES=	http://downloads.isaksson.info/download/do/downloadapplication?name=slimserver-trackstat&filename=/
PKGNAMEPREFIX=	logitechmediaserver-
DISTNAME=	TrackStat-${PORTVERSION:S/b/beta/}
DIST_SUBDIR=	logitechmediaserver

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Logitech Media Server plugin to store song ratings and statistics
WWW=		https://wiki.slimdevices.com/index.php/TrackStat_plugin

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/TrackStat/LICENSE.txt

RUN_DEPENDS=	${LOCALBASE}/${SLIMDIR}/slimserver.pl:audio/logitechmediaserver

FETCH_BEFORE_ARGS=	-o ${DISTFILES}
USES=		zip
NO_WRKSUBDIR=	yes
NO_BUILD=	yes
NO_ARCH=	yes

SLIMDIR?=	share/logitechmediaserver
PLIST_SUB+=	SLIMDIR=${SLIMDIR}

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/${SLIMDIR}/Plugins/TrackStat
	${CP} -R ${WRKSRC}/TrackStat/* ${STAGEDIR}${PREFIX}/${SLIMDIR}/Plugins/TrackStat

.include <bsd.port.mk>