From b5f79fe0bc30f876e141a37a35d8e279af7b5a4a Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Tue, 22 Oct 2013 20:02:56 +0000 Subject: [PATCH] - Add LICENSE - Support STAGEDIR --- audio/libmp3-archive-perl/Makefile | 8 +++----- audio/libmp3-archive-perl/pkg-plist | 4 +++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/audio/libmp3-archive-perl/Makefile b/audio/libmp3-archive-perl/Makefile index 4ed1483babf4..c899ef9091fb 100644 --- a/audio/libmp3-archive-perl/Makefile +++ b/audio/libmp3-archive-perl/Makefile @@ -10,14 +10,12 @@ MASTER_SITES= http://erislabs.net/ianb/projects/${PORTNAME}/ \ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl module to manipulate filenames containing music metadata +LICENSE= GPLv2 + USE_PERL5= configure -NO_STAGE= yes USES= perl5 -MAN3= MP3::Archive::Config.3 MP3::Archive::Format.3 MP3::Archive.3 - post-patch: - @${REINPLACE_CMD} -e '/^DESTINSTALLSYSCONFDIR/ s|DESTDIR|PREFIX|' \ - ${WRKSRC}/Makefile.PL + @${REINPLACE_CMD} -e '/^INSTALLSYSCONFDIR/ s|/etc|${PREFIX}&|' ${WRKSRC}/Makefile.PL .include diff --git a/audio/libmp3-archive-perl/pkg-plist b/audio/libmp3-archive-perl/pkg-plist index e0e413010141..23ed63c8519b 100644 --- a/audio/libmp3-archive-perl/pkg-plist +++ b/audio/libmp3-archive-perl/pkg-plist @@ -1,9 +1,11 @@ -@comment $FreeBSD$ etc/mp3archiverc %%SITE_PERL%%/MP3/Archive.pm %%SITE_PERL%%/MP3/Archive/Config.pm %%SITE_PERL%%/MP3/Archive/Format.pm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3/Archive/.packlist +%%PERL5_MAN3%%/MP3::Archive.3.gz +%%PERL5_MAN3%%/MP3::Archive::Config.3.gz +%%PERL5_MAN3%%/MP3::Archive::Format.3.gz @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3/Archive @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3 @dirrmtry %%SITE_PERL%%/MP3/Archive