diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-20 07:08:27 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-01-20 07:08:27 +0000 |
commit | c01499cf502581fa79e252ec598218d075087527 (patch) | |
tree | 19a8aef6f2cc5b29e0a7d9eba8264ac2892b5578 /audio/mp3gain/Makefile | |
parent | New port: security/ifd-gpr400: PC/SC Lite IFD for Gemplus GPR400 (diff) |
new port: audio/mp3gain (A tool to normalize the gain of mp3 files)
Tired of reaching for your volume knob every time your mp3
player changes to a new song? MP3Gain analyzes and adjusts
mp3 files so that they have the same volume.
PR: ports/46625
Submitted by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
Notes
Notes:
svn path=/head/; revision=73624
Diffstat (limited to 'audio/mp3gain/Makefile')
-rw-r--r-- | audio/mp3gain/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/audio/mp3gain/Makefile b/audio/mp3gain/Makefile new file mode 100644 index 000000000000..04d5abe39a8e --- /dev/null +++ b/audio/mp3gain/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: mp3gain +# Date created: 5 September 2002 +# Whom: Simon 'corecode' Schubert <corecode@corecode.ath.cx> +# +# $FreeBSD$ +# + +PORTNAME= mp3gain +PORTVERSION= 1.3.2 +CATEGORIES= audio +MASTER_SITES= http://www.mpex.net/software/mirror/ \ + http://www.speakeasy.net/~djkarmad/mp3gain/ +DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//g}_src${EXTSUFFIX} + +MAINTAINER= corecode@corecode.ath.cx + +USE_REINPLACE= yes +USE_ZIP= yes + +NO_WRKSUBDIR= yes + +MAKE_ENV= PREFIX="${PREFIX}" + +pre-patch: + @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s/`/usr/bin/printf '\r'`//" + +post-patch: + @${REINPLACE_CMD} -e '906,943s,/?,-h,;921,945s,/,-,g' ${WRKSRC}/mp3gain.c + @${REINPLACE_CMD} -e 's,\\,/,' ${WRKSRC}/mpglibDBL/interface.h + @${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile + @${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/mpglibDBL/Makefile + +.include <bsd.port.mk> |