2005-06-16 08:57:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2005/06/16 06:57:39 jlam Exp $
|
2001-02-19 17:10:24 +01:00
|
|
|
|
|
|
|
DISTNAME= mp3to
|
|
|
|
PKGNAME= ${DISTNAME}-1.0.1
|
|
|
|
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
|
|
|
|
|
2002-12-28 09:52:16 +01:00
|
|
|
NO_SRC_ON_FTP= "already in MASTER_SITE_LOCAL"
|
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= mpg123-[0-9]*:../mpg123
|
2001-02-19 17:10:24 +01:00
|
|
|
DEPENDS+= gmp3info>=0.8.2:../gmp3info
|
|
|
|
DEPENDS+= sox>=12.17.1:../sox
|
|
|
|
|
|
|
|
NO_BUILD= YES
|
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2001-02-19 17:10:24 +01:00
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKSRC}
|
|
|
|
@${GZCAT} ${DISTDIR}/${DISTFILES} >${WRKSRC}/${DISTFILES:S/.gz//}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/mp3to ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|