1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/ogg2mp3/Makefile
2023-04-25 17:17:15 +02:00

36 lines
765 B
Makefile

PORTNAME= ogg2mp3
PORTVERSION= 0.6.1
PORTREVISION?= 4
CATEGORIES= audio
MAINTAINER= tobias.rehbein@web.de
COMMENT= Perl script that converts Ogg Vorbis files to MP3 format
WWW= https://github.com/fithp/ogg2mp3
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
RUN_DEPENDS= lame:audio/lame \
p5-String-ShellQuote>=0:textproc/p5-String-ShellQuote \
ogginfo:audio/vorbis-tools
USES= perl5 shebangfix tar:tgz
USE_GITHUB= yes
GH_ACCOUNT= fithp
GH_TAGNAME= f3bee47c3bce01a33b5bce88fa70bd9ecadca0ad
SHEBANG_FILES= ogg2mp3
NO_BUILD= yes
NO_ARCH= yes
PLIST_FILES= bin/ogg2mp3
post-patch:
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|" ${WRKSRC}/ogg2mp3
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ogg2mp3 ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>