aboutsummaryrefslogtreecommitdiff
path: root/audio/normalize/Makefile
blob: b519fc2ab13a0b507982b82e77b723d59ad726ed (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
# Created by: George Reid <greid@ukug.uk.freebsd.org>

PORTNAME=	normalize
PORTVERSION=	0.7.7
PORTREVISION=	10
CATEGORIES=	audio
MASTER_SITES=	SAVANNAH

MAINTAINER=	alex@fafula.com
COMMENT=	Tool for adjusting the volume of wave/MP3 files to a standard level

LIB_DEPENDS=	libmad.so:audio/libmad

USES=		shebangfix perl5 tar:bzip2 libtool
USE_PERL5=	run
GNU_CONFIGURE=		yes
CONFIGURE_ARGS=		--disable-helper-search
CPPFLAGS+=		-I${LOCALBASE}/include
LDFLAGS+=		-L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE=	yes

OPTIONS_DEFINE=	MP3 OGG FLAC NLS
OPTIONS_DEFAULT=	MP3
OPTIONS_SUB=	yes

MP3_RUN_DEPENDS+=	madplay:audio/madplay \
			lame:audio/lame
OGG_RUN_DEPENDS=	oggdec:audio/vorbis-tools
FLAC_RUN_DEPENDS=	flac:audio/flac
NLS_USES=		gettext
NLS_CONFIGURE_ENABLE=	nls

.include <bsd.port.mk>