Tweak devel/racer version 2.1.31
[dports.git] / audio / rebot3 / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       rebot3
4 PORTVERSION=    1.0.2
5 CATEGORIES=     audio
6 MASTER_SITES=   http://www.headmqa.com/${PORTNAME}/ \
7                 http://www.bayofrum.net/dist/${PORTNAME}/
8
9 MAINTAINER=     crees@FreeBSD.org
10 COMMENT=        Renames mp3 files using freedb or local CDDB
11
12 LICENSE=        GPLv2
13
14 RUN_DEPENDS=    p5-CDDB>=0:audio/p5-CDDB \
15                 p5-MP3-ID3v1Tag>=0:audio/p5-MP3-ID3v1Tag
16
17 USES=           perl5
18 NO_BUILD=       yes
19
20 PLIST_FILES=    bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
21
22 post-patch:
23 # Yes, we know it's perl, but we don't want to type '.pl' the whole time.
24         @${REINPLACE_CMD} -e 's#\(${PORTNAME}\).pl#\1#' \
25                 -e '1s#/usr/bin/perl#${PERL}#' \
26                 -e 's#defined (\(@.*\))#\1#' \
27                 ${WRKSRC}/${PORTNAME}.pl ${WRKSRC}/${PORTNAME}.pl.1
28
29 do-install:
30         @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
31                 ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
32         @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.pl.1 \
33                 ${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
34
35 .include <bsd.port.mk>