aboutsummaryrefslogtreecommitdiffstats
path: root/audio/p5-Net-FreeDB
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2005-09-29 21:34:44 +0800
committerroam <roam@FreeBSD.org>2005-09-29 21:34:44 +0800
commite5be845c370d686a4d8d0c7fb92a7b4d98bc9be2 (patch)
tree63f8ef7b91623a1886e599bfe5ccdbc5fe261c05 /audio/p5-Net-FreeDB
parent4ab191efcbfc327f885c141ec0fbf3e33ea02195 (diff)
downloadfreebsd-ports-gnome-e5be845c370d686a4d8d0c7fb92a7b4d98bc9be2.tar.gz
freebsd-ports-gnome-e5be845c370d686a4d8d0c7fb92a7b4d98bc9be2.tar.zst
freebsd-ports-gnome-e5be845c370d686a4d8d0c7fb92a7b4d98bc9be2.zip
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.
Diffstat (limited to 'audio/p5-Net-FreeDB')
-rw-r--r--audio/p5-Net-FreeDB/Makefile31
-rw-r--r--audio/p5-Net-FreeDB/distinfo4
-rw-r--r--audio/p5-Net-FreeDB/pkg-descr8
-rw-r--r--audio/p5-Net-FreeDB/pkg-plist5
4 files changed, 48 insertions, 0 deletions
diff --git a/audio/p5-Net-FreeDB/Makefile b/audio/p5-Net-FreeDB/Makefile
new file mode 100644
index 000000000000..6a1986c41879
--- /dev/null
+++ b/audio/p5-Net-FreeDB/Makefile
@@ -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>
diff --git a/audio/p5-Net-FreeDB/distinfo b/audio/p5-Net-FreeDB/distinfo
new file mode 100644
index 000000000000..4bc71dffac11
--- /dev/null
+++ b/audio/p5-Net-FreeDB/distinfo
@@ -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
diff --git a/audio/p5-Net-FreeDB/pkg-descr b/audio/p5-Net-FreeDB/pkg-descr
new file mode 100644
index 000000000000..b65fd1b20051
--- /dev/null
+++ b/audio/p5-Net-FreeDB/pkg-descr
@@ -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>
diff --git a/audio/p5-Net-FreeDB/pkg-plist b/audio/p5-Net-FreeDB/pkg-plist
new file mode 100644
index 000000000000..8daf23ad5f67
--- /dev/null
+++ b/audio/p5-Net-FreeDB/pkg-plist
@@ -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