Import audio/flacon version 2.1.0
[dports.git] / audio / mp3lint / Makefile
1 # Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
2 # $FreeBSD$
3
4 PORTNAME=       mp3lint
5 PORTVERSION=    0.9
6 PORTREVISION=   1
7 CATEGORIES=     audio perl5
8 MASTER_SITES=   http://erislabs.net/ianb/projects/${PORTNAME}/ \
9                 LOCAL/sunpoet
10
11 MAINTAINER=     sunpoet@FreeBSD.org
12 COMMENT=        Configurable tool to check collections of audio files
13
14 LICENSE=        GPLv2
15 LICENSE_FILE=   ${WRKSRC}/COPYING
16
17 BUILD_DEPENDS=  libmp3-archive-perl>=0:audio/libmp3-archive-perl
18 RUN_DEPENDS:=   ${BUILD_DEPENDS}
19
20 NO_ARCH=        yes
21 USE_PERL5=      configure
22 USES=           perl5
23
24 post-patch:
25         @${REINPLACE_CMD} -e '/^INSTALLSYSCONFDIR/ s|/etc|${PREFIX}&|' ${WRKSRC}/Makefile.PL
26 # It fails to build with error message as follows:
27 # 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.
28 #       @${MKDIR} ${WRKSRC}/blib/man5/
29
30 .include <bsd.port.mk>