Add a port for David Schultz's Net::FreeDB module, one of the few

modules that allow a Perl script to query an audio CD's ID under both
Windows and Linux, and now FreeBSD, too.  I've submitted the FreeBSD
implementation patch to David Schultz, but in the meantime, here it is.
This commit is contained in:
Peter Pentchev 2005-09-29 13:34:44 +00:00
parent d3486c0448
commit 38120d667f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143779
5 changed files with 49 additions and 0 deletions

View File

@ -361,6 +361,7 @@
SUBDIR += p5-MusicBrainz-TRM
SUBDIR += p5-Net-DAAP-Client
SUBDIR += p5-Net-DAAP-DMAP
SUBDIR += p5-Net-FreeDB
SUBDIR += p5-Ogg-Vorbis-Header
SUBDIR += p5-Shout
SUBDIR += p5-Xmms

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: p5-Net-FreeDB
# Date created: September 29th, 2005
# Whom: Peter Pentchev <roam@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Net-FreeDB
PORTVERSION= 0.06
CATEGORIES= audio perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
PATCH_SITES= ${MASTER_SITE_LOCAL} \
http://people.FreeBSD.org/~roam/ports/patches/net/
PATCH_SITE_SUBDIR= roam/net
PATCHFILES= Net-FreeDB-0.06-FreeBSD.patch
MAINTAINER= roam@FreeBSD.org
COMMENT= Get the CDID of an audio CD and query the FreeDB servers
BUILD_DEPENDS= ${SITE_PERL}/CDDB/File.pm:${PORTSDIR}/audio/p5-CDDB-File \
${SITE_PERL}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Net::FreeDB.3
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Net-FreeDB-0.06.tar.gz) = e36554b1fd80860b61e00162fd0325a8
SIZE (Net-FreeDB-0.06.tar.gz) = 17516
MD5 (Net-FreeDB-0.06-FreeBSD.patch) = 0cec3e8a44c693b5274f919f38f83b28
SIZE (Net-FreeDB-0.06-FreeBSD.patch) = 6925

View File

@ -0,0 +1,8 @@
Net::FreeDB is an oo-based module to interface
with FreeDB servers. It also includes some basic
cdrom methods to generate a cddbid and get the
required disc information required for a FreeDB
query call. These cdrom-based methods are provided
as both static and method calls.
Author: David Shultz <dshultz@cpan.org>

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/mach/Net/FreeDB.pm
%%SITE_PERL%%/mach/auto/Net/FreeDB/.packlist
%%SITE_PERL%%/mach/auto/Net/FreeDB/FreeDB.bs
%%SITE_PERL%%/mach/auto/Net/FreeDB/FreeDB.so
%%SITE_PERL%%/mach/auto/Net/FreeDB/autosplit.ix