aboutsummaryrefslogtreecommitdiff
path: root/audio/p5-MusicBrainz-Client
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-12-08 01:00:41 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-12-08 01:00:41 +0000
commit275b859173fedf338c73da4fc0e27072cf593121 (patch)
tree6336756b0a02ef173e72cf2d466425f4b035ace5 /audio/p5-MusicBrainz-Client
parent5b9bcfa2b3753a886ad37f33c72aebd4a6c595f7 (diff)
downloadports-275b859173fedf338c73da4fc0e27072cf593121.tar.gz
ports-275b859173fedf338c73da4fc0e27072cf593121.zip
Notes
Diffstat (limited to 'audio/p5-MusicBrainz-Client')
-rw-r--r--audio/p5-MusicBrainz-Client/Makefile27
-rw-r--r--audio/p5-MusicBrainz-Client/distinfo3
-rw-r--r--audio/p5-MusicBrainz-Client/pkg-plist7
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