diff options
author | Lars Thegler <lth@FreeBSD.org> | 2004-06-27 13:22:18 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2004-06-27 13:22:18 +0000 |
commit | a7a77595854cd4a5f56f1a41d316b1f4770ee210 (patch) | |
tree | 28615ae0e35d182850900cbe1d3bcd067e68b071 /audio/p5-Net-DAAP-Client | |
parent | b3f304c72c4177437a5dd2ff69723d363a9d14db (diff) |
Notes
Diffstat (limited to 'audio/p5-Net-DAAP-Client')
-rw-r--r-- | audio/p5-Net-DAAP-Client/Makefile | 36 | ||||
-rw-r--r-- | audio/p5-Net-DAAP-Client/distinfo | 1 | ||||
-rw-r--r-- | audio/p5-Net-DAAP-Client/pkg-descr | 7 | ||||
-rw-r--r-- | audio/p5-Net-DAAP-Client/pkg-plist | 7 |
4 files changed, 51 insertions, 0 deletions
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 |