1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

add mp32ogg

Convert MP3 files to Ogg Vorbis files
This commit is contained in:
Ying-Chieh Liao 2001-11-04 12:06:37 +00:00
parent 88c3bf1dc1
commit a83079d363
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=49568
7 changed files with 61 additions and 0 deletions

View File

@ -117,6 +117,7 @@
SUBDIR += midimountain
SUBDIR += mikmod
SUBDIR += mixer.app
SUBDIR += mp32ogg
SUBDIR += mp3_check
SUBDIR += mp3asm
SUBDIR += mp3blaster

36
audio/mp32ogg/Makefile Normal file
View File

@ -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>

1
audio/mp32ogg/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (mp32ogg) = 5a56d778371392e0a94329501873c36d

View File

@ -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";

View File

@ -0,0 +1 @@
Convert MP3 files to Ogg Vorbis files

8
audio/mp32ogg/pkg-descr Normal file
View File

@ -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

1
audio/mp32ogg/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/mp32ogg