summaryrefslogtreecommitdiff
path: root/audio/oggasm/Makefile
blob: 7abdeec7a34c569cf679a23c344ac101bfb4d536 (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
# $NetBSD: Makefile,v 1.21 2016/04/20 12:10:30 nros Exp $
#

DISTNAME=	oggasm_1.4.0
PKGNAME=	${DISTNAME:S/_/-/}
PKGREVISION=	7
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_LOCAL}

MAINTAINER=	rxg@NetBSD.org
# HOMEPAGE=	http://oggasm.sourceforge.net/
# but see http://us.geocities.com/pvachusk/programs/index.html
COMMENT=	Perform batch conversion of mp3s into oggs
LICENSE=	gnu-gpl-v2

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

WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+=	perl:run
REPLACE_PERL=	oggasm

NO_BUILD=	yes

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/oggasm ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/oggasm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

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