diff options
author | lth <lth@FreeBSD.org> | 2004-06-28 05:59:05 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2004-06-28 05:59:05 +0800 |
commit | 33bb846d8d40a673bdd69d6baba676438ae6f51f (patch) | |
tree | ab64205dbd75a326adbe3b6a16527e5b69813447 /audio/p5-Filesys-Virtual-DAAP | |
parent | cd17eeb3fc5729b28a05cb9b73f4df826b2f80ee (diff) | |
download | freebsd-ports-gnome-33bb846d8d40a673bdd69d6baba676438ae6f51f.tar.gz freebsd-ports-gnome-33bb846d8d40a673bdd69d6baba676438ae6f51f.tar.zst freebsd-ports-gnome-33bb846d8d40a673bdd69d6baba676438ae6f51f.zip |
Add p5-Filesys-Virtual-DAAP 0.02, present a DAAP share as a VFS.
Approved by: erwin (implicit)
Diffstat (limited to 'audio/p5-Filesys-Virtual-DAAP')
-rw-r--r-- | audio/p5-Filesys-Virtual-DAAP/Makefile | 38 | ||||
-rw-r--r-- | audio/p5-Filesys-Virtual-DAAP/distinfo | 2 | ||||
-rw-r--r-- | audio/p5-Filesys-Virtual-DAAP/pkg-descr | 7 | ||||
-rw-r--r-- | audio/p5-Filesys-Virtual-DAAP/pkg-plist | 3 | ||||
-rw-r--r-- | audio/p5-Filesys-Virtual-DAAP/test.pl | 2 |
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'; |