pkgsrc/audio/mp3to/Makefile

32 lines
719 B
Makefile

# $NetBSD: Makefile,v 1.13 2012/10/02 23:47:59 asau Exp $
DISTNAME= mp3to
PKGNAME= ${DISTNAME}-1.0.1
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .gz
MAINTAINER= pkgsrc-users@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
REPLACE_SH= mp3to
NO_BUILD= YES
INSTALLATION_DIRS= bin
do-extract:
${MKDIR} ${WRKSRC}
${GZCAT} ${DISTDIR}/${DISTFILES} >${WRKSRC}/${DISTFILES:S/.gz//}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mp3to ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"