mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
d7f75b0e6e
PR: ports/79900 Submitted by: Ulrich Spoerlein <q@uni.de> Approved by: adamw (mentor)
34 lines
771 B
Makefile
34 lines
771 B
Makefile
# New ports collection makefile for: mp3gain
|
|
# Date created: 5 September 2002
|
|
# Whom: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mp3gain
|
|
PORTVERSION= 1.4.6
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR=${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\./_/g}-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A tool to normalize the gain of mp3 files
|
|
|
|
PLIST_FILES= bin/mp3gain
|
|
USE_REINPLACE= yes
|
|
USE_ZIP= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
MAKE_ENV= PREFIX="${PREFIX}"
|
|
|
|
pre-patch:
|
|
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s/`${PRINTF} '\r'`//"
|
|
|
|
post-patch:
|
|
@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
|
|
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/mpglibDBL/Makefile
|
|
|
|
.include <bsd.port.mk>
|