summaryrefslogtreecommitdiff
path: root/audio/py-dynampd/Makefile
blob: 16d7697fa7085b5dc4edcd6a52d70b4567b45db9 (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
# $NetBSD: Makefile,v 1.4 2012/10/04 00:22:00 cheusov Exp $
#

DISTNAME=	dynampd
VERSION=	1.1.0
PKGNAME=	${PYPKGPREFIX}-dynampd-${VERSION}
PKGREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://dynampd.ubitux.fr/
EXTRACT_SUFX=	.py

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://dynampd.ubitux.fr/
COMMENT=	Dynamic playlist generator for MPD
#LICENSE=	wtfpl

DEPENDS+=	${PYPKGPREFIX}-mpd-[0-9]*:../../audio/py-mpd
DEPENDS+=	${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson

DIST_SUBDIR=		dynampd-${VERSION}
WRKSRC=			${WRKDIR}
USE_LANGUAGES=		# none
INSTALLATION_DIRS=	bin
REPLACE_PYTHON=		dynampd.py

PYTHON_SELF_CONFLICT=	yes

do-build:

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/dynampd.py ${DESTDIR}${PREFIX}/bin/dynampd

.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"