aboutsummaryrefslogtreecommitdiff
path: root/audio/p5-Test-Corpus-Audio-MPD
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-09-17 23:42:11 +0000
committerWen Heping <wen@FreeBSD.org>2010-09-17 23:42:11 +0000
commit0ff9ca45d37f1e5de3bf1bde2b4f42550b1ee6be (patch)
treece6ee7450f9457433c72dd5da75458128a404558 /audio/p5-Test-Corpus-Audio-MPD
parent2a0d6970205f97574a34b8664174073cbabbabed (diff)
downloadports-0ff9ca45d37f1e5de3bf1bde2b4f42550b1ee6be.tar.gz
ports-0ff9ca45d37f1e5de3bf1bde2b4f42550b1ee6be.zip
Notes
Diffstat (limited to 'audio/p5-Test-Corpus-Audio-MPD')
-rw-r--r--audio/p5-Test-Corpus-Audio-MPD/Makefile26
-rw-r--r--audio/p5-Test-Corpus-Audio-MPD/distinfo3
-rw-r--r--audio/p5-Test-Corpus-Audio-MPD/pkg-descr12
-rw-r--r--audio/p5-Test-Corpus-Audio-MPD/pkg-plist16
4 files changed, 57 insertions, 0 deletions
diff --git a/audio/p5-Test-Corpus-Audio-MPD/Makefile b/audio/p5-Test-Corpus-Audio-MPD/Makefile
new file mode 100644
index 000000000000..2b146bf79b1c
--- /dev/null
+++ b/audio/p5-Test-Corpus-Audio-MPD/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: Test-Corpus-Audio-MPD
+# Date created: 18 Sep, 2010
+# Whom: Wen Heping <wen@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Test-Corpus-Audio-MPD
+PORTVERSION= 1.100500
+CATEGORIES= audio perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= wen@FreeBSD.org
+COMMENT= Automate launching of fake mdp for testing purposes
+
+BUILD_DEPENDS= p5-File-ShareDir>=0:${PORTSDIR}/devel/p5-File-ShareDir \
+ p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
+ devel/p5-Readonly>=0:${PORTSDIR}/devel/p5-Readonly
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_MODBUILD= YES
+
+MAN3= Test::Corpus::Audio::MPD.3
+
+.include <bsd.port.mk>
diff --git a/audio/p5-Test-Corpus-Audio-MPD/distinfo b/audio/p5-Test-Corpus-Audio-MPD/distinfo
new file mode 100644
index 000000000000..22db881faa0b
--- /dev/null
+++ b/audio/p5-Test-Corpus-Audio-MPD/distinfo
@@ -0,0 +1,3 @@
+MD5 (Test-Corpus-Audio-MPD-1.100500.tar.gz) = cae24532473d208ca7d07f7b478e4258
+SHA256 (Test-Corpus-Audio-MPD-1.100500.tar.gz) = 632c295cb2f2853a7c6ad316d0922c156d2aa3881b1d4b762c756f14c82c602a
+SIZE (Test-Corpus-Audio-MPD-1.100500.tar.gz) = 30604
diff --git a/audio/p5-Test-Corpus-Audio-MPD/pkg-descr b/audio/p5-Test-Corpus-Audio-MPD/pkg-descr
new file mode 100644
index 000000000000..9f8f941a0794
--- /dev/null
+++ b/audio/p5-Test-Corpus-Audio-MPD/pkg-descr
@@ -0,0 +1,12 @@
+Test::Corpus::Audio::MPD will try to launch a new mpd server for
+testing purposes. This mpd server will then be used during
+POE::Component::Client::MPD or Audio::MPD tests.
+
+In order to achieve this, the module will create a fake mpd.conf
+file with the correct pathes (ie, where you untarred the modulE
+tarball). It will then check if some mpd server is already running,
+and stop it if the MPD_TEST_OVERRIDE environment variable is true
+(die otherwise). Last it will run the test mpd with its newly
+created configuration file.
+
+WWW: http://search.cpan.org/dist/Test-Corpus-Audio-MPD/
diff --git a/audio/p5-Test-Corpus-Audio-MPD/pkg-plist b/audio/p5-Test-Corpus-Audio-MPD/pkg-plist
new file mode 100644
index 000000000000..f6082ab60735
--- /dev/null
+++ b/audio/p5-Test-Corpus-Audio-MPD/pkg-plist
@@ -0,0 +1,16 @@
+%%SITE_PERL%%/Test/Corpus/Audio/MPD.pm
+%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir1/title-artist-album.ogg
+%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir1/title-artist.ogg
+%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir2/album.ogg
+%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/title.ogg
+%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/playlists/test.m3u
+%%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/mpd.conf.template
+@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir1
+@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music/dir2
+@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/music
+@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD/playlists
+@dirrm %%SITE_PERL%%/auto/share/dist/Test-Corpus-Audio-MPD
+@dirrmtry %%SITE_PERL%%/auto/share/dist
+@dirrm %%SITE_PERL%%/Test/Corpus/Audio
+@dirrm %%SITE_PERL%%/Test/Corpus
+@dirrmtry %%SITE_PERL%%/Test