2003-01-20 07:08:27 +00:00
|
|
|
# New ports collection makefile for: mp3gain
|
|
|
|
# Date created: 5 September 2002
|
|
|
|
# Whom: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mp3gain
|
2005-04-14 16:03:55 +00:00
|
|
|
PORTVERSION= 1.4.6
|
2003-01-20 07:08:27 +00:00
|
|
|
CATEGORIES= audio
|
2005-04-14 16:03:55 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR=${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\./_/g}-src
|
2003-01-20 07:08:27 +00:00
|
|
|
|
2005-04-13 14:30:01 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT= A tool to normalize the gain of mp3 files
|
2003-01-20 07:08:27 +00:00
|
|
|
|
2004-02-06 13:12:53 +00:00
|
|
|
PLIST_FILES= bin/mp3gain
|
2003-01-20 07:08:27 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_ZIP= yes
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
MAKE_ENV= PREFIX="${PREFIX}"
|
|
|
|
|
|
|
|
pre-patch:
|
2005-04-14 16:03:55 +00:00
|
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s/`${PRINTF} '\r'`//"
|
2003-01-20 07:08:27 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
|
|
|
|
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/mpglibDBL/Makefile
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|