diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-03-24 02:46:20 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-03-24 02:46:20 +0000 |
commit | 641275d7d312aaf37295d9c3f968052a1cb1f7d6 (patch) | |
tree | b44b22b435fd25bb42b33eeb80b94442cfeda43f /audio | |
parent | 17a7ae05c2852b50660fb9fd02d536c95346c8a6 (diff) | |
download | ports-641275d7d312aaf37295d9c3f968052a1cb1f7d6.tar.gz ports-641275d7d312aaf37295d9c3f968052a1cb1f7d6.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/p5-MusicBrainz-TRM/Makefile | 38 | ||||
-rw-r--r-- | audio/p5-MusicBrainz-TRM/pkg-descr | 4 | ||||
-rw-r--r-- | audio/p5-MusicBrainz-TRM/pkg-plist | 7 |
4 files changed, 50 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index ae9dcfba0f10..ac663ddb52b3 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -191,6 +191,7 @@ SUBDIR += p5-MPEG-ID3v2Tag SUBDIR += p5-MusicBrainz-Client SUBDIR += p5-MusicBrainz-Queries + SUBDIR += p5-MusicBrainz-TRM SUBDIR += p5-Shout SUBDIR += p5-Xmms SUBDIR += p5-libvorbis diff --git a/audio/p5-MusicBrainz-TRM/Makefile b/audio/p5-MusicBrainz-TRM/Makefile new file mode 100644 index 000000000000..cc7fab9dcdf8 --- /dev/null +++ b/audio/p5-MusicBrainz-TRM/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: p5-MusicBrainz-TRM +# Date created: 23 March 2003 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= MusicBrainz-TRM +PORTVERSION= 0.01 +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 TRM API + +EXTRACT_DEPENDS= ${NONEXISTENT}:${LIBMUSICBRAINZ_PORTDIR}:patch +LIB_DEPENDS= musicbrainz.2:${LIBMUSICBRAINZ_PORTDIR} + +LIBMUSICBRAINZ_PORTDIR= ${PORTSDIR}/audio/libmusicbrainz + +PERL_CONFIGURE= yes + +MAN3= MusicBrainz::TRM.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/TRM ${WRKSRC} + +.include <bsd.port.post.mk> diff --git a/audio/p5-MusicBrainz-TRM/pkg-descr b/audio/p5-MusicBrainz-TRM/pkg-descr new file mode 100644 index 000000000000..f5abec4072bc --- /dev/null +++ b/audio/p5-MusicBrainz-TRM/pkg-descr @@ -0,0 +1,4 @@ +This module provides access to the musicbrainz client TRM API using a +perl-ish OO interface. + +WWW: http://www.musicbrainz.org/ diff --git a/audio/p5-MusicBrainz-TRM/pkg-plist b/audio/p5-MusicBrainz-TRM/pkg-plist new file mode 100644 index 000000000000..0556a535d45a --- /dev/null +++ b/audio/p5-MusicBrainz-TRM/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz/TRM.pm +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/MusicBrainz 2>/dev/null || true +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz/TRM/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz/TRM/TRM.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz/TRM/TRM.so +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz/TRM +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MusicBrainz 2>/dev/null || true |