1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/audio/mp3burn/Makefile
2021-04-06 16:31:07 +02:00

37 lines
904 B
Makefile

# Created by: Vincent Tantardini <vinc@FreeBSD-fr.org>
PORTNAME= mp3burn
PORTVERSION= 0.4.2
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Command line tool to burn audio CDs from MP3, Ogg, Vorbis, FLAC files
RUN_DEPENDS= mpg123:audio/mpg123 \
ogg123:audio/vorbis-tools \
p5-MP3-Info>=0:audio/p5-MP3-Info \
p5-Ogg-Vorbis-Header>=0:audio/p5-Ogg-Vorbis-Header \
p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote \
cdda2wav:sysutils/cdrtools
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= perl5 tar:bzip2
NO_BUILD= yes
NO_ARCH= 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 ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>