diff options
author | lth <lth@FreeBSD.org> | 2004-06-27 21:22:18 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2004-06-27 21:22:18 +0800 |
commit | 0975bdd921cf31e3002c6349273467a571b57896 (patch) | |
tree | 5c24e4cdb9c62cff26021d2b3ba972648f678d6d /audio/p5-Net-DAAP-Client | |
parent | b3c772598bc88984ea067ab6594c6d57bdd8bd64 (diff) | |
download | freebsd-ports-gnome-0975bdd921cf31e3002c6349273467a571b57896.tar.gz freebsd-ports-gnome-0975bdd921cf31e3002c6349273467a571b57896.tar.zst freebsd-ports-gnome-0975bdd921cf31e3002c6349273467a571b57896.zip |
Add p5-dapple 0.21, DAAP library for Perl.
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 |