summaryrefslogtreecommitdiff
path: root/audio/mp3to/Makefile
blob: eafabc9b356dd7e9cf7bbca107d42f14134e8970 (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
# $NetBSD: Makefile,v 1.3 2002/12/28 08:52:16 tron Exp $

DISTNAME=	mp3to
PKGNAME=	${DISTNAME}-1.0.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]*:../mpg123
DEPENDS+=	gmp3info>=0.8.2:../gmp3info
DEPENDS+=	sox>=12.17.1:../sox

NO_BUILD=	YES

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

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

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