# Created by: ijliao
# $FreeBSD: audio/vorbisgain/Makefile 327706 2013-09-20 14:36:35Z bapt $

PORTNAME=	vorbisgain
PORTVERSION=	0.37
PORTREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	http://sjeng.org/ftp/vorbis/

MAINTAINER=	gamato@users.sf.net
COMMENT=	Calculates the perceived sound level of an Ogg Vorbis file

LIB_DEPENDS=	vorbis.4:${PORTSDIR}/audio/libvorbis

GNU_CONFIGURE=	yes
NO_STAGE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

MAN1=		vorbisgain.1
PLIST_FILES=	bin/vorbisgain

.if defined(WITH_RECURSIVE)
CONFIGURE_ARGS=	--enable-recursive
.endif

pre-configure:
	@${CHMOD} +x ${WRKSRC}/configure

.include <bsd.port.mk>
