mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
A high-level interface to the Compact Disc Database.
PR: ports/25804 Submitted by: Yar Tikhiy <yar@comp.chem.msu.su>
This commit is contained in:
parent
8894f2316b
commit
c595879575
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39863
@ -120,6 +120,7 @@
|
||||
SUBDIR += opennap
|
||||
SUBDIR += opmixer
|
||||
SUBDIR += p5-Audio-CD
|
||||
SUBDIR += p5-CDDB
|
||||
SUBDIR += p5-MP3-ID3v1Tag
|
||||
SUBDIR += p5-MP3-Info
|
||||
SUBDIR += p5-MPEG-ID3v2Tag
|
||||
|
22
audio/p5-CDDB/Makefile
Normal file
22
audio/p5-CDDB/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# New ports collection makefile for: p5-CDDB
|
||||
# Date created: 11-Mar-2001
|
||||
# Whom: Yar Tikhiy <yar@comp.chem.msu.su>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= CDDB
|
||||
PORTVERSION= 1.03
|
||||
CATEGORIES= audio perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR=../by-authors/id/R/RC/RCAPUTO
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= ports@freebsd.org
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= CDDB.3
|
||||
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
1
audio/p5-CDDB/distinfo
Normal file
1
audio/p5-CDDB/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (CDDB-1.03.tar.gz) = a679c76fc4ce74c04c0c6e22398f399b
|
42
audio/p5-CDDB/files/patch-aa
Normal file
42
audio/p5-CDDB/files/patch-aa
Normal file
@ -0,0 +1,42 @@
|
||||
--- CDDB.pm.orig Sun Apr 30 06:33:12 2000
|
||||
+++ CDDB.pm Mon Mar 12 15:11:35 2001
|
||||
@@ -15,9 +15,9 @@
|
||||
# list of known cddb servers
|
||||
|
||||
my @cddb_hosts =
|
||||
- ( [ 'cddb.cddb.com' => 8880 ],
|
||||
- [ 'sj.ca.us.cddb.com' => 8880 ],
|
||||
- [ 'sc.ca.us.cddb.com' => 8880 ],
|
||||
+ ( [ 'freedb.freedb.org' => 8880 ],
|
||||
+ [ 'ca.freedb.org' => 8880 ],
|
||||
+ [ 'sk.freedb.org' => 8880 ],
|
||||
);
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@@ -177,7 +177,7 @@
|
||||
login => $login,
|
||||
libname => 'CDDB.pm',
|
||||
libver => $VERSION,
|
||||
- cddbmail => 'cddb-test@submit.cddb.com',
|
||||
+ cddbmail => 'freedb-submit@freedb.org',
|
||||
debug => $debug,
|
||||
host => $host,
|
||||
port => $port,
|
||||
@@ -615,7 +615,7 @@
|
||||
use CDDB;
|
||||
|
||||
### connect to the CDDB server
|
||||
- my $cddb = new CDDB( Host => 'www.cddb.com', # default
|
||||
+ my $cddb = new CDDB( Host => 'freedb.freedb.org', # default
|
||||
Port => 8880, # default
|
||||
Login => $login_id, # defaults to %ENV's
|
||||
) or die $!;
|
||||
@@ -682,7 +682,7 @@
|
||||
protocol may require several separate connections (sometimes one per
|
||||
query).
|
||||
|
||||
-C<new> accepts these parameters: Host (defaults to www.cddb.com), Port
|
||||
+C<new> accepts these parameters: Host (defaults to freedb.freedb.org), Port
|
||||
(defaults to 8880), Login (defaults to your login ID), and Debug
|
||||
(defaults to boolean false) parameters.
|
||||
|
1
audio/p5-CDDB/pkg-comment
Normal file
1
audio/p5-CDDB/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A high-level interface to the Compact Disc Database
|
21
audio/p5-CDDB/pkg-descr
Normal file
21
audio/p5-CDDB/pkg-descr
Normal file
@ -0,0 +1,21 @@
|
||||
The CDDB module implements a Perl class for communicating with an
|
||||
audio compact disc database through the CDDBP protocol. It allows
|
||||
quering the database and submitting new entries to it via e-mail
|
||||
(the Mail::Internet and Mail::Header modules are required for
|
||||
submitting, but their absence won't affect other functions). Unlike
|
||||
its analogs, CDDB.pm doesn't try to read a disc in your CD-ROM by
|
||||
itself, but relies on the main program supplying disc data.
|
||||
Therefore, it is particularly useful for developing software that
|
||||
deals with alternative media, such as MPEG audio files.
|
||||
|
||||
*Note*: The original CDDB project (http://www.cddb.com) was aquired
|
||||
by some greedy folks that decided to force developers pay license
|
||||
fees. Thus they no longer provide service to those who use unlicensed
|
||||
client software. So a patch is included in this port that changes
|
||||
the default server to that of the freedb.org project
|
||||
(http://www.freedb.org).
|
||||
|
||||
WWW: http://search.cpan.org/search?module=CDDB
|
||||
|
||||
- Yar
|
||||
yar@comp.chem.msu.su
|
3
audio/p5-CDDB/pkg-plist
Normal file
3
audio/p5-CDDB/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
lib/perl5/site_perl/%%PERL_VER%%/CDDB.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CDDB/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/CDDB
|
Loading…
Reference in New Issue
Block a user