2008-03-02 07:10:30 +01:00
|
|
|
# $NetBSD: Makefile,v 1.10 2008/03/02 06:10:33 jlam Exp $
|
2001-02-19 17:10:24 +01:00
|
|
|
|
|
|
|
DISTNAME= mp3to
|
|
|
|
PKGNAME= ${DISTNAME}-1.0.1
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2001-02-19 17:10:24 +01:00
|
|
|
CATEGORIES= audio
|
2002-12-28 09:52:16 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
2001-02-19 17:10:24 +01:00
|
|
|
EXTRACT_SUFX= .gz
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tron@NetBSD.org
|
2001-02-19 17:10:24 +01:00
|
|
|
COMMENT= Convert MP3 files to various other audio formats
|
|
|
|
|
2006-04-22 11:22:05 +02:00
|
|
|
NO_SRC_ON_FTP= already in MASTER_SITE_LOCAL
|
2002-12-28 09:52:16 +01:00
|
|
|
|
2005-07-19 12:22:32 +02:00
|
|
|
DEPENDS+= mpg123-[0-9]*:../../audio/mpg123
|
|
|
|
DEPENDS+= gmp3info>=0.8.2:../../audio/gmp3info
|
|
|
|
DEPENDS+= sox>=12.17.1:../../audio/sox
|
2001-02-19 17:10:24 +01:00
|
|
|
|
2008-03-02 07:10:30 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2001-02-19 17:10:24 +01:00
|
|
|
NO_BUILD= YES
|
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2001-02-19 17:10:24 +01:00
|
|
|
do-extract:
|
2006-05-19 18:18:51 +02:00
|
|
|
${MKDIR} ${WRKSRC}
|
|
|
|
${GZCAT} ${DISTDIR}/${DISTFILES} >${WRKSRC}/${DISTFILES:S/.gz//}
|
2001-02-19 17:10:24 +01:00
|
|
|
|
|
|
|
do-install:
|
2008-03-02 07:10:30 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mp3to ${DESTDIR}${PREFIX}/bin
|
2001-02-19 17:10:24 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|