2001-02-03 18:16:34 +00:00
|
|
|
# New ports collection makefile for: normalize
|
|
|
|
# Date created: 31 January 2001
|
|
|
|
# Whom: George Reid <greid@ukug.uk.freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-02-04 21:12:59 +00:00
|
|
|
PORTNAME= normalize
|
2003-11-16 14:22:18 +00:00
|
|
|
PORTVERSION= 0.7.6
|
2004-03-23 17:23:50 +00:00
|
|
|
PORTREVISION= 3
|
2001-02-04 21:12:59 +00:00
|
|
|
CATEGORIES= audio
|
2003-11-16 14:22:18 +00:00
|
|
|
MASTER_SITES= http://www1.cs.columbia.edu/~cvaill/normalize/
|
2001-02-03 18:16:34 +00:00
|
|
|
|
2003-11-03 07:28:44 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-24 06:10:54 +00:00
|
|
|
COMMENT= A tool for adjusting the volume of wave/MP3 files to a standard level
|
2001-02-03 18:16:34 +00:00
|
|
|
|
2004-02-04 04:36:30 +00:00
|
|
|
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/mad
|
2003-11-16 14:22:18 +00:00
|
|
|
|
2004-03-24 14:20:03 +00:00
|
|
|
USE_BZIP2= yes # XXX set before OPTIONS
|
2004-03-23 17:23:50 +00:00
|
|
|
OPTIONS= XMMS "Build XMMS plugin" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_XMMS)
|
|
|
|
LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
|
|
|
|
.endif
|
|
|
|
|
2003-11-16 14:22:18 +00:00
|
|
|
USE_GETOPT_LONG= yes
|
2004-02-04 04:36:30 +00:00
|
|
|
USE_GETTEXT= yes
|
2003-11-16 14:22:18 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2004-03-23 17:23:50 +00:00
|
|
|
.if defined(WITH_XMMS)
|
|
|
|
PLIST_SUB+= XMMS=""
|
|
|
|
.else
|
2003-11-16 14:22:18 +00:00
|
|
|
CONFIGURE_ARGS= --disable-xmms
|
2004-03-23 17:23:50 +00:00
|
|
|
PLIST_SUB+= XMMS="@comment "
|
|
|
|
.endif
|
2001-02-03 18:16:34 +00:00
|
|
|
|
2003-02-24 06:10:54 +00:00
|
|
|
MAN1= normalize.1 normalize-mp3.1
|
2001-02-03 18:16:34 +00:00
|
|
|
|
2003-11-16 14:22:18 +00:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
2001-02-03 18:16:34 +00:00
|
|
|
|
2004-03-23 17:23:50 +00:00
|
|
|
.include <bsd.port.post.mk>
|