aboutsummaryrefslogtreecommitdiff
path: root/audio/mp3check
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-07 06:31:06 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-07 06:31:06 +0000
commit5c04099ede042bfdf57132960bdd7ed0c67494a3 (patch)
tree1aee44d367d29ab7827a2e97a4ac08972d30292e /audio/mp3check
parentaf8e446837731592da4ab89348c370f8708986bc (diff)
downloadports-5c04099ede042bfdf57132960bdd7ed0c67494a3.tar.gz
ports-5c04099ede042bfdf57132960bdd7ed0c67494a3.zip
Notes
Diffstat (limited to 'audio/mp3check')
-rw-r--r--audio/mp3check/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/mp3check/Makefile b/audio/mp3check/Makefile
index d33f56bab12e..2ba6d9dcf985 100644
--- a/audio/mp3check/Makefile
+++ b/audio/mp3check/Makefile
@@ -13,6 +13,7 @@ COMMENT= Tool for checking and fixing MP3 archive inconsistencies
RUN_DEPENDS= ${LOCALBASE}/bin/id3tool:${PORTSDIR}/audio/id3tool \
${LOCALBASE}/bin/mp3_check:${PORTSDIR}/audio/mp3_check
+USES= shebangfix
USE_PERL5_RUN= yes
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
@@ -20,9 +21,7 @@ EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKSRC}
NO_BUILD= yes
PLIST_FILES= bin/mp3check
-
-pre-patch:
- ${REINPLACE_CMD} -E "s|^#!.+|#!${PERL}|" ${WRKSRC}/${DISTNAME}
+SHEBANG_FILES= ${DISTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/mp3check