aboutsummaryrefslogtreecommitdiffstats
path: root/audio/crip/Makefile
blob: dc73ec30aee4d39b2713d405fa7c58da7bec266a (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
# Created by: Philip Paeps <philip@paeps.cx>
# $FreeBSD$

PORTNAME=   crip
PORTVERSION=    3.9
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://bach.dynet.com/crip/src/

MAINTAINER= philip@FreeBSD.org
COMMENT=    Terminal-based ripper/encoder/tagger

OPTIONS_DEFINE= SOX DOCS
SOX_DESC=   SoX audio support

RUN_DEPENDS=    p5-CDDB_get>=0:${PORTSDIR}/audio/p5-CDDB_get \
        cdparanoia:${PORTSDIR}/audio/cdparanoia \
        oggenc:${PORTSDIR}/audio/vorbis-tools \
        vorbisgain:${PORTSDIR}/audio/vorbisgain

SOX_RUN_DEPENDS+=   sox:${PORTSDIR}/audio/sox
PORTDOCS=   Changelog README criprc_example

USES=       shebangfix perl5
SHEBANG_FILES=  crip editcomment editfilenames
NO_BUILD=   yes

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/crip ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/editcomment ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_SCRIPT} ${WRKSRC}/editfilenames ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>