aboutsummaryrefslogblamecommitdiff
path: root/audio/mp3check/Makefile
blob: 5cdc72b43147ed8b2aab0c7bacc698db85a37ad5 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                               
                   
                     
                                                

             
                                 
                                                                          



                                                                      

                   






                                 
                                                                      

           
                                                                      

                      
# 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>