summaryrefslogtreecommitdiff
path: root/audio/flac2mp3/Makefile
blob: ab46b01e11f5c8267f4d1afca6c7990e3c64e215 (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.12 2012/10/03 21:53:54 wiz Exp $

DISTNAME=	flac2mp3
PKGNAME=	flac2mp3-20041223
PKGREVISION=	3
CATEGORIES=	audio converters
MASTER_SITES=	http://www.gurulabs.com/downloads/
EXTRACT_SUFX=	.pl

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.gurulabs.com/
COMMENT=	Script to convert flac to mp3

DEPENDS+=	flac-[0-9]*:../../audio/flac
DEPENDS+=	lame-[0-9]*:../../audio/lame
DEPENDS+=	p5-MP3-Info-[0-9]*:../../audio/p5-MP3-Info

PKG_INSTALLATION_TYPES=	overwrite pkgviews

REPLACE_PERL=	flac2mp3.pl
USE_TOOLS+=	perl:run
WRKSRC=		${WRKDIR}

NO_BUILD=	yes

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/flac2mp3.pl ${DESTDIR}${PREFIX}/bin/flac2mp3

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