aboutsummaryrefslogtreecommitdiff
path: root/audio/p5-Filesys-Virtual-DAAP
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2004-06-27 21:59:05 +0000
committerLars Thegler <lth@FreeBSD.org>2004-06-27 21:59:05 +0000
commitd3a901f45efe79d24e85095bf21852e67336c835 (patch)
treee3448227b8749887e4f2ff3dc093cfb6fd257b22 /audio/p5-Filesys-Virtual-DAAP
parentd041795889b90f505e904fa16ce390a4e4523b50 (diff)
downloadports-d3a901f45efe79d24e85095bf21852e67336c835.tar.gz
ports-d3a901f45efe79d24e85095bf21852e67336c835.zip
Notes
Diffstat (limited to 'audio/p5-Filesys-Virtual-DAAP')
-rw-r--r--audio/p5-Filesys-Virtual-DAAP/Makefile38
-rw-r--r--audio/p5-Filesys-Virtual-DAAP/distinfo2
-rw-r--r--audio/p5-Filesys-Virtual-DAAP/pkg-descr7
-rw-r--r--audio/p5-Filesys-Virtual-DAAP/pkg-plist3
-rw-r--r--audio/p5-Filesys-Virtual-DAAP/test.pl2
5 files changed, 52 insertions, 0 deletions
diff --git a/audio/p5-Filesys-Virtual-DAAP/Makefile b/audio/p5-Filesys-Virtual-DAAP/Makefile
new file mode 100644
index 000000000000..eb4a8b443bf4
--- /dev/null
+++ b/audio/p5-Filesys-Virtual-DAAP/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: p5-Filesys-Virtual-DAAP
+# Date created: 27 June 2004
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Filesys-Virtual-DAAP
+PORTVERSION= 0.02
+CATEGORIES= audio perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Filesys
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Present a DAAP share as a VFS
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
+ ${SITE_PERL}/Filesys/Virtual.pm:${PORTSDIR}/devel/p5-Filesys-Virtual \
+ ${SITE_PERL}/Net/DAAP/Client/Auth.pm:${PORTSDIR}/audio/p5-Net-DAAP-Client-Auth
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= yes
+
+MAN3= Filesys::Virtual::DAAP.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} <= 500503
+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/' \
+ ${WRKSRC}/lib/Filesys/Virtual/DAAP.pm
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/p5-Filesys-Virtual-DAAP/distinfo b/audio/p5-Filesys-Virtual-DAAP/distinfo
new file mode 100644
index 000000000000..18d38b1fbf2e
--- /dev/null
+++ b/audio/p5-Filesys-Virtual-DAAP/distinfo
@@ -0,0 +1,2 @@
+MD5 (Filesys-Virtual-DAAP-0.02.tar.gz) = 003ee3bf77c5c0110ca731c098cb1d09
+SIZE (Filesys-Virtual-DAAP-0.02.tar.gz) = 4343
diff --git a/audio/p5-Filesys-Virtual-DAAP/pkg-descr b/audio/p5-Filesys-Virtual-DAAP/pkg-descr
new file mode 100644
index 000000000000..79e1ce04ed9e
--- /dev/null
+++ b/audio/p5-Filesys-Virtual-DAAP/pkg-descr
@@ -0,0 +1,7 @@
+The module can be used to republish a DAAP share. You'll probably
+want to use Net::DAV::Server or POE::Component::Server::FTP to
+re-export it in a browseable form.
+
+Author: Richard Clamp <richardc@unixbeard.net>
+
+WWW: http://search.cpan.org/dist/Filesys-Virtual-DAAP/
diff --git a/audio/p5-Filesys-Virtual-DAAP/pkg-plist b/audio/p5-Filesys-Virtual-DAAP/pkg-plist
new file mode 100644
index 000000000000..b2d821570681
--- /dev/null
+++ b/audio/p5-Filesys-Virtual-DAAP/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_PERL%%/Filesys/Virtual/DAAP.pm
+@unexec rmdir %D/%%SITE_PERL%%/Filesys/Virtual 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Filesys 2>/dev/null || true
diff --git a/audio/p5-Filesys-Virtual-DAAP/test.pl b/audio/p5-Filesys-Virtual-DAAP/test.pl
new file mode 100644
index 000000000000..75aaea59f18a
--- /dev/null
+++ b/audio/p5-Filesys-Virtual-DAAP/test.pl
@@ -0,0 +1,2 @@
+use Test::More 'no_plan';
+use_ok 'Filesys::Virtual::DAAP';