aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ripit/Makefile
blob: 6c86fb6a184919cecd80661f39b62002b39270c4 (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
34
35
36
37
38
39
40
41
42
43
44
# Created by: oyvindmo@initio.no
# $FreeBSD$

PORTNAME=   ripit
PORTVERSION=    3.9.0
PORTREVISION?=  1
CATEGORIES= audio
MASTER_SITES=   http://www.suwald.com/ripit/

MAINTAINER= tobias.rehbein@web.de
COMMENT=    Command line audio CD ripper

# See pkg-message about other dependencies.
RUN_DEPENDS=    p5-CDDB_get>=0:${PORTSDIR}/audio/p5-CDDB_get \
    p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
    p5-WebService-MusicBrainz>=0:${PORTSDIR}/www/p5-WebService-MusicBrainz \
    p5-MusicBrainz-DiscID>=0:${PORTSDIR}/audio/p5-MusicBrainz-DiscID \
    lame:${PORTSDIR}/audio/lame \
    cdparanoia:${PORTSDIR}/audio/cdparanoia \

USES=       perl5 shebangfix
NO_BUILD=   yes
PLIST_FILES=    bin/ripit
MAN1=       ripit.1
PORTEXAMPLES=   config
USE_PERL5=  run
USE_BZIP2=  yes
SHEBANG_FILES=  ripit.pl
perl_OLD_CMD=   /usr/bin/env perl

.include <bsd.port.options.mk>

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/ripit.pl ${PREFIX}/bin/ripit
    ${INSTALL_MAN} ${WRKSRC}/ripit.1 ${MAN1PREFIX}/man/man1
.if ${PORT_OPTIONS:MEXAMPLES}
    ${MKDIR} ${EXAMPLESDIR}/
    ${INSTALL_DATA} ${WRKSRC}/config ${EXAMPLESDIR}/config
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>