aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsylvio <sylvio@FreeBSD.org>2010-08-20 21:42:22 +0800
committersylvio <sylvio@FreeBSD.org>2010-08-20 21:42:22 +0800
commit7014896bfd80b6bb34b7c823931a31fc94570984 (patch)
treebf6d31575f400ad4d6fd980447786b93d1d2f572 /audio
parent26757ce8b6765418f5daafba881a66d86dc3b82b (diff)
downloadfreebsd-ports-gnome-7014896bfd80b6bb34b7c823931a31fc94570984.tar.gz
freebsd-ports-gnome-7014896bfd80b6bb34b7c823931a31fc94570984.tar.zst
freebsd-ports-gnome-7014896bfd80b6bb34b7c823931a31fc94570984.zip
- Is a perl module to encapsulate the parsing and creation of filenames containing music metadata (artist, album, etc).
It is used by mp3lint and mp3-archive-tools. WWW: http://erislabs.net/ianb/projects/libmp3-archive-perl/ PR: ports/148898 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/libmp3-archive-perl/Makefile25
-rw-r--r--audio/libmp3-archive-perl/distinfo3
-rw-r--r--audio/libmp3-archive-perl/pkg-descr7
-rw-r--r--audio/libmp3-archive-perl/pkg-plist10
5 files changed, 46 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 608509d22bae..b1c679bd4f37 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -379,6 +379,7 @@
SUBDIR += libmad
SUBDIR += libmikmod
SUBDIR += libmodplug
+ SUBDIR += libmp3-archive-perl
SUBDIR += libmp3splt
SUBDIR += libmpcdec
SUBDIR += libmpd
diff --git a/audio/libmp3-archive-perl/Makefile b/audio/libmp3-archive-perl/Makefile
new file mode 100644
index 000000000000..0e13b0667439
--- /dev/null
+++ b/audio/libmp3-archive-perl/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: libmp3-archive-perl
+# Date created: 2010-07-06
+# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libmp3-archive-perl
+PORTVERSION= 0.9
+CATEGORIES= audio perl5
+MASTER_SITES= http://erislabs.net/ianb/projects/${PORTNAME}/ \
+ http://sunpoet.net/distfiles/
+
+MAINTAINER= sunpoet@sunpoet.net
+COMMENT= Perl module to manipulate filenames containing music metadata
+
+PERL_CONFIGURE= yes
+
+MAN3= MP3::Archive::Config.3 MP3::Archive::Format.3 MP3::Archive.3
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^DESTINSTALLSYSCONFDIR/ s|DESTDIR|PREFIX|' \
+ ${WRKSRC}/Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/audio/libmp3-archive-perl/distinfo b/audio/libmp3-archive-perl/distinfo
new file mode 100644
index 000000000000..bc2cf45795fc
--- /dev/null
+++ b/audio/libmp3-archive-perl/distinfo
@@ -0,0 +1,3 @@
+MD5 (libmp3-archive-perl-0.9.tar.gz) = dbb8f9ffd61ade7e64743855b90a1d07
+SHA256 (libmp3-archive-perl-0.9.tar.gz) = 7930dc1e363859002847ca5d5793c127cfc7f5b3b71b6cc7c04111c914aea380
+SIZE (libmp3-archive-perl-0.9.tar.gz) = 20721
diff --git a/audio/libmp3-archive-perl/pkg-descr b/audio/libmp3-archive-perl/pkg-descr
new file mode 100644
index 000000000000..e2e1fc14ba07
--- /dev/null
+++ b/audio/libmp3-archive-perl/pkg-descr
@@ -0,0 +1,7 @@
+MP3::Archive (packaged as libmp3-archive-perl) is a perl module to encapsulate
+the parsing and creation of filenames containing music metadata (artist, album,
+etc).
+
+It is used by mp3-archive-tools and mp3lint.
+
+WWW: http://erislabs.net/ianb/projects/libmp3-archive-perl/
diff --git a/audio/libmp3-archive-perl/pkg-plist b/audio/libmp3-archive-perl/pkg-plist
new file mode 100644
index 000000000000..e0e413010141
--- /dev/null
+++ b/audio/libmp3-archive-perl/pkg-plist
@@ -0,0 +1,10 @@
+@comment $FreeBSD$
+etc/mp3archiverc
+%%SITE_PERL%%/MP3/Archive.pm
+%%SITE_PERL%%/MP3/Archive/Config.pm
+%%SITE_PERL%%/MP3/Archive/Format.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3/Archive/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3/Archive
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MP3
+@dirrmtry %%SITE_PERL%%/MP3/Archive
+@dirrmtry %%SITE_PERL%%/MP3