2013-03-21 18:32:34 +01:00
|
|
|
# Created by: George Reid <greid@ukug.uk.freebsd.org>
|
2001-02-03 19:16:34 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-02-04 22:12:59 +01:00
|
|
|
PORTNAME= normalize
|
2006-01-30 13:33:08 +01:00
|
|
|
PORTVERSION= 0.7.7
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 6
|
2001-02-04 22:12:59 +01:00
|
|
|
CATEGORIES= audio
|
2009-01-31 00:12:01 +01:00
|
|
|
MASTER_SITES= SAVANNAH
|
2001-02-03 19:16:34 +01:00
|
|
|
|
2006-01-30 13:33:08 +01:00
|
|
|
MAINTAINER= alex@fafula.com
|
2003-02-24 07:10:54 +01:00
|
|
|
COMMENT= A tool for adjusting the volume of wave/MP3 files to a standard level
|
2001-02-03 19:16:34 +01:00
|
|
|
|
2006-01-30 13:33:08 +01:00
|
|
|
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2007-08-28 10:37:46 +02:00
|
|
|
CONFIGURE_ARGS= --disable-helper-search
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2006-01-30 13:33:08 +01:00
|
|
|
|
|
|
|
MAN1= normalize.1 normalize-mp3.1
|
2003-11-16 15:22:18 +01:00
|
|
|
|
2013-03-21 18:32:34 +01:00
|
|
|
OPTIONS_DEFINE= XMMS MP3 OGG FLAC NLS
|
|
|
|
OPTIONS_DEFAULT= MP3
|
|
|
|
XMMS_DESC= XMMS plugin
|
2006-01-30 13:33:08 +01:00
|
|
|
|
2013-03-21 18:32:34 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2004-03-23 18:23:50 +01:00
|
|
|
|
2013-03-21 18:32:34 +01:00
|
|
|
.if ${PORT_OPTIONS:MXMMS}
|
2006-01-30 13:33:08 +01:00
|
|
|
LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
|
2004-03-23 18:23:50 +01:00
|
|
|
PLIST_SUB+= XMMS=""
|
|
|
|
.else
|
2007-08-28 10:37:46 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-xmms
|
2004-03-23 18:23:50 +01:00
|
|
|
PLIST_SUB+= XMMS="@comment "
|
|
|
|
.endif
|
2001-02-03 19:16:34 +01:00
|
|
|
|
2013-03-21 18:32:34 +01:00
|
|
|
.if ${PORT_OPTIONS:MMP3}
|
2007-08-28 10:37:46 +02:00
|
|
|
RUN_DEPENDS+= madplay:${PORTSDIR}/audio/madplay \
|
|
|
|
lame:${PORTSDIR}/audio/lame
|
|
|
|
.endif
|
|
|
|
|
2013-03-21 18:32:34 +01:00
|
|
|
.if ${PORT_OPTIONS:MOGG}
|
2007-08-28 10:37:46 +02:00
|
|
|
RUN_DEPENDS+= oggdec:${PORTSDIR}/audio/vorbis-tools
|
|
|
|
.endif
|
|
|
|
|
2013-03-21 18:32:34 +01:00
|
|
|
.if ${PORT_OPTIONS:MFLAC}
|
2007-08-28 10:37:46 +02:00
|
|
|
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
|
|
|
|
.endif
|
|
|
|
|
2013-03-21 18:32:34 +01:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2004-03-28 00:35:31 +01:00
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2013-03-21 18:32:34 +01:00
|
|
|
.include <bsd.port.mk>
|