summaryrefslogtreecommitdiff
path: root/audio/mp32ogg/Makefile
blob: 02cd436c0f8b5db9937d56155d7680ac16da1a6d (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
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.5 2004/03/26 02:27:34 wiz Exp $

DISTNAME=	mp32ogg-0.11
PKGREVISION=	1
CATEGORIES=	audio perl5
MASTER_SITES=	${MASTER_SITE_LOCAL}
EXTRACT_SUFX=	# empty

MAINTAINER=	rxg@NetBSD.org
HOMEPAGE=	http://faceprint.com/software.phtml
COMMENT=	Convert MP3 files to Ogg Vorbis files

DEPENDS+=	mpg123>=0.59.18:../../audio/mpg123
DEPENDS+=	vorbis-tools>=1.0.0.7:../../audio/vorbis-tools
DEPENDS+=	p5-MP3-Info>=1.00:../../audio/p5-MP3-Info
DEPENDS+=	p5-String-ShellQuote>=1.00:../../textproc/p5-String-ShellQuote

USE_PERL5=	yes

WRKSRC=		${WRKDIR}
EXTRACT_ONLY=	# empty
NO_BUILD=	yes

do-extract:
	${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC}

post-patch:
	${SED} -e 's:/usr/bin:'${PREFIX}/bin':g' < ${WRKSRC}/${DISTNAME} > ${WRKSRC}/mp32ogg

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

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