blob: 35e6a80e7a08536851ef7a22f543d9fe17c0c957 (
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
45
|
# New ports collection makefile for: crip
# Date created: 30 June 2003
# Whom: Philip Paeps <philip@paeps.cx>
#
# $FreeBSD$
#
PORTNAME= crip
PORTVERSION= 3.8
CATEGORIES= audio
MASTER_SITES= http://bach.dynet.com/crip/src/
MAINTAINER= philip@FreeBSD.org
COMMENT= Terminal-based ripper/encoder/tagger
RUN_DEPENDS= ${SITE_PERL}/CDDB_get.pm:${PORTSDIR}/audio/p5-CDDB_get \
cdparanoia:${PORTSDIR}/audio/cdparanoia \
oggenc:${PORTSDIR}/audio/vorbis-tools \
vorbisgain:${PORTSDIR}/audio/vorbisgain
.if defined(WITH_SOX)
RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox
.endif
.if !defined(NOPORTDOCS)
PORTDOCS= Changelog README criprc_example
.endif
NO_BUILD= yes
pre-fetch:
.if !defined (WITH_SOX)
@${ECHO_MSG} "Define WITH_SOX to enable normalization with sox."
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/crip ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/editcomment ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/editfilenames ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|