summaryrefslogtreecommitdiff
path: root/audio/mp3to/Makefile
blob: cc12ec4559b93a4d8cd90ffb85e1678b844a2af0 (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
# $NetBSD: Makefile,v 1.9 2006/05/19 16:18:53 rillig Exp $

DISTNAME=	mp3to
PKGNAME=	${DISTNAME}-1.0.1
PKGREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_LOCAL}
EXTRACT_SUFX=	.gz

MAINTAINER=	tron@NetBSD.org
COMMENT=	Convert MP3 files to various other audio formats

NO_SRC_ON_FTP=	already in MASTER_SITE_LOCAL

DEPENDS+=	mpg123-[0-9]*:../../audio/mpg123
DEPENDS+=	gmp3info>=0.8.2:../../audio/gmp3info
DEPENDS+=	sox>=12.17.1:../../audio/sox

NO_BUILD=	YES

INSTALLATION_DIRS=	bin

do-extract:
	${MKDIR} ${WRKSRC}
	${GZCAT} ${DISTDIR}/${DISTFILES} >${WRKSRC}/${DISTFILES:S/.gz//}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/mp3to ${PREFIX}/bin

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