aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ogg2mp3/Makefile
blob: 346414bdf0403370294540ccb1a4c23b15de5a71 (plain) (blame)
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
# Created by: Aleksander Fafula <alex@bsdguru.org>
# $FreeBSD$

PORTNAME=   ogg2mp3
PORTVERSION=    0.6.1
PORTREVISION?=  2
CATEGORIES= audio
MASTER_SITES=   http://jamesa.com/projects/ogg2mp3/releases/

MAINTAINER= tobias.rehbein@web.de
COMMENT=    Perl script that converts Ogg Vorbis files to MP3 format

LICENSE=    GPLv2

RUN_DEPENDS=    lame:${PORTSDIR}/audio/lame \
        p5-String-ShellQuote>=0:${PORTSDIR}/textproc/p5-String-ShellQuote \
        ogginfo:${PORTSDIR}/audio/vorbis-tools

NO_BUILD=   yes
USES=       perl5 tar:bzip2

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>