summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2004-06-27 13:22:18 +0000
committerLars Thegler <lth@FreeBSD.org>2004-06-27 13:22:18 +0000
commita7a77595854cd4a5f56f1a41d316b1f4770ee210 (patch)
tree28615ae0e35d182850900cbe1d3bcd067e68b071 /audio
parent- Update to 0.97 (diff)
Add p5-dapple 0.21, DAAP library for Perl.
Notes
Notes: svn path=/head/; revision=112359
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/p5-Net-DAAP-Client/Makefile36
-rw-r--r--audio/p5-Net-DAAP-Client/distinfo1
-rw-r--r--audio/p5-Net-DAAP-Client/pkg-descr7
-rw-r--r--audio/p5-Net-DAAP-Client/pkg-plist7
-rw-r--r--audio/p5-dapple/Makefile36
-rw-r--r--audio/p5-dapple/distinfo1
-rw-r--r--audio/p5-dapple/pkg-descr7
-rw-r--r--audio/p5-dapple/pkg-plist7
9 files changed, 103 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 2eb77679b913..567b5b691d35 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -264,6 +264,7 @@
SUBDIR += p5-MusicBrainz-TRM
SUBDIR += p5-Shout
SUBDIR += p5-Xmms
+ SUBDIR += p5-dapple
SUBDIR += p5-libvorbis
SUBDIR += p5-tagged
SUBDIR += pd
diff --git a/audio/p5-Net-DAAP-Client/Makefile b/audio/p5-Net-DAAP-Client/Makefile
new file mode 100644
index 000000000000..064bb52e44d4
--- /dev/null
+++ b/audio/p5-Net-DAAP-Client/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-dapple
+# Date created: 27 June 2004
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dapple
+PORTVERSION= 0.21
+CATEGORIES= audio perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/G/GN/GNAT
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= DAAP library for Perl
+
+BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::DAAP::Client.3 \
+ Net::DAAP::DMAP.3
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @ ${PERL} -pi -e 's/Term::Readline/Term::ReadLine/;' \
+ ${WRKSRC}/examples/itshell
+.if ${PERL_LEVEL} <= 500503
+ @ ${PERL} -pi -e 's/^our ([@%]\w+)/use vars qw($$1); $$1/;' \
+ ${WRKSRC}/lib/Net/DAAP/DMAP.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/p5-Net-DAAP-Client/distinfo b/audio/p5-Net-DAAP-Client/distinfo
new file mode 100644
index 000000000000..4654cf95b2c0
--- /dev/null
+++ b/audio/p5-Net-DAAP-Client/distinfo
@@ -0,0 +1 @@
+MD5 (dapple-0.21.tar.gz) = bb1b5d8e6440a080631e2cea0bbe2d14
diff --git a/audio/p5-Net-DAAP-Client/pkg-descr b/audio/p5-Net-DAAP-Client/pkg-descr
new file mode 100644
index 000000000000..40ceb4744a6c
--- /dev/null
+++ b/audio/p5-Net-DAAP-Client/pkg-descr
@@ -0,0 +1,7 @@
+dapple is a DAAP library for Perl. DAAP is the protocol built
+on top of HTTP that Apple's iTunes 4 uses to share music. Most
+responses to DAAP requests contain a binary DMAP structure.
+
+Author: Nathan Torkington <nathan AT torkington.com>
+
+WWW: http://search.cpan.org/dist/dapple/
diff --git a/audio/p5-Net-DAAP-Client/pkg-plist b/audio/p5-Net-DAAP-Client/pkg-plist
new file mode 100644
index 000000000000..73911ecb4967
--- /dev/null
+++ b/audio/p5-Net-DAAP-Client/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Net/DAAP/Client.pm
+%%SITE_PERL%%/Net/DAAP/DMAP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/dapple/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/dapple/
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Net/DAAP/
+@unexec rmdir %D/%%SITE_PERL%%/Net/ 2>/dev/null || true
diff --git a/audio/p5-dapple/Makefile b/audio/p5-dapple/Makefile
new file mode 100644
index 000000000000..064bb52e44d4
--- /dev/null
+++ b/audio/p5-dapple/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: p5-dapple
+# Date created: 27 June 2004
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dapple
+PORTVERSION= 0.21
+CATEGORIES= audio perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../by-authors/id/G/GN/GNAT
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= DAAP library for Perl
+
+BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Net::DAAP::Client.3 \
+ Net::DAAP::DMAP.3
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @ ${PERL} -pi -e 's/Term::Readline/Term::ReadLine/;' \
+ ${WRKSRC}/examples/itshell
+.if ${PERL_LEVEL} <= 500503
+ @ ${PERL} -pi -e 's/^our ([@%]\w+)/use vars qw($$1); $$1/;' \
+ ${WRKSRC}/lib/Net/DAAP/DMAP.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/p5-dapple/distinfo b/audio/p5-dapple/distinfo
new file mode 100644
index 000000000000..4654cf95b2c0
--- /dev/null
+++ b/audio/p5-dapple/distinfo
@@ -0,0 +1 @@
+MD5 (dapple-0.21.tar.gz) = bb1b5d8e6440a080631e2cea0bbe2d14
diff --git a/audio/p5-dapple/pkg-descr b/audio/p5-dapple/pkg-descr
new file mode 100644
index 000000000000..40ceb4744a6c
--- /dev/null
+++ b/audio/p5-dapple/pkg-descr
@@ -0,0 +1,7 @@
+dapple is a DAAP library for Perl. DAAP is the protocol built
+on top of HTTP that Apple's iTunes 4 uses to share music. Most
+responses to DAAP requests contain a binary DMAP structure.
+
+Author: Nathan Torkington <nathan AT torkington.com>
+
+WWW: http://search.cpan.org/dist/dapple/
diff --git a/audio/p5-dapple/pkg-plist b/audio/p5-dapple/pkg-plist
new file mode 100644
index 000000000000..73911ecb4967
--- /dev/null
+++ b/audio/p5-dapple/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Net/DAAP/Client.pm
+%%SITE_PERL%%/Net/DAAP/DMAP.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/dapple/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/dapple/
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/ 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Net/DAAP/
+@unexec rmdir %D/%%SITE_PERL%%/Net/ 2>/dev/null || true