summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2004-08-08 23:01:58 +0000
committerLars Thegler <lth@FreeBSD.org>2004-08-08 23:01:58 +0000
commitd810c92e65c06e4f287f2fdbf749fd58a66e3b46 (patch)
treea7d4ddb823d635538d4df2a677b46f29066b8609 /audio
parentUse new libtool scheme. (diff)
Moved from audio/p5-dapple, and updated to 0.41
Notes
Notes: svn path=/head/; revision=115695
Diffstat (limited to 'audio')
-rw-r--r--audio/p5-dapple/Makefile26
-rw-r--r--audio/p5-dapple/distinfo3
-rw-r--r--audio/p5-dapple/pkg-plist11
3 files changed, 19 insertions, 21 deletions
diff --git a/audio/p5-dapple/Makefile b/audio/p5-dapple/Makefile
index 064bb52e44d4..584083fd285a 100644
--- a/audio/p5-dapple/Makefile
+++ b/audio/p5-dapple/Makefile
@@ -5,32 +5,30 @@
# $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-dapple/distinfo b/audio/p5-dapple/distinfo
index 4654cf95b2c0..7e350d859204 100644
--- a/audio/p5-dapple/distinfo
+++ b/audio/p5-dapple/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-dapple/pkg-plist b/audio/p5-dapple/pkg-plist
index 73911ecb4967..ab646a8c09ee 100644
--- a/audio/p5-dapple/pkg-plist
+++ b/audio/p5-dapple/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