# Created by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
# $FreeBSD: ports/audio/mp3gain/Makefile,v 1.18 2013/01/26 16:56:07 svnexp Exp $

PORTNAME=	mp3gain
PORTVERSION=	1.5.2
CATEGORIES=	audio
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}-${PORTVERSION:C/\./_/g}-src

MAINTAINER=	dinoex@FreeBSD.org
COMMENT=	A tool to normalize the gain of MP3 files

LICENSE=	LGPL21

PLIST_FILES=	bin/mp3gain
USE_ZIP=	yes
USE_DOS2UNIX=	yes

NO_WRKSUBDIR=	yes

post-patch:
	@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
	@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/mpglibDBL/Makefile

.include <bsd.port.mk>
