1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add p5-MusicBrainz-TRM, a Perl module that provides access to the

musicbrainz client TRM API.
This commit is contained in:
Akinori MUSHA 2003-03-24 02:46:20 +00:00
parent 17a7ae05c2
commit 641275d7d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=77338
4 changed files with 50 additions and 0 deletions

View File

@ -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

View File

@ -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>

View File

@ -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/

View File

@ -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