aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cue2toc/Makefile
blob: 2cd62192f1ccc2c3d8ba3235afb297b47c9a268d (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
# Created by: Pav Lucistnik <pav@oook.cz>
# $FreeBSD$

PORTNAME=   cue2toc
PORTVERSION=    0.1
CATEGORIES= audio perl5
MASTER_SITES=   http://www.tuxcoder.com/cue2toc/download/ \
        http://www.oook.cz/bsd/distfiles/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Perl script that converts CUE files into TOC files for cdrdao

RUN_DEPENDS=    p5-Audio-Wav>=0:${PORTSDIR}/audio/p5-Audio-Wav

USES=       perl5 shebangfix
NO_WRKSUBDIR=   yes
NO_BUILD=   yes
PLIST_FILES=    bin/cue2toc.pl
SHEBANG_FILES=  cue2toc

pre-patch:
    @${REINPLACE_CMD} -e 's|use warnings;||' ${WRKDIR}/cue2toc

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/cue2toc ${STAGEDIR}${PREFIX}/bin/cue2toc.pl

.include <bsd.port.mk>