aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3gain/Makefile
blob: 661ad71d7c7d4bc3d3e46423cbb06cb2548221fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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= dinoex@FreeBSD.org
COMMENT=    A tool to normalize the gain of MP3 files

PLIST_FILES=    bin/mp3gain
USE_ZIP=    yes

NO_WRKSUBDIR=   yes

pre-patch:
    @${FIND} ${WRKDIR} -type f -print0 | ${XARGS} -0 \
        ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'

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

.include <bsd.port.mk>