aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/p5-Net-DAAP-Client/Makefile28
-rw-r--r--audio/p5-Net-DAAP-Client/distinfo3
-rw-r--r--audio/p5-Net-DAAP-Client/pkg-descr4
-rw-r--r--audio/p5-Net-DAAP-Client/pkg-plist11
4 files changed, 21 insertions, 25 deletions
diff --git a/audio/p5-Net-DAAP-Client/Makefile b/audio/p5-Net-DAAP-Client/Makefile
index 064bb52e44d4..25e804b89dc3 100644
--- a/audio/p5-Net-DAAP-Client/Makefile
+++ b/audio/p5-Net-DAAP-Client/Makefile
@@ -1,36 +1,34 @@
-# New ports collection makefile for: p5-dapple
+# New ports collection makefile for: p5-Net-DAAP-Client (formerly p5-dapple)
# Date created: 27 June 2004
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
-PORTNAME= dapple
-PORTVERSION= 0.21
+PORTNAME= Net-DAAP-Client
+PORTVERSION= 0.41
CATEGORIES= audio perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= ../by-authors/id/G/GN/GNAT
+MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
-COMMENT= DAAP library for Perl
+COMMENT= Client for Apple iTunes DAAP service
-BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
+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}/LWP.pm:${PORTSDIR}/www/p5-libwww \
+ ${SITE_PERL}/Net/DAAP/DMAP.pm:${PORTSDIR}/audio/p5-Net-DAAP-DMAP
RUN_DEPENDS= ${BUILD_DEPENDS}
-PERL_CONFIGURE= yes
+PERL_MODBUILD= yes
-MAN3= Net::DAAP::Client.3 \
- Net::DAAP::DMAP.3
+MAN3= Net::DAAP::Client.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
+.if ${PERL_LEVEL} < 500600
+IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
.endif
.include <bsd.port.post.mk>
diff --git a/audio/p5-Net-DAAP-Client/distinfo b/audio/p5-Net-DAAP-Client/distinfo
index 4654cf95b2c0..7e350d859204 100644
--- a/audio/p5-Net-DAAP-Client/distinfo
+++ b/audio/p5-Net-DAAP-Client/distinfo
@@ -1 +1,2 @@
-MD5 (dapple-0.21.tar.gz) = bb1b5d8e6440a080631e2cea0bbe2d14
+MD5 (Net-DAAP-Client-0.41.tar.gz) = 5bc9ec834c7e21371fa54e96003ddf88
+SIZE (Net-DAAP-Client-0.41.tar.gz) = 12146
diff --git a/audio/p5-Net-DAAP-Client/pkg-descr b/audio/p5-Net-DAAP-Client/pkg-descr
index 40ceb4744a6c..fef2453e6db3 100644
--- a/audio/p5-Net-DAAP-Client/pkg-descr
+++ b/audio/p5-Net-DAAP-Client/pkg-descr
@@ -2,6 +2,4 @@ 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/
+WWW: http://search.cpan.org/dist/Net-DAAP-Client/
diff --git a/audio/p5-Net-DAAP-Client/pkg-plist b/audio/p5-Net-DAAP-Client/pkg-plist
index 73911ecb4967..ab646a8c09ee 100644
--- a/audio/p5-Net-DAAP-Client/pkg-plist
+++ b/audio/p5-Net-DAAP-Client/pkg-plist
@@ -1,7 +1,6 @@
%%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
+%%SITE_PERL%%/Net/DAAP/Client/v2.pm
+%%SITE_PERL%%/Net/DAAP/Client/v3.pm
+@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