Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2013 20:03:01 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331312 - head/audio/mp3lint
Message-ID:  <201310222003.r9MK31Cm021999@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Oct 22 20:03:01 2013
New Revision: 331312
URL: http://svnweb.freebsd.org/changeset/ports/331312

Log:
  - Fix build on some Perl releases: it fails to build with 5.14.4 (current default)
  - Add LICENSE
  - Support STAGEDIR

Modified:
  head/audio/mp3lint/Makefile
  head/audio/mp3lint/pkg-plist   (contents, props changed)

Modified: head/audio/mp3lint/Makefile
==============================================================================
--- head/audio/mp3lint/Makefile	Tue Oct 22 20:02:56 2013	(r331311)
+++ head/audio/mp3lint/Makefile	Tue Oct 22 20:03:01 2013	(r331312)
@@ -10,19 +10,18 @@ MASTER_SITES=	http://erislabs.net/ianb/p
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Configurable tool to check collections of audio files
 
+LICENSE=	GPLv2
+
 BUILD_DEPENDS=	libmp3-archive-perl>=0:${PORTSDIR}/audio/libmp3-archive-perl
-RUN_DEPENDS=	libmp3-archive-perl>=0:${PORTSDIR}/audio/libmp3-archive-perl
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-NO_STAGE=	yes
 USE_PERL5=	configure
 USES=		perl5
 
-MAN1=		mp3lintsum.1 mp3lintskip.1 mp3lint.1
-MAN3=		mp3lint-tools.3
-MAN5=		mp3lintrc.5
-
 post-patch:
-	@${REINPLACE_CMD} -e '/^DESTINSTALLSYSCONFDIR/ s|DESTDIR|PREFIX|' \
-		${WRKSRC}/Makefile.PL
+	@${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>

Modified: head/audio/mp3lint/pkg-plist
==============================================================================
--- head/audio/mp3lint/pkg-plist	Tue Oct 22 20:02:56 2013	(r331311)
+++ head/audio/mp3lint/pkg-plist	Tue Oct 22 20:03:01 2013	(r331312)
@@ -1,4 +1,3 @@
-@comment $FreeBSD$
 bin/mp3lint
 bin/mp3lintsum
 bin/mp3lintskip
@@ -19,6 +18,13 @@ etc/mp3lintrc
 %%SITE_PERL%%/MP3/Archive/Lint/Tools/Ogg.pm
 %%SITE_PERL%%/MP3/Archive/Lint/Tools/Wav.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/mp3lint/.packlist
+%%PERL5_MAN3%%/mp3lint-tools.3.gz
+man/man1/mp3lint.1.gz
+man/man1/mp3lintskip.1.gz
+man/man1/mp3lintsum.1.gz
+man/man5/mp3lintrc.5.gz
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/mp3lint
 @dirrmtry %%SITE_PERL%%/MP3/Archive/Lint/Tools
 @dirrmtry %%SITE_PERL%%/MP3/Archive/Lint
+@dirrmtry %%SITE_PERL%%/MP3/Archive
+@dirrmtry %%SITE_PERL%%/MP3



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310222003.r9MK31Cm021999>