Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2000 17:57:15 +0200 (IST)
From:      roman@xpert.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22215: NEW PORT: p5-Audio-CD - Perl interface to libaudiocd (cddb..)
Message-ID:  <200010221557.e9MFvFU17679@harmonic.co.il>

next in thread | raw e-mail | index | archive | help

>Number:         22215
>Category:       ports
>Synopsis:       NEW PORT: p5-Audio-CD - Perl interface to libaudiocd (cddb..)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 22 09:00:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
>Environment:


>Description:

Perl interface to libcdaudio (cd + cddb): http://cdcd.undergrid.net/

This module was created for adding CDDB support to <Xmms::shell> and
cd tray <eject>.  I added methods for a good chunk of other
<libcdaudio> functions while I was at it, but the docs and glue is
not complete.  I do not have interest in completing the interface and
docs, because xmms/Xmms::shell provides everything I need (at the
moment) for audio.  If you have an interesting reason for needing the
missing pieces, I'll probably be interested in adding them.

WWW: http://www.perl.com/CPAN/authors/id/R/RC/RCAPUTO/

Roman Shterenzon <roman@xpert.com>

>How-To-Repeat:


>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Audio-CD
#	p5-Audio-CD/pkg-plist
#	p5-Audio-CD/distinfo
#	p5-Audio-CD/Makefile
#	p5-Audio-CD/pkg-descr
#	p5-Audio-CD/pkg-comment
#	p5-Audio-CD/files
#	p5-Audio-CD/files/patch-aa
#
echo c - p5-Audio-CD
mkdir -p p5-Audio-CD > /dev/null 2>&1
echo x - p5-Audio-CD/pkg-plist
sed 's/^X//' >p5-Audio-CD/pkg-plist << 'END-of-p5-Audio-CD/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Audio/CD.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio/CD/CD.bs
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio/CD/CD.so
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio/CD/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio/CD
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Audio 2>/dev/null || true
END-of-p5-Audio-CD/pkg-plist
echo x - p5-Audio-CD/distinfo
sed 's/^X//' >p5-Audio-CD/distinfo << 'END-of-p5-Audio-CD/distinfo'
XMD5 (Audio-CD-0.04.tar.gz) = 5b3051fd01a36c557a54e83ac0bde567
END-of-p5-Audio-CD/distinfo
echo x - p5-Audio-CD/Makefile
sed 's/^X//' >p5-Audio-CD/Makefile << 'END-of-p5-Audio-CD/Makefile'
X# New ports collection makefile for:	p5-Audio-CD
X# Date created:				22 Oct 2000
X# Whom:	      				Roman Shterenzon <roman@xpert.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Audio-CD
XPORTVERSION=	0.04
XCATEGORIES=	audio perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Audio
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	roman@xpert.com
X
XLIB_DEPENDS=	cdaudio.1:${PORTSDIR}/audio/libcdaudio
X
XUSE_PERL5=	YES
X
XMAN3=		Audio::CD.3
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
Xdo-configure:
X	@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
X		CC="${CC}" CCFLAGS="${CFLAGS}"
X
X.include <bsd.port.mk>
END-of-p5-Audio-CD/Makefile
echo x - p5-Audio-CD/pkg-descr
sed 's/^X//' >p5-Audio-CD/pkg-descr << 'END-of-p5-Audio-CD/pkg-descr'
XPerl interface to libcdaudio (cd + cddb): http://cdcd.undergrid.net/
X
XThis module was created for adding CDDB support to <Xmms::shell> and
Xcd tray <eject>.  I added methods for a good chunk of other
X<libcdaudio> functions while I was at it, but the docs and glue is
Xnot complete.  I do not have interest in completing the interface and
Xdocs, because xmms/Xmms::shell provides everything I need (at the
Xmoment) for audio.  If you have an interesting reason for needing the
Xmissing pieces, I'll probably be interested in adding them.
X
XWWW: http://www.perl.com/CPAN/authors/id/R/RC/RCAPUTO/
X
XRoman Shterenzon <roman@xpert.com>
END-of-p5-Audio-CD/pkg-descr
echo x - p5-Audio-CD/pkg-comment
sed 's/^X//' >p5-Audio-CD/pkg-comment << 'END-of-p5-Audio-CD/pkg-comment'
XPerl interface to libcdaudio (cd + cddb)
END-of-p5-Audio-CD/pkg-comment
echo c - p5-Audio-CD/files
mkdir -p p5-Audio-CD/files > /dev/null 2>&1
echo x - p5-Audio-CD/files/patch-aa
sed 's/^X//' >p5-Audio-CD/files/patch-aa << 'END-of-p5-Audio-CD/files/patch-aa'
X--- Makefile.PL.orig	Wed May 17 08:12:52 2000
X+++ Makefile.PL	Sun Oct 22 17:41:36 2000
X@@ -7,7 +7,8 @@
X     'macro' => {
X 	  CVSROOT => 'modperl.com:/local/cvs_repository',
X     },
X-    'LIBS'	=> ["-lcdaudio"],
X+    'INC'	=> "-I$ENV{'PREFIX'}/include",
X+    'LIBS'	=> "-L$ENV{'PREFIX'}/lib -lcdaudio",
X     DEFINE => '-g',
X     OBJECT => 'cddb_lookup.o CD.o',
X );
END-of-p5-Audio-CD/files/patch-aa
exit

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010221557.e9MFvFU17679>