summaryrefslogtreecommitdiffstats
path: root/audio/mp3burn/Makefile
blob: 3ca4b9cf453259ddb0eb38c49cd3abe5b16d3076 (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
34
35
36
37
38
39
40
# New ports collection makefile for:	mp3burn
# Date created:				17th December 2003
# Whom:					Vincent Tantardini <vinc@FreeBSD-fr.org>
#
# $FreeBSD$

PORTNAME=	mp3burn
PORTVERSION=	0.4.2
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	SF

MAINTAINER=	dhn@FreeBSD.org
COMMENT=	Command line tool to burn audio CDs from MP3, Ogg, Vorbis, FLAC files

RUN_DEPENDS=	mpg123:${PORTSDIR}/audio/mpg123 \
		ogg123:${PORTSDIR}/audio/vorbis-tools \
		${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info \
		${SITE_PERL}/${PERL_ARCH}/Ogg/Vorbis/Header.pm:${PORTSDIR}/audio/p5-Ogg-Vorbis-Header \
		${SITE_PERL}/String/ShellQuote.pm:${PORTSDIR}/textproc/p5-String-ShellQuote

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_BZIP2=	yes
USE_PERL5=	yes
USE_CDRTOOLS=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/mp3burn

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|g' \
		-e 's|/bin/uname|/usr/bin/uname|g' \
		-e 's|x86_64|amd64|g' \
		-e 's|" -pad -audio"|" -tao -pad -audio"|' ${WRKSRC}/${PORTNAME}

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud