aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp32ogg
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-04 20:06:37 +0800
committerijliao <ijliao@FreeBSD.org>2001-11-04 20:06:37 +0800
commit3f2ce10bb563b2f25e61f500603cab14c4e7c4f0 (patch)
treed49b22680bbe77ed8ee68bafd3fda48771684936 /audio/mp32ogg
parentfa626ba55dbd2588398dc554bb02f33aa8110391 (diff)
downloadfreebsd-ports-gnome-3f2ce10bb563b2f25e61f500603cab14c4e7c4f0.tar.gz
freebsd-ports-gnome-3f2ce10bb563b2f25e61f500603cab14c4e7c4f0.tar.zst
freebsd-ports-gnome-3f2ce10bb563b2f25e61f500603cab14c4e7c4f0.zip
add mp32ogg
Convert MP3 files to Ogg Vorbis files
Diffstat (limited to 'audio/mp32ogg')
-rw-r--r--audio/mp32ogg/Makefile36
-rw-r--r--audio/mp32ogg/distinfo1
-rw-r--r--audio/mp32ogg/files/patch-mp32ogg13
-rw-r--r--audio/mp32ogg/pkg-comment1
-rw-r--r--audio/mp32ogg/pkg-descr8
-rw-r--r--audio/mp32ogg/pkg-plist1
6 files changed, 60 insertions, 0 deletions
diff --git a/audio/mp32ogg/Makefile b/audio/mp32ogg/Makefile
new file mode 100644
index 000000000000..42c0ea7a0ed5
--- /dev/null
+++ b/audio/mp32ogg/Makefile
@@ -0,0 +1,36 @@
+# ex:ts=8
+# New ports collection makefile for: mp32ogg
+# Date created: Nov 4, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= mp32ogg
+PORTVERSION= 0.10
+CATEGORIES= audio perl5
+MASTER_SITES= ftp://ftp.faceprint.com/pub/software/scripts/
+DISTNAME= ${PORTNAME}
+EXTRACT_SUFX= # empty
+
+MAINTAINER= ports@FreeBSD.org
+
+RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 \
+ oggenc:${PORTSDIR}/audio/vorbis-tools \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/MP3/Info.pm:${PORTSDIR}/audio/p5-MP3-Info \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/String/ShellQuote.pm:${PORTSDIR}/textproc/p5-String-ShellQuote
+
+USE_PERL5= yes
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS= #
+EXTRACT_AFTER_ARGS= ${WRKSRC}
+NO_BUILD= yes
+
+post-patch:
+ @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/mp32ogg
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mp32ogg ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/audio/mp32ogg/distinfo b/audio/mp32ogg/distinfo
new file mode 100644
index 000000000000..485d279e7614
--- /dev/null
+++ b/audio/mp32ogg/distinfo
@@ -0,0 +1 @@
+MD5 (mp32ogg) = 5a56d778371392e0a94329501873c36d
diff --git a/audio/mp32ogg/files/patch-mp32ogg b/audio/mp32ogg/files/patch-mp32ogg
new file mode 100644
index 000000000000..67206482f506
--- /dev/null
+++ b/audio/mp32ogg/files/patch-mp32ogg
@@ -0,0 +1,13 @@
+--- mp32ogg.orig Sun Nov 4 20:01:12 2001
++++ mp32ogg Sun Nov 4 20:01:42 2001
+@@ -77,8 +77,8 @@
+ use Getopt::Long;
+ use String::ShellQuote;
+
+-$oggenc = "/usr/bin/oggenc";
+-$mpg123 = "/usr/bin/mpg123";
++$oggenc = "%%LOCALBASE%%/bin/oggenc";
++$mpg123 = "%%LOCALBASE%%/bin/mpg123";
+
+ print "mp32ogg $version\n";
+ print "(c) 2000-2001 Nathan Walp\n";
diff --git a/audio/mp32ogg/pkg-comment b/audio/mp32ogg/pkg-comment
new file mode 100644
index 000000000000..b9c6383e303e
--- /dev/null
+++ b/audio/mp32ogg/pkg-comment
@@ -0,0 +1 @@
+Convert MP3 files to Ogg Vorbis files
diff --git a/audio/mp32ogg/pkg-descr b/audio/mp32ogg/pkg-descr
new file mode 100644
index 000000000000..0edb9cb80d20
--- /dev/null
+++ b/audio/mp32ogg/pkg-descr
@@ -0,0 +1,8 @@
+A perl script to convert MP3 files to Ogg Vorbis files, retaining ID3
+information, bitrate, and optionally renaming the output files, as well
+as deleting the originals.
+
+THIS DEGRADES THE QUALITY, because it goes from one lossy format to
+another.
+
+WWW: http://faceprint.com/software.phtml
diff --git a/audio/mp32ogg/pkg-plist b/audio/mp32ogg/pkg-plist
new file mode 100644
index 000000000000..ba2d7bba0108
--- /dev/null
+++ b/audio/mp32ogg/pkg-plist
@@ -0,0 +1 @@
+bin/mp32ogg