f79573370a
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
26 lines
612 B
Makefile
26 lines
612 B
Makefile
# $NetBSD: Makefile,v 1.2 2001/09/27 23:17:45 jlam Exp $
|
|
|
|
DISTNAME= mp3to
|
|
PKGNAME= ${DISTNAME}-1.0.1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
EXTRACT_SUFX= .gz
|
|
|
|
MAINTAINER= tron@netbsd.org
|
|
HOMEPAGE= http://www.cs.berkeley.edu/~amc/utils/
|
|
COMMENT= Convert MP3 files to various other audio formats
|
|
|
|
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"
|