summaryrefslogtreecommitdiff
path: root/audio/p5-MusicBrainz-Client
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-03-24 02:35:03 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-03-24 02:35:03 +0000
commit2beba929b7d86b17084c3dda418fa77d3004db61 (patch)
tree8087cd9b709110e7fa8f7e032d80f9d65da1e896 /audio/p5-MusicBrainz-Client
parentRepocopy musicbrainz to libmusicbrainz and update to 2.0.1. (diff)
Add p5-MusicBrainz-Client, a Perl module that provides access to the
musicbrainz client API.
Notes
Notes: svn path=/head/; revision=77332
Diffstat (limited to 'audio/p5-MusicBrainz-Client')
-rw-r--r--audio/p5-MusicBrainz-Client/Makefile38
-rw-r--r--audio/p5-MusicBrainz-Client/pkg-descr4
-rw-r--r--audio/p5-MusicBrainz-Client/pkg-plist8
3 files changed, 50 insertions, 0 deletions
diff --git a/audio/p5-MusicBrainz-Client/Makefile b/audio/p5-MusicBrainz-Client/Makefile
new file mode 100644
index 000000000000..70b7141a4258
--- /dev/null
+++ b/audio/p5-MusicBrainz-Client/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: p5-MusicBrainz-Client
+# Date created: 23 March 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MusicBrainz-Client
+PORTVERSION= 0.06
+CATEGORIES= audio perl5
+MASTER_SITES= # none
+PKGNAMEPREFIX= p5-
+DISTFILES= # none
+
+MAINTAINER= knu@freebsd.org
+COMMENT= A Perl module that provides access to the musicbrainz client API
+
+EXTRACT_DEPENDS= ${NONEXISTENT}:${LIBMUSICBRAINZ_PORTDIR}:patch
+LIB_DEPENDS= musicbrainz.2:${LIBMUSICBRAINZ_PORTDIR}
+
+LIBMUSICBRAINZ_PORTDIR= ${PORTSDIR}/audio/libmusicbrainz
+
+PERL_CONFIGURE= yes
+
+MAN3= MusicBrainz::Client.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= Port 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/pkg-descr b/audio/p5-MusicBrainz-Client/pkg-descr
new file mode 100644
index 000000000000..6551b333d04c
--- /dev/null
+++ b/audio/p5-MusicBrainz-Client/pkg-descr
@@ -0,0 +1,4 @@
+This module provides access to the musicbrainz client API using a
+perl-ish OO interface.
+
+WWW: http://www.musicbrainz.org/
diff --git a/audio/p5-MusicBrainz-Client/pkg-plist b/audio/p5-MusicBrainz-Client/pkg-plist
new file mode 100644
index 000000000000..198bf998b903
--- /dev/null
+++ b/audio/p5-MusicBrainz-Client/pkg-plist
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/Client.pm
+@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
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz/Client/Client.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz/Client/autosplit.ix
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz/Client
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz 2>/dev/null || true