1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/audio/mp3gain/Makefile

35 lines
935 B
Makefile
Raw Normal View History

# 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
2003-02-21 11:08:38 +00:00
COMMENT= A tool to normalize the gain of mp3 files
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>