aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ogg2mp3/Makefile
blob: 04439d58ed00d1420c2ab7ccd03586f1e9cb01e7 (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
31
32
33
# New ports collection makefile for:    ogg2mp3
# Date created:         26 Jun 2005
# Whom:             Aleksander Fafula <alex@bsdguru.org>
#
# $FreeBSD$

PORTNAME=   ogg2mp3
PORTVERSION=    0.5
PORTREVISION=   3
CATEGORIES= audio
MASTER_SITES=   http://www.atarininja.org/distfiles/

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

RUN_DEPENDS=    lame:${PORTSDIR}/audio/lame \
        ${SITE_PERL}/String/ShellQuote.pm:${PORTSDIR}/textproc/p5-String-ShellQuote \
        ogginfo:${PORTSDIR}/audio/vorbis-tools

NO_BUILD=   yes
USE_BZIP2=  yes
USE_PERL5=  yes

PLIST_FILES=    bin/ogg2mp3

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/bin|/usr/local/bin|g' \
        ${WRKSRC}/ogg2mp3

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

.include <bsd.port.mk>