diff options
author | lth <lth@FreeBSD.org> | 2004-06-28 03:53:52 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2004-06-28 03:53:52 +0800 |
commit | 1ac3c995f9ac11b5cb545f0b9b43548496dc3969 (patch) | |
tree | f4b475c1fc863bd2c3af30d377e5b7a4a7fe03e0 | |
parent | 2e69c50903e609caf4e9ca1de4d9c3e524ef2404 (diff) | |
download | freebsd-ports-gnome-1ac3c995f9ac11b5cb545f0b9b43548496dc3969.tar.gz freebsd-ports-gnome-1ac3c995f9ac11b5cb545f0b9b43548496dc3969.tar.zst freebsd-ports-gnome-1ac3c995f9ac11b5cb545f0b9b43548496dc3969.zip |
Add p5-Net-DAAP-Client-Auth 0.13,
extend Net::DAAP::Client to do
iTunes authorisation.
Approved by: erwin (implicit)
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/p5-Net-DAAP-Client-Auth/Makefile | 38 | ||||
-rw-r--r-- | audio/p5-Net-DAAP-Client-Auth/distinfo | 2 | ||||
-rw-r--r-- | audio/p5-Net-DAAP-Client-Auth/pkg-descr | 7 | ||||
-rw-r--r-- | audio/p5-Net-DAAP-Client-Auth/pkg-plist | 10 |
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 |