1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/audio/mp3lint/Makefile

28 lines
803 B
Makefile
Raw Normal View History

2013-08-21 17:42:57 +00:00
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
# $FreeBSD$
PORTNAME= mp3lint
PORTVERSION= 0.9
CATEGORIES= audio perl5
MASTER_SITES= http://erislabs.net/ianb/projects/${PORTNAME}/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Configurable tool to check collections of audio files
LICENSE= GPLv2
2011-08-30 06:41:13 +00:00
BUILD_DEPENDS= libmp3-archive-perl>=0:${PORTSDIR}/audio/libmp3-archive-perl
RUN_DEPENDS:= ${BUILD_DEPENDS}
2013-08-21 14:08:06 +00:00
USE_PERL5= configure
USES= perl5
post-patch:
@${REINPLACE_CMD} -e '/^INSTALLSYSCONFDIR/ s|/etc|${PREFIX}&|' ${WRKSRC}/Makefile.PL
# It fails to build with error message as follows:
# Can't write-open blib/man5/mp3lintrc.5: No such file or directory at /usr/local/lib/perl5/5.xx.y/ExtUtils/Command/MM.pm line zzz.
@${MKDIR} ${WRKSRC}/blib/man5/
.include <bsd.port.mk>