aboutsummaryrefslogtreecommitdiffstats
path: root/audio/p5-Audio-CD
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-10-28 13:59:04 +0800
committerwill <will@FreeBSD.org>2000-10-28 13:59:04 +0800
commit0a11e43daa5e8a4833944d2b82f78bb482aa9f51 (patch)
tree1ee45261eb362e67e98232b931e6d2d42224c756 /audio/p5-Audio-CD
parent7d80bc1aa71d18f6f5f3328fe93407facf89903b (diff)
downloadfreebsd-ports-gnome-0a11e43daa5e8a4833944d2b82f78bb482aa9f51.tar.gz
freebsd-ports-gnome-0a11e43daa5e8a4833944d2b82f78bb482aa9f51.tar.zst
freebsd-ports-gnome-0a11e43daa5e8a4833944d2b82f78bb482aa9f51.zip
Add p5-Audio-CD 0.04, a perl interface to libcdaudio.
PR: 22215 Submitted by: Roman Shterenzon <roman@xpert.com>
Diffstat (limited to 'audio/p5-Audio-CD')
-rw-r--r--audio/p5-Audio-CD/Makefile28
-rw-r--r--audio/p5-Audio-CD/distinfo1
-rw-r--r--audio/p5-Audio-CD/files/patch-aa12
-rw-r--r--audio/p5-Audio-CD/pkg-comment1
-rw-r--r--audio/p5-Audio-CD/pkg-descr13
-rw-r--r--audio/p5-Audio-CD/pkg-plist7
6 files changed, 62 insertions, 0 deletions
diff --git a/audio/p5-Audio-CD/Makefile b/audio/p5-Audio-CD/Makefile
new file mode 100644
index 000000000000..22a4ba85fa0b
--- /dev/null
+++ b/audio/p5-Audio-CD/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-Audio-CD
+# Date created: 22 Oct 2000
+# Whom: Roman Shterenzon <roman@xpert.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Audio-CD
+PORTVERSION= 0.04
+CATEGORIES= audio perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Audio
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= roman@xpert.com
+
+LIB_DEPENDS= cdaudio.1:${PORTSDIR}/audio/libcdaudio
+
+USE_PERL5= YES
+
+MAN3= Audio::CD.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ CC="${CC}" CCFLAGS="${CFLAGS}"
+
+.include <bsd.port.mk>
diff --git a/audio/p5-Audio-CD/distinfo b/audio/p5-Audio-CD/distinfo
new file mode 100644
index 000000000000..d7f996375b74
--- /dev/null
+++ b/audio/p5-Audio-CD/distinfo
@@ -0,0 +1 @@
+MD5 (Audio-CD-0.04.tar.gz) = 5b3051fd01a36c557a54e83ac0bde567
diff --git a/audio/p5-Audio-CD/files/patch-aa b/audio/p5-Audio-CD/files/patch-aa
new file mode 100644
index 000000000000..a809565deae2
--- /dev/null
+++ b/audio/p5-Audio-CD/files/patch-aa
@@ -0,0 +1,12 @@
+--- Makefile.PL.orig Wed May 17 08:12:52 2000
++++ Makefile.PL Sun Oct 22 17:41:36 2000
+@@ -7,7 +7,8 @@
+ 'macro' => {
+ CVSROOT => 'modperl.com:/local/cvs_repository',
+ },
+- 'LIBS' => ["-lcdaudio"],
++ 'INC' => "-I$ENV{'PREFIX'}/include",
++ 'LIBS' => "-L$ENV{'PREFIX'}/lib -lcdaudio",
+ DEFINE => '-g',
+ OBJECT => 'cddb_lookup.o CD.o',
+ );
diff --git a/audio/p5-Audio-CD/pkg-comment b/audio/p5-Audio-CD/pkg-comment
new file mode 100644
index 000000000000..122c91e841d4
--- /dev/null
+++ b/audio/p5-Audio-CD/pkg-comment
@@ -0,0 +1 @@
+Perl interface to libcdaudio (cd + cddb)
diff --git a/audio/p5-Audio-CD/pkg-descr b/audio/p5-Audio-CD/pkg-descr
new file mode 100644
index 000000000000..a21746b41522
--- /dev/null
+++ b/audio/p5-Audio-CD/pkg-descr
@@ -0,0 +1,13 @@
+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>
diff --git a/audio/p5-Audio-CD/pkg-plist b/audio/p5-Audio-CD/pkg-plist
new file mode 100644
index 000000000000..c8f74cab5ebd
--- /dev/null
+++ b/audio/p5-Audio-CD/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Audio/CD.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio/CD/CD.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio/CD/CD.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio/CD/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio/CD
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Audio 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Audio 2>/dev/null || true