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

(-)gnormalize-0.61/Makefile (-15 / +59 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	gnormalize
8
PORTNAME=	gnormalize
9
PORTVERSION=	0.60
9
PORTVERSION=	0.61
10
CATEGORIES=	audio
10
CATEGORIES=	audio
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 15-33 Link Here
15
COMMENT=	An alternative for replaygain
15
COMMENT=	An alternative for replaygain
16
16
17
BUILD_DEPENDS=	lzma:${PORTSDIR}/archivers/lzmautils
17
BUILD_DEPENDS=	lzma:${PORTSDIR}/archivers/lzmautils
18
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
18
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2
19
		${SITE_PERL}/${PERL_ARCH}/Audio/CD.pm:${PORTSDIR}/audio/p5-Audio-CD \
20
		${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info \
21
		${SITE_PERL}/${PERL_ARCH}/auto/Encode/Encode.so:${PORTSDIR}/converters/p5-Encode \
22
		normalize:${PORTSDIR}/audio/normalize \
23
		cddb.pl:${PORTSDIR}/audio/p5-CDDB_get \
24
		lame:${PORTSDIR}/audio/lame \
25
		faac:${PORTSDIR}/audio/faac \
26
		oggenc:${PORTSDIR}/audio/vorbis-tools \
27
		mppenc:${PORTSDIR}/audio/musepack \
28
		mac:${PORTSDIR}/audio/mac \
29
		flac:${PORTSDIR}/audio/flac \
30
		faad:${PORTSDIR}/audio/faad
31
19
32
USE_PERL5_RUN=	yes
20
USE_PERL5_RUN=	yes
33
INSTALLS_ICONS=	yes
21
INSTALLS_ICONS=	yes
Lines 36-41 Link Here
36
24
37
MAN1=		gnormalize.1
25
MAN1=		gnormalize.1
38
26
27
OPTIONS=	\
28
	GNORMALIZE_MP3	"WAV <-> MP3 Support"	on	\
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
	GNORMALIZE_WAVEGAIN	"WaveGain support (BROKEN)"	off
38
39
.include <bsd.port.pre.mk>
40
41
.if defined(WITH_GNORMALIZE_MP3)
42
RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame \
43
	${SITE_PERL}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info
44
.endif
45
46
.if defined(WITH_GNORMALIZE_OGG)
47
RUN_DEPENDS+=	oggenc:${PORTSDIR}/audio/vorbis-tools
48
.endif
49
50
.if defined(WITH_GNORMALIZE_MP4)
51
RUN_DEPENDS+=	faac:${PORTSDIR}/audio/faac \
52
	faad:${PORTSDIR}/audio/faad
53
.endif
54
55
.if defined(WITH_GNORMALIZE_CDRIP)
56
.if defined(WITH_CDDA2WAV)
57
RUN_DEPENDS+=	cdda2wav:${PORTSDIR}/sysutils/cdrtools
58
.else
59
RUN_DEPENDS+=	cdparanoia:${PORTSDIR}/audio/cdparanoia
60
.endif
61
.endif
62
63
.if defined(WITH_GNORMALIZE_CDDB)
64
RUN_DEPENDS+=	cddb.pl:${PORTSDIR}/audio/p5-CDDB_get
65
.endif
66
67
.if defined(WITH_GNORMALIZE_CDPLAY)
68
RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Audio/CD.pm:${PORTSDIR}/audio/p5-Audio-CD
69
.endif
70
71
.if defined(WITH_GNORMALIZE_FLAC)
72
RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
73
.endif
74
75
.if defined(WITH_GNORMALIZE_MAC)
76
RUN_DEPENDS+=	mac:${PORTSDIR}/audio/mac
77
.endif
78
79
.if defined(WITH_GNORMALIZE_MPC)
80
RUN_DEPENDS+=	mppenc:${PORTSDIR}/audio/musepack
81
.endif
82
39
post-patch:
83
post-patch:
40
	@${REINPLACE_CMD} -e 's,^PREFIX=.*,PREFIX=${PREFIX},; \
84
	@${REINPLACE_CMD} -e 's,^PREFIX=.*,PREFIX=${PREFIX},; \
41
		s,^MANDIR=.*,MANDIR=${MANPREFIX}/man,; \
85
		s,^MANDIR=.*,MANDIR=${MANPREFIX}/man,; \
Lines 44-47 Link Here
44
	@${REINPLACE_CMD} -e 's,/usr/share/gnormalize,${DATADIR},' \
88
	@${REINPLACE_CMD} -e 's,/usr/share/gnormalize,${DATADIR},' \
45
		${WRKSRC}/gnormalize
89
		${WRKSRC}/gnormalize
46
90
47
.include <bsd.port.mk>
91
.include <bsd.port.post.mk>
(-)gnormalize-0.61/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (gnormalize-0.60.tar.gz) = 68c80407b1eb9ebf6af74f421ca274b5
1
MD5 (gnormalize-0.61.tar.gz) = a1371813b89a7edfe620ca23be3f8669
2
SHA256 (gnormalize-0.60.tar.gz) = 01aca390a9d10256cadbb7a3f53bfeba095a059fdd603c3b4e780a023874c41d
2
SHA256 (gnormalize-0.61.tar.gz) = 034f716a71e7b4ce7dea8464b2602209ed573daeeb3f957d4d3caebbead94b59
3
SIZE (gnormalize-0.60.tar.gz) = 1428178
3
SIZE (gnormalize-0.61.tar.gz) = 1569443

Return to bug 123930