View | Details | Raw Unified | Return to bug 173797
Collapse All | Expand All

(-)gnormalize/Makefile (-29 / +18 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	gnormalize
1
# Created by:	Denise H. G. <darcsis@gmail.com>
2
# Date created:				27 Oct 2007
3
# Whom:				Denise H. G. <darcsis@gmail.com>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	gnormalize
4
PORTNAME=	gnormalize
9
PORTVERSION=	0.63
5
PORTVERSION=	0.63
Lines 24-81 Link Here
24
20
25
MAN1=		gnormalize.1
21
MAN1=		gnormalize.1
26
22
27
OPTIONS=	\
23
OPTIONS_DEFINE=	MP3 OGG MP4 CDPARANOIA CDDB CDPLAY PLAC MAC MUSEPACK
28
	GNORMALIZE_MP3	"WAV <-> MP3 Support"	on	\
24
OPTIONS_DEFAULT=	MP3 OGG MP4
29
	GNORMALIZE_OGG	"Ogg Encoding and Playback"	on	\
30
	GNORMALIZE_MP4	"WAV <-> MP4 Support"	on	\
31
	GNORMALIZE_CDRIP	"CD Ripping"	off	\
32
	GNORMALIZE_CDDB	"CDDB Support"	off	\
33
	GNORMALIZE_CDPLAY	"CD Playback"	off	\
34
	GNORMALIZE_FLAC	"FLAC Encoding and Playback"	off	\
35
	GNORMALIZE_MAC	"Monkey's Audio Encoding and Playback"	off	\
36
	GNORMALIZE_MPC	"MPC (musepack) Audio"	off
37
25
38
.include <bsd.port.pre.mk>
26
MAC_DESC=	Monkey's Audio Encoding and Playback
27
CDPLAY_DESC=	CD Playback
39
28
40
.if defined(WITH_GNORMALIZE_MP3)
29
.include <bsd.port.options.mk>
30
31
.if ${PORT_OPTIONS:MMP3}
41
RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame \
32
RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame \
42
	p5-MP3-Info>=0:${PORTSDIR}/audio/p5-MP3-Info
33
	p5-MP3-Info>=0:${PORTSDIR}/audio/p5-MP3-Info
43
.endif
34
.endif
44
35
45
.if defined(WITH_GNORMALIZE_OGG)
36
.if ${PORT_OPTIONS:MOGG}
46
RUN_DEPENDS+=	oggenc:${PORTSDIR}/audio/vorbis-tools
37
RUN_DEPENDS+=	oggenc:${PORTSDIR}/audio/vorbis-tools
47
.endif
38
.endif
48
39
49
.if defined(WITH_GNORMALIZE_MP4)
40
.if ${PORT_OPTIONS:MMP4}
50
RUN_DEPENDS+=	faac:${PORTSDIR}/audio/faac \
41
RUN_DEPENDS+=	faac:${PORTSDIR}/audio/faac \
51
	faad:${PORTSDIR}/audio/faad
42
	faad:${PORTSDIR}/audio/faad
52
.endif
43
.endif
53
44
54
.if defined(WITH_GNORMALIZE_CDRIP)
45
.if ${PORT_OPTIONS:MCDPARANOIA} || ${PORT_OPTIONS:MCDDA2WAV}
55
.if defined(WITH_CDDA2WAV)
46
USE_CDRTOOLS=	yes
56
RUN_DEPENDS+=	cdda2wav:${PORTSDIR}/sysutils/cdrtools
57
.else
47
.else
58
RUN_DEPENDS+=	cdparanoia:${PORTSDIR}/audio/cdparanoia
48
RUN_DEPENDS+=	cdparanoia:${PORTSDIR}/audio/cdparanoia
59
.endif
49
.endif
60
.endif
61
50
62
.if defined(WITH_GNORMALIZE_CDDB)
51
.if ${PORT_OPTIONS:MCDDB}
63
RUN_DEPENDS+=	cddb.pl:${PORTSDIR}/audio/p5-CDDB_get
52
RUN_DEPENDS+=	cddb.pl:${PORTSDIR}/audio/p5-CDDB_get
64
.endif
53
.endif
65
54
66
.if defined(WITH_GNORMALIZE_CDPLAY)
55
.if ${PORT_OPTIONS:MCDPLAY}
67
RUN_DEPENDS+=	p5-Audio-CD>=0:${PORTSDIR}/audio/p5-Audio-CD
56
RUN_DEPENDS+=	p5-Audio-CD>=0:${PORTSDIR}/audio/p5-Audio-CD
68
.endif
57
.endif
69
58
70
.if defined(WITH_GNORMALIZE_FLAC)
59
.if ${PORT_OPTIONS:MFLAC}
71
RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
60
RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
72
.endif
61
.endif
73
62
74
.if defined(WITH_GNORMALIZE_MAC)
63
.if ${PORT_OPTIONS:MMAC}
75
RUN_DEPENDS+=	mac:${PORTSDIR}/audio/mac
64
RUN_DEPENDS+=	mac:${PORTSDIR}/audio/mac
76
.endif
65
.endif
77
66
78
.if defined(WITH_GNORMALIZE_MPC)
67
.if ${PORT_OPTIONS:MMUSEPACK}
79
RUN_DEPENDS+=	mppenc:${PORTSDIR}/audio/musepack
68
RUN_DEPENDS+=	mppenc:${PORTSDIR}/audio/musepack
80
.endif
69
.endif
81
70
Lines 91-94 Link Here
91
	@${REINPLACE_CMD} -e 's,/usr/share/gnormalize,${DATADIR},' \
80
	@${REINPLACE_CMD} -e 's,/usr/share/gnormalize,${DATADIR},' \
92
		${WRKSRC}/gnormalize
81
		${WRKSRC}/gnormalize
93
82
94
.include <bsd.port.post.mk>
83
.include <bsd.port.mk>

Return to bug 173797