aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-03-24 10:35:03 +0800
committerknu <knu@FreeBSD.org>2003-03-24 10:35:03 +0800
commitc85c82580054f44d05aa473ef03b3857f58ceced (patch)
treed714ebdb27573732a41f8d9b60e99eb7d209802a /audio
parente3210376d460e8ab1addd845c913cdf24b8a9b92 (diff)
downloadfreebsd-ports-gnome-c85c82580054f44d05aa473ef03b3857f58ceced.tar.gz
freebsd-ports-gnome-c85c82580054f44d05aa473ef03b3857f58ceced.tar.zst
freebsd-ports-gnome-c85c82580054f44d05aa473ef03b3857f58ceced.zip
Add p5-MusicBrainz-Client, a Perl module that provides access to the
musicbrainz client API.
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-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
4 files changed, 51 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 6695f05a1121..b14b69fea9c5 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -189,6 +189,7 @@
SUBDIR += p5-MP3-ID3v1Tag
SUBDIR += p5-MP3-Info
SUBDIR += p5-MPEG-ID3v2Tag
+ SUBDIR += p5-MusicBrainz-Client
SUBDIR += p5-Shout
SUBDIR += p5-Xmms
SUBDIR += p5-libvorbis
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