aboutsummaryrefslogtreecommitdiff
path: root/audio/mp32ogg
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-04 12:06:37 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-04 12:06:37 +0000
commita83079d363bf7df22c0a2d6d5ca883678fc5c13b (patch)
treeb8c037a133e6112cac52f33f48337c16a7c1534b /audio/mp32ogg
parent88c3bf1dc121851ba7fda09c0014caae43233bc2 (diff)
downloadports-a83079d363bf7df22c0a2d6d5ca883678fc5c13b.tar.gz
ports-a83079d363bf7df22c0a2d6d5ca883678fc5c13b.zip
Notes
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