mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
45d5191152
PR: 82598 Submitted by: Andrej Zverev <az@inec.ru>
36 lines
819 B
Makefile
36 lines
819 B
Makefile
# New ports collection makefile for: mp3check
|
|
# Date created: Apr 16, 2001
|
|
# Whom: Mark Pulford <mark@kyne.com.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mp3check
|
|
PORTVERSION= 1.6
|
|
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
|
|
PLIST_FILES= bin/mp3check
|
|
|
|
pre-patch:
|
|
${REINPLACE_CMD} -E "s|^#!.+|#!${PERL}|" ${WRKSRC}/${DISTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/mp3check
|
|
|
|
.include <bsd.port.mk>
|