summaryrefslogtreecommitdiff
path: root/audio/p5-Audio-WMA
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-10-12 11:05:34 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-10-12 11:05:34 +0000
commitf1217f1bb984aea0d8cfab0f516e56b680494c1f (patch)
treecb765fea30a22a00ade616f857d0cf12edda834c /audio/p5-Audio-WMA
parentAdd p5-Ogg-Vorbis-Header 0.03, manipulate / fetch info from Ogg-Vorbis (diff)
Add p5-Audio-WMA 0.01, fetch info from WMA audio files.
PR: ports/71590 Submitted by: Simon Barner <barner@gmx.de>
Diffstat (limited to 'audio/p5-Audio-WMA')
-rw-r--r--audio/p5-Audio-WMA/Makefile30
-rw-r--r--audio/p5-Audio-WMA/distinfo2
-rw-r--r--audio/p5-Audio-WMA/pkg-descr3
-rw-r--r--audio/p5-Audio-WMA/pkg-plist5
4 files changed, 40 insertions, 0 deletions
diff --git a/audio/p5-Audio-WMA/Makefile b/audio/p5-Audio-WMA/Makefile
new file mode 100644
index 000000000000..a035f2b4dc86
--- /dev/null
+++ b/audio/p5-Audio-WMA/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: p5-Ogg-Vorbis-Header
+# Date created: Sept 11 2004
+# Whom: Simon Barner <barner@gmx.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Audio-WMA
+PORTVERSION= 0.01
+CATEGORIES= audio perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Audio
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= barner@gmx.de
+COMMENT= Fetch info from WMA audio files
+
+PERL_CONFIGURE= yes
+
+MAN3= Audio::WMA.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+post-patch:
+ @${PERL} -pi -e '$$_ = "" if /use 5.008/g;' \
+ ${WRKSRC}/Makefile.PL
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/audio/p5-Audio-WMA/distinfo b/audio/p5-Audio-WMA/distinfo
new file mode 100644
index 000000000000..c028ce454709
--- /dev/null
+++ b/audio/p5-Audio-WMA/distinfo
@@ -0,0 +1,2 @@
+MD5 (Audio-WMA-0.01.tar.gz) = 860be7180341c07181d018aeef2eb6ad
+SIZE (Audio-WMA-0.01.tar.gz) = 46421
diff --git a/audio/p5-Audio-WMA/pkg-descr b/audio/p5-Audio-WMA/pkg-descr
new file mode 100644
index 000000000000..7b5608a68636
--- /dev/null
+++ b/audio/p5-Audio-WMA/pkg-descr
@@ -0,0 +1,3 @@
+Fetch info from WMA audio files.
+
+WWW: http://search.cpan.org/~daniel/Audio-WMA-0.01/
diff --git a/audio/p5-Audio-WMA/pkg-plist b/audio/p5-Audio-WMA/pkg-plist
new file mode 100644
index 000000000000..2149c0cc7ef3
--- /dev/null
+++ b/audio/p5-Audio-WMA/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Audio/WMA.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Audio/WMA/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Audio/WMA
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Audio 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/Audio 2>/dev/null || true