aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2004-06-27 19:53:52 +0000
committerLars Thegler <lth@FreeBSD.org>2004-06-27 19:53:52 +0000
commit63b14ba1d19a7bbb7ba067db726ccdf1203efd0a (patch)
tree8718dace7d5861a3f2e62c7e0533b6062124a52c /audio
parent931f6012c4ab8d852d247cf4860733ed9088b1f8 (diff)
downloadports-63b14ba1d19a7bbb7ba067db726ccdf1203efd0a.tar.gz
ports-63b14ba1d19a7bbb7ba067db726ccdf1203efd0a.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/p5-Net-DAAP-Client-Auth/Makefile38
-rw-r--r--audio/p5-Net-DAAP-Client-Auth/distinfo2
-rw-r--r--audio/p5-Net-DAAP-Client-Auth/pkg-descr7
-rw-r--r--audio/p5-Net-DAAP-Client-Auth/pkg-plist10
5 files changed, 58 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 567b5b691d35..a1add59b736a 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -262,6 +262,7 @@
SUBDIR += p5-MusicBrainz-Client
SUBDIR += p5-MusicBrainz-Queries
SUBDIR += p5-MusicBrainz-TRM
+ SUBDIR += p5-Net-DAAP-Client-Auth
SUBDIR += p5-Shout
SUBDIR += p5-Xmms
SUBDIR += p5-dapple
diff --git a/audio/p5-Net-DAAP-Client-Auth/Makefile b/audio/p5-Net-DAAP-Client-Auth/Makefile
new file mode 100644
index 000000000000..6fc7c50ec96a
--- /dev/null
+++ b/audio/p5-Net-DAAP-Client-Auth/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: p5-Net-DAAP-Client-Auth
+# Date created: 27 June 2004
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Net-DAAP-Client-Auth
+PORTVERSION= 0.13
+CATEGORIES= audio perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Net
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Extend Net::DAAP::Client to do iTunes authorisation
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5/M4p.pm:${PORTSDIR}/security/p5-Digest-MD5-M4p \
+ ${SITE_PERL}/Net/DAAP/Client.pm:${PORTSDIR}/audio/p5-dapple
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= Net::DAAP::Client::Auth.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ ${PERL} -pi -e '$$_ = "" if /5.006/' \
+ ${WRKSRC}/Build.PL
+ ${PERL} -pi -e 's/^our ([^\s;]+)/use vars qw($$1); $$1/;' \
+ -e '$$_ = "" if /use warnings/' \
+ `${FIND} ${WRKSRC}/lib/Net/DAAP/Client -name \*.pm`
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/p5-Net-DAAP-Client-Auth/distinfo b/audio/p5-Net-DAAP-Client-Auth/distinfo
new file mode 100644
index 000000000000..5ce22124346e
--- /dev/null
+++ b/audio/p5-Net-DAAP-Client-Auth/distinfo
@@ -0,0 +1,2 @@
+MD5 (Net-DAAP-Client-Auth-0.13.tar.gz) = f1d7632cbe69c51db08d192c732b1ea4
+SIZE (Net-DAAP-Client-Auth-0.13.tar.gz) = 4277
diff --git a/audio/p5-Net-DAAP-Client-Auth/pkg-descr b/audio/p5-Net-DAAP-Client-Auth/pkg-descr
new file mode 100644
index 000000000000..e61b163aef02
--- /dev/null
+++ b/audio/p5-Net-DAAP-Client-Auth/pkg-descr
@@ -0,0 +1,7 @@
+Subclasses Net::DAAP::Client and overrides methods to allow the
+module to provide suitable authentication tokens for iTunes 4.2 and
+4.5.
+
+Author: Richard Clamp <richardc@unixbeard.net>
+
+WWW: http://search.cpan.org/dist/Net-DAAP-Client-Auth/
diff --git a/audio/p5-Net-DAAP-Client-Auth/pkg-plist b/audio/p5-Net-DAAP-Client-Auth/pkg-plist
new file mode 100644
index 000000000000..0415f5876ec0
--- /dev/null
+++ b/audio/p5-Net-DAAP-Client-Auth/pkg-plist
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/Net/DAAP/Client/Auth.pm
+%%SITE_PERL%%/Net/DAAP/Client/Auth/Protocol.pm
+%%SITE_PERL%%/Net/DAAP/Client/Auth/Protocol/v2.pm
+%%SITE_PERL%%/Net/DAAP/Client/Auth/Protocol/v3.pm
+%%SITE_PERL%%/Net/DAAP/Client/Auth/Protocol/vAny.pm
+@unexec rmdir %D/%%SITE_PERL%%/Net/DAAP/Client/Auth/Protocol 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Net/DAAP/Client/Auth 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Net/DAAP/Client 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Net/DAAP 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true