1 # $FreeBSD: audio/rebot3/Makefile 327706 2013-09-20 14:36:35Z bapt $
6 MASTER_SITES= http://www.headmqa.com/${PORTNAME}/ \
7 http://www.bayofrum.net/dist/${PORTNAME}/
9 MAINTAINER= crees@FreeBSD.org
10 COMMENT= Renames mp3 files using freedb or local CDDB
14 RUN_DEPENDS= p5-CDDB>=0:${PORTSDIR}/audio/p5-CDDB \
15 p5-MP3-ID3v1Tag>=0:${PORTSDIR}/audio/p5-MP3-ID3v1Tag
22 PLIST_FILES= bin/${PORTNAME}
24 .include <bsd.port.pre.mk>
27 # Yes, we know it's perl, but we don't want to type '.pl' the whole time.
28 @${REINPLACE_CMD} -e 's#\(${PORTNAME}\).pl#\1#' \
29 -e '1s#/usr/bin/perl#${PERL}#' \
30 -e 's#defined (\(@.*\))#\1#' \
31 ${WRKSRC}/${PORTNAME}.pl ${WRKSRC}/${PORTNAME}.pl.1
34 @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
35 @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.pl.1 \
36 ${MAN1PREFIX}/man/man1/${PORTNAME}.1
38 .include <bsd.port.post.mk>