Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Aug 1998 14:34:02 +0900 (JST)
From:      Seigou Tanimura <tanimura@naklab.dnj.ynu.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7550: New Port: 8hz-mp3
Message-ID:  <199808100534.OAA09916@silver.naklab.dnj.ynu.ac.jp>

next in thread | raw e-mail | index | archive | help

>Number:         7550
>Category:       ports
>Synopsis:       New Port: 8hz-mp3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug  9 22:40:00 PDT 1998
>Last-Modified:
>Originator:     Seigou Tanimura
>Organization:
Div. of Electrics and Computer Science, Faculty of Engineering, Yokohama National University, JAPAN
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

	FreeBSD silver 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: Fri Aug  7 19:28:12 JST 1998     root@:/usr/src/sys/compile/SILVER  i386

>Description:

	This is an mpeg I audio layer 3(MP3) encoder.
	Encodes WAV file into MP3(only!).

>How-To-Repeat:

	shar

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	8hz-mp3
#	8hz-mp3/pkg
#	8hz-mp3/pkg/COMMENT
#	8hz-mp3/pkg/DESCR
#	8hz-mp3/pkg/PLIST
#	8hz-mp3/patches
#	8hz-mp3/patches/patch-aa
#	8hz-mp3/patches/patch-ab
#	8hz-mp3/patches/patch-ac
#	8hz-mp3/files
#	8hz-mp3/files/md5
#	8hz-mp3/Makefile
#
echo c - 8hz-mp3
mkdir -p 8hz-mp3 > /dev/null 2>&1
echo c - 8hz-mp3/pkg
mkdir -p 8hz-mp3/pkg > /dev/null 2>&1
echo x - 8hz-mp3/pkg/COMMENT
sed 's/^X//' >8hz-mp3/pkg/COMMENT << 'END-of-8hz-mp3/pkg/COMMENT'
XMpeg I audio layer 3(MP3) encoder
END-of-8hz-mp3/pkg/COMMENT
echo x - 8hz-mp3/pkg/DESCR
sed 's/^X//' >8hz-mp3/pkg/DESCR << 'END-of-8hz-mp3/pkg/DESCR'
XThis is an mpeg I audio layer 3(MP3) encoder.
XEncodes WAV file into MP3(only!).
X
XSee http://www.8hz.com/ for further information.
X
XSeigo TANIMURA
Xtanimura@naklab.dnj.ynu.ac.jp
END-of-8hz-mp3/pkg/DESCR
echo x - 8hz-mp3/pkg/PLIST
sed 's/^X//' >8hz-mp3/pkg/PLIST << 'END-of-8hz-mp3/pkg/PLIST'
Xbin/8hz-mp3
END-of-8hz-mp3/pkg/PLIST
echo c - 8hz-mp3/patches
mkdir -p 8hz-mp3/patches > /dev/null 2>&1
echo x - 8hz-mp3/patches/patch-aa
sed 's/^X//' >8hz-mp3/patches/patch-aa << 'END-of-8hz-mp3/patches/patch-aa'
X--- Makefile.org	Sun Aug  9 13:29:09 1998
X+++ Makefile	Sun Aug  9 13:59:01 1998
X@@ -3,7 +3,8 @@
X ####################################################
X 
X                                
X-CC = gcc
X+#CC = gcc
X+CC = cc
X SOURCES=main.c      \
X 	wave.c      \
X 	tables.c    \
X@@ -26,7 +27,8 @@
X OBJ = $(SOURCES:.c=.o) $(OTHERC:.c=.o)
X 
X NINT_SWITCH = 
X-CC_SWITCHES = -O9 -Wall -DBS_FORMAT=BINARY $(NINT_SWITCH) -DNDEBUG
X+#CC_SWITCHES = -O9 -Wall -DBS_FORMAT=BINARY $(NINT_SWITCH) -DNDEBUG
X+CC_SWITCHES = -O9 -Wall -DBS_FORMAT=BINARY $(NINT_SWITCH) -DNDEBUG ${CFLAGS}
X LIBS        = -lm 
X PGM         = 8hz-mp3
X 
END-of-8hz-mp3/patches/patch-aa
echo x - 8hz-mp3/patches/patch-ab
sed 's/^X//' >8hz-mp3/patches/patch-ab << 'END-of-8hz-mp3/patches/patch-ab'
X--- types.h.org	Wed May 13 02:48:25 1998
X+++ types.h	Sun Aug  9 13:27:34 1998
X@@ -8,8 +8,9 @@
X 
X #ifdef PI
X #undef PI
X+#endif /* PI */
X #define         PI                      3.14159265358979
X-#endif
X+/* #endif */
X #define         PI4                     PI/4
X #define         PI64                    PI/64
X #define SQRT2       1.41421356237
END-of-8hz-mp3/patches/patch-ab
echo x - 8hz-mp3/patches/patch-ac
sed 's/^X//' >8hz-mp3/patches/patch-ac << 'END-of-8hz-mp3/patches/patch-ac'
X--- bitstream.c.org	Wed May 13 02:48:25 1998
X+++ bitstream.c	Sun Aug  9 13:29:01 1998
X@@ -1,7 +1,7 @@
X #include <string.h>
X #include <ctype.h>
X #include <stdlib.h>
X-#include <malloc.h>
X+/* #include <malloc.h> */
X 
X #include "types.h"
X #include "error.h"
END-of-8hz-mp3/patches/patch-ac
echo c - 8hz-mp3/files
mkdir -p 8hz-mp3/files > /dev/null 2>&1
echo x - 8hz-mp3/files/md5
sed 's/^X//' >8hz-mp3/files/md5 << 'END-of-8hz-mp3/files/md5'
XMD5 (8hz-mp3.src.v02b.tar.gz) = 8a353eb553dcc3823127e9ccf4d1e739
END-of-8hz-mp3/files/md5
echo x - 8hz-mp3/Makefile
sed 's/^X//' >8hz-mp3/Makefile << 'END-of-8hz-mp3/Makefile'
X# New ports collection makefile for:	8hz-mp3 - MP3 Encoder
X# Version required:	0.20b
X# Date created:		9 Aug 1998
X# Whom:			tanimura
X#
X# $Id$
X#
X
XDISTNAME=	8hz-mp3.src.v02b
XPKGNAME=	8hz-mp3-0.2b
XCATEGORIES=	audio
XMASTER_SITES=	http://www.8hz.com/mp3/
X
XMAINTAINER=	tanimura@naklab.dnj.ynu.ac.jp
X
XWRKSRC=		${WRKDIR}/8hz-mp3
XUSE_GMAKE=	yes
X
Xpre-build:
X	@cd ${WRKSRC}; ${GMAKE} depend
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/8hz-mp3 ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-8hz-mp3/Makefile
exit

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808100534.OAA09916>