summaryrefslogtreecommitdiff
path: root/audio/mstream/Makefile
blob: 23da2ad8c6856b86ce2d97c228c0a1f6325553d4 (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
# $NetBSD: Makefile,v 1.18 2013/05/31 12:39:37 wiz Exp $
#

DISTNAME=	mstream-1.3
PKGREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	http://oss.gw.com/people/kim/

MAINTAINER=	kim@tac.nyc.ny.us
HOMEPAGE=	http://kimmo.suominen.com/gwradio/
COMMENT=	Mserv player package to queue tracks to IceS

DEPENDS+=	ices-mp3>=0.3:../../audio/ices-mp3
DEPENDS+=	p5-MP3-Info>=1.0:../../audio/p5-MP3-Info

NO_CONFIGURE=	yes
USE_TOOLS+=	perl:run

DATADIR=	${PREFIX}/share/mstream
MODDIR=		${PREFIX}/share/ices-mp3

MAKE_FLAGS+=	PREFIX=${PREFIX}
MAKE_FLAGS+=	DATADIR=${DATADIR}
MAKE_FLAGS+=	MODDIR=${MODDIR}
MAKE_FLAGS+=	PERL=${PERL5:Q}

INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}
INSTALL_MAKE_FLAGS+=	DATADIR=${DESTDIR}${DATADIR}
INSTALL_MAKE_FLAGS+=	MODDIR=${DESTDIR}${MODDIR}

.include "../../mk/bsd.pkg.mk"