aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3check/Makefile
blob: 5cdc72b43147ed8b2aab0c7bacc698db85a37ad5 (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
32
33
34
# New ports collection makefile for:	mp3check
# Date created:			Apr 16, 2001
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	mp3check
PORTVERSION=	1.5
CATEGORIES=	audio
MASTER_SITES=	http://www.icculus.org/mp3check/
EXTRACT_SUFX=

MAINTAINER=	markp@FreeBSD.org
COMMENT=	A tool for checking and fixing mp3 archive inconsistencies

RUN_DEPENDS=	${LOCALBASE}/bin/id3tool:${PORTSDIR}/audio/id3tool \
		${LOCALBASE}/bin/mp3_check:${PORTSDIR}/audio/mp3_check

USE_REINPLACE=	yes
USE_PERL5_RUN=	yes
NO_WRKSUBDIR=	yes
EXTRACT_CMD=	${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	${WRKSRC}
NO_BUILD=	yes

pre-patch:
	${REINPLACE_CMD} -E "s|^#!.+|#!${PERL}|" ${WRKSRC}/${DISTNAME}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/mp3check

.include <bsd.port.mk>