summaryrefslogtreecommitdiffstats
path: root/audio/mp3check/Makefile
blob: 55707abe91e0eb221f50255482c47b348db635a8 (plain)
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.1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	dannyboy
DISTNAME=	${PORTNAME}
EXTRACT_SUFX=

MAINTAINER=	mark@kyne.com.au

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

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

pre-patch:
	@${PERL} -pi -e "s|^#!.+|#!${PERL}|" ${WRKSRC}/mp3check

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud