1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/audio/rebot3/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

36 lines
907 B
Makefile

# $FreeBSD$
PORTNAME= rebot3
PORTVERSION= 1.0.2
CATEGORIES= audio
MASTER_SITES= http://www.headmqa.com/${PORTNAME}/ \
http://www.bayofrum.net/dist/${PORTNAME}/
MAINTAINER= crees@FreeBSD.org
COMMENT= Renames mp3 files using freedb or local CDDB
LICENSE= GPLv2
RUN_DEPENDS= p5-CDDB>=0:audio/p5-CDDB \
p5-MP3-ID3v1Tag>=0:audio/p5-MP3-ID3v1Tag
USES= perl5
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
post-patch:
# Yes, we know it's perl, but we don't want to type '.pl' the whole time.
@${REINPLACE_CMD} -e 's#\(${PORTNAME}\).pl#\1#' \
-e '1s#/usr/bin/perl#${PERL}#' \
-e 's#defined (\(@.*\))#\1#' \
${WRKSRC}/${PORTNAME}.pl ${WRKSRC}/${PORTNAME}.pl.1
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.pl.1 \
${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
.include <bsd.port.mk>