diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/p5-MusicBrainz-Client/Makefile | 27 | ||||
-rw-r--r-- | audio/p5-MusicBrainz-Client/distinfo | 3 | ||||
-rw-r--r-- | audio/p5-MusicBrainz-Client/pkg-plist | 7 |
3 files changed, 23 insertions, 14 deletions
diff --git a/audio/p5-MusicBrainz-Client/Makefile b/audio/p5-MusicBrainz-Client/Makefile index 2c0032871ec5..8a314c55093c 100644 --- a/audio/p5-MusicBrainz-Client/Makefile +++ b/audio/p5-MusicBrainz-Client/Makefile @@ -6,24 +6,27 @@ # PORTNAME= MusicBrainz-Client -PORTVERSION= 0.06 -PORTREVISION= 2 +PORTVERSION= 0.10 +PORTREVISION= 0 CATEGORIES= audio perl5 -MASTER_SITES= # none +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/S/SV/SVANZOEST PKGNAMEPREFIX= p5- -DISTFILES= # none -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= A Perl module that provides access to the musicbrainz client API -EXTRACT_DEPENDS= ${NONEXISTENT}:${LIBMUSICBRAINZ_PORTDIR}:patch -LIB_DEPENDS= musicbrainz.4:${LIBMUSICBRAINZ_PORTDIR} - -LIBMUSICBRAINZ_PORTDIR= ${PORTSDIR}/audio/libmusicbrainz +LIB_DEPENDS= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MusicBrainz/Queries.pm:${PORTSDIR}/audio/p5-MusicBrainz-Queries +RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -MAN3= MusicBrainz::Client.3 +MAN3= MusicBrainz::Client.3 \ + MusicBrainz::Client::Simple.3 \ + MusicBrainz::Client::Simple::Album.3 \ + MusicBrainz::Client::Simple::Artist.3 \ + MusicBrainz::Client::Simple::Track.3 .include <bsd.port.pre.mk> @@ -31,8 +34,4 @@ MAN3= MusicBrainz::Client.3 IGNORE= requires perl 5.6.1 or later. Install lang/perl5 then try again .endif -do-extract: - ${MKDIR} ${WRKDIR} - ${LN} -fs `cd ${LIBMUSICBRAINZ_PORTDIR}; ${MAKE} -V WRKSRC`/perl/Client ${WRKSRC} - .include <bsd.port.post.mk> diff --git a/audio/p5-MusicBrainz-Client/distinfo b/audio/p5-MusicBrainz-Client/distinfo new file mode 100644 index 000000000000..125a2c7a76d0 --- /dev/null +++ b/audio/p5-MusicBrainz-Client/distinfo @@ -0,0 +1,3 @@ +MD5 (MusicBrainz-Client-0.10.tar.gz) = 51c4b23f6772cc2701936fd7aa635fb0 +SHA256 (MusicBrainz-Client-0.10.tar.gz) = d643b8abdf02384ad05eff73801f06b60bdca2273a912c5985be00487b3c4686 +SIZE (MusicBrainz-Client-0.10.tar.gz) = 23797 diff --git a/audio/p5-MusicBrainz-Client/pkg-plist b/audio/p5-MusicBrainz-Client/pkg-plist index 198bf998b903..9607023ff0b8 100644 --- a/audio/p5-MusicBrainz-Client/pkg-plist +++ b/audio/p5-MusicBrainz-Client/pkg-plist @@ -1,4 +1,11 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/simple_demo.pl %%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/Client.pm +%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/Client/Simple.pm +%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/Client/Simple/Album.pm +%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/Client/Simple/Artist.pm +%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/Client/Simple/Track.pm +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/Client/Simple 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/Client 2>/dev/null || true @unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz 2>/dev/null || true %%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz/Client/.packlist %%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz/Client/Client.bs |