From havoc@cal30b054.student.utwente.nl  Mon Aug 21 16:38:37 2000
Return-Path: <havoc@cal30b054.student.utwente.nl>
Received: from cal30b054.student.utwente.nl (cal30b054.student.utwente.nl [130.89.229.25])
	by hub.freebsd.org (Postfix) with ESMTP id EC6D637B617
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Aug 2000 16:38:36 -0700 (PDT)
Received: (from havoc@localhost)
	by cal30b054.student.utwente.nl (8.9.3/8.9.3) id BAA11568;
	Tue, 22 Aug 2000 01:38:53 +0200 (CEST)
	(envelope-from havoc)
Message-Id: <200008212338.BAA11568@cal30b054.student.utwente.nl>
Date: Tue, 22 Aug 2000 01:38:53 +0200 (CEST)
From: t.vanklaveren@student.utwente.nl
Sender: havoc@cal30b054.student.utwente.nl
Reply-To: t.vanklaveren@student.utwente.nl
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port for Vorbis audio codec
X-Send-Pr-Version: 3.2

>Number:         20766
>Category:       ports
>Synopsis:       New port for Vorbis audio codec
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 21 16:40:00 PDT 2000
>Closed-Date:    Fri Sep 15 22:05:11 PDT 2000
>Last-Modified:  Fri Sep 15 22:05:22 PDT 2000
>Originator:     Theo van Klaveren
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

>Description:

New port for the Vorbis audio codec, featuring an encoder, player, various
shell scripts and an XMMS plugin.

>How-To-Repeat:

>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:
#
#	vorbis
#	vorbis
#	vorbis/Makefile
#	vorbis/files
#	vorbis/files/md5
#	vorbis/patches
#	vorbis/patches/patch-aa
#	vorbis/patches/patch-ac
#	vorbis/patches/patch-ad
#	vorbis/patches/patch-ae
#	vorbis/pkg
#	vorbis/pkg/PLIST
#	vorbis/pkg/COMMENT
#	vorbis/pkg/DESCR
#
echo c - vorbis
mkdir -p vorbis > /dev/null 2>&1
echo c - vorbis
mkdir -p vorbis > /dev/null 2>&1
echo x - vorbis/Makefile
sed 's/^X//' >vorbis/Makefile << 'END-of-vorbis/Makefile'
X# New ports collection makefile for:	vorbis
X# Date created:				22 August 2000
X# Whom:					t.vanklaveren@student.utwente.nl
X#
X# $FreeBSD$
X#
X
XPORTNAME=	vorbis
XPORTVERSION=	20000821
XCATEGORIES=	audio
XMASTER_SITES=	http://home.student.utwente.nl/t.vanklaveren/distfiles/
X
XMAINTAINER=	t.vanklaveren@student.utwente.nl
X
XLIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
X		xmms.1:${PORTSDIR}/audio/xmms
XRUN_DEPENDS=	${X11BASE}/bin/xmms:${PORTSDIR}/audio/xmms
X
XGLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config
XGTK_CONFIG?=	${X11BASE}/bin/gtk12-config
X
X# Vorbis doesn't depend on X, but it's needed for the XMMS plugin :-(
XUSE_X_PREFIX=	yes
XUSE_AUTOCONF=	yes
XGNU_CONFIGURE=	yes
XWRKSRC=		${WRKDIR}/vorbis
X
Xpost-build:
X	cd ${WRKSRC}/vorbis-tools/libao && ${SETENV} ${MAKE_ENV} ${MAKE}
X	cd ${WRKSRC}/vorbis-tools && ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
X	cd ${WRKSRC}/xmms && ${SETENV} ${MAKE_ENV} ${MAKE} GLIB_CONFIG=${GLIB_CONFIG} GTK_CONFIG=${GTK_CONFIG} target
Xdo-install:
X# Install all vorbis libraries and headers by hand. There is no target for it.
X	${INSTALL_PROGRAM} ${WRKSRC}/lib/libvorbis.a ${PREFIX}/lib/
X	${INSTALL_PROGRAM} ${WRKSRC}/lib/vorbisfile.a ${PREFIX}/lib/
X# Install all vorbis-tools by hand. The Makefile sucks and is beyond hope.
X	${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/vorbize ${PREFIX}/bin/
X	${INSTALL_SCRIPT} ${WRKSRC}/vorbis-tools/mp3tovorbis ${PREFIX}/bin/
X	${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/ogg123 ${PREFIX}/bin/
X	${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/vorbiscomment ${PREFIX}/bin/
X	${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/oggenc ${PREFIX}/bin/
X	${INSTALL_MAN} ${WRKSRC}/vorbis-tools/ogg123.1 ${PREFIX}/man/man1/
X	${INSTALL_MAN} ${WRKSRC}/vorbis-tools/vorbize.1 ${PREFIX}/man/man1/
X	${INSTALL_MAN} ${WRKSRC}/vorbis-tools/oggenc.1 ${PREFIX}/man/man1/
X	${INSTALL_PROGRAM} ${WRKSRC}/xmms/libvorbis.so ${PREFIX}/lib/xmms/Input/
X# And finally, the header files
X	${MKDIR} ${PREFIX}/include/vorbis
X	${MKDIR} ${PREFIX}/include/vorbis/book
X	${INSTALL_DATA} ${WRKSRC}/include/vorbis/*.h ${PREFIX}/include/vorbis/
X	${INSTALL_DATA} ${WRKSRC}/include/vorbis/book/*.vqh ${PREFIX}/include/vorbis/book/
X
XMAN1=	ogg123.1 vorbize.1 oggenc.1
X
X.include <bsd.port.mk>
END-of-vorbis/Makefile
echo c - vorbis/files
mkdir -p vorbis/files > /dev/null 2>&1
echo x - vorbis/files/md5
sed 's/^X//' >vorbis/files/md5 << 'END-of-vorbis/files/md5'
XMD5 (vorbis-20000821.tar.gz) = f7172940059c421367095db97dcf6a0b
END-of-vorbis/files/md5
echo c - vorbis/patches
mkdir -p vorbis/patches > /dev/null 2>&1
echo x - vorbis/patches/patch-aa
sed 's/^X//' >vorbis/patches/patch-aa << 'END-of-vorbis/patches/patch-aa'
X--- configure.in.orig	Tue Aug 15 11:09:31 2000
X+++ configure.in	Mon Aug 21 23:50:37 2000
X@@ -55,8 +55,11 @@
X 		PROFILE="-g -p" ;;
X         esac
X else
X-
X 	case $host in 
X+	*-*-freebsd*)
X+		DEBUG="-g -Wall -fsigned-char"
X+		OPT="$CFLAGS -ffast-math -fsigned-char"
X+		PROFILE="-pg -g $CFLAGS -ffast-math -fsigned-char" ;;
X 	*86-*-linux*)
X 		DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
X 		OPT="-O20 -ffast-math -D_REENTRANT -fsigned-char"
X@@ -118,7 +121,7 @@
X 
X AC_HEADER_STDC
X 
X-CFLAGS=""
X+# CFLAGS=""
X 
X dnl AC_PATH_X
X dnl AC_PATH_XTRA
X@@ -127,6 +130,7 @@
X #	pthread_lib="-lpthread"; AC_DEFINE(HAVE_LIBPTHREAD), :)
X # We no longer use config.h
X AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
X+AC_CHECK_LIB(c_r, pthread_create, pthread_lib="-pthread", :)
X 
X #dnl Linuxthreads require you to define _REENTRANT in all threaded
X #dnl code.  Bogus, bogus...
END-of-vorbis/patches/patch-aa
echo x - vorbis/patches/patch-ac
sed 's/^X//' >vorbis/patches/patch-ac << 'END-of-vorbis/patches/patch-ac'
X--- vorbis-tools/ogg123.c.orig	Mon Aug 21 23:53:11 2000
X+++ vorbis-tools/ogg123.c	Mon Aug 21 23:53:47 2000
X@@ -27,8 +27,8 @@
X #include <stdio.h>
X #include <stdlib.h>
X #include <string.h>
X-#include <sys/socket.h> /* !!! */
X #include <sys/types.h>
X+#include <sys/socket.h> /* !!! */
X #include <unistd.h>
X #include <netdb.h>
X #include <netinet/in.h>
END-of-vorbis/patches/patch-ac
echo x - vorbis/patches/patch-ad
sed 's/^X//' >vorbis/patches/patch-ad << 'END-of-vorbis/patches/patch-ad'
X--- vorbis-tools/Makefile.in.orig	Tue Aug 15 18:28:39 2000
X+++ vorbis-tools/Makefile.in	Tue Aug 22 00:14:56 2000
X@@ -45,14 +45,14 @@
X target: libao vorbize ogg123 vorbiscomment oggenc
X 
X ogg123: ogg123.o libao/libao.a 
X-	$(CC) $(CFLAGS) ogg123.o -o ogg123 $(LIBS) libao/libao.a
X+	$(CC) $(CFLAGS) ogg123.o -o ogg123 -L${LOCALBASE}/lib -lgnugetopt $(LIBS) libao/libao.a
X 
X vorbiscomment: vorbiscomment.o
X 	$(CC) $(CFLAGS) vorbiscomment.o -o vorbiscomment $(LIBS)
X 
X vorbize: vorbize.o
X 	$(CC) $(CFLAGS) vorbize.o -o \
X-			vorbize $(LIBS)
X+			vorbize -L${LOCALBASE}/lib -lgnugetopt $(LIBS)
X oggenc: oggenc.o encode.o audio.o getopt.o getopt1.o
X 	$(CC) $(CFLAGS) oggenc.o encode.o audio.o getopt.o getopt1.o -o oggenc $(LIBS)
X 
END-of-vorbis/patches/patch-ad
echo x - vorbis/patches/patch-ae
sed 's/^X//' >vorbis/patches/patch-ae << 'END-of-vorbis/patches/patch-ae'
X--- xmms/Makefile.in.orig	Tue Jun 20 08:54:57 2000
X+++ xmms/Makefile.in	Tue Aug 22 00:57:23 2000
X@@ -7,16 +7,17 @@
X # (unless, of course, you know what you are doing :) ##########################
X 
X @SET_MAKE@
X-FLAGS=-I. -I../include @CFLAGS@ `gtk-config --cflags` -fPIC -Dvorbis_size32_t='@SIZE32@'
X+FLAGS=-I. -I../include @CFLAGS@ `${GLIB_CONFIG} --cflags` `${GTK_CONFIG} --cflags` -fPIC -Dvorbis_size32_t='@SIZE32@'
X OPT=@OPT@ $(FLAGS)
X DEBUG=@DEBUG@ $(FLAGS)
X PROFILE=@PROFILE@ $(FLAGS)
X CC=@CC@
X LD=@CC@
X-LDFLAGS=@LDFLAGS@ $(FLAGS) -shared
X+LDFLAGS=@LDFLAGS@ `${GLIB_CONFIG} --libs` `${GTK_CONFIG} --libs` $(FLAGS) -shared
X AR=@AR@
X RANLIB=@RANLIB@
X-LIBS=@LIBS@ -lpthread
X+LIBS=@LIBS@ @pthread_lib@
X+CFLAGS+=${FLAGS}
X 
X OFILES=		vorbis.o
X TARGET=		libvorbis.so
END-of-vorbis/patches/patch-ae
echo c - vorbis/pkg
mkdir -p vorbis/pkg > /dev/null 2>&1
echo x - vorbis/pkg/PLIST
sed 's/^X//' >vorbis/pkg/PLIST << 'END-of-vorbis/pkg/PLIST'
Xbin/mp3tovorbis
Xbin/ogg123
Xbin/oggenc
Xbin/vorbiscomment
Xbin/vorbize
Xinclude/vorbis/backends.h
Xinclude/vorbis/codebook.h
Xinclude/vorbis/codec.h
Xinclude/vorbis/internal.h
Xinclude/vorbis/mode_A.h
Xinclude/vorbis/mode_B.h
Xinclude/vorbis/mode_C.h
Xinclude/vorbis/mode_D.h
Xinclude/vorbis/mode_E.h
Xinclude/vorbis/modes.h
Xinclude/vorbis/os_types.h
Xinclude/vorbis/vorbisfile.h
Xinclude/vorbis/book/lsp12_0.vqh
Xinclude/vorbis/book/lsp30_0.vqh
Xinclude/vorbis/book/res0_1024a_128_1.vqh
Xinclude/vorbis/book/res0_1024a_128_2.vqh
Xinclude/vorbis/book/res0_1024a_128_3.vqh
Xinclude/vorbis/book/res0_1024a_128_4.vqh
Xinclude/vorbis/book/res0_1024a_128_5.vqh
Xinclude/vorbis/book/res0_1024a_128_6.vqh
Xinclude/vorbis/book/res0_1024a_128_7.vqh
Xinclude/vorbis/book/res0_1024a_128_8.vqh
Xinclude/vorbis/book/res0_1024a_128_9.vqh
Xinclude/vorbis/book/res0_1024a_160_1.vqh
Xinclude/vorbis/book/res0_1024a_160_2.vqh
Xinclude/vorbis/book/res0_1024a_160_3.vqh
Xinclude/vorbis/book/res0_1024a_160_4.vqh
Xinclude/vorbis/book/res0_1024a_160_5.vqh
Xinclude/vorbis/book/res0_1024a_160_6.vqh
Xinclude/vorbis/book/res0_1024a_160_7.vqh
Xinclude/vorbis/book/res0_1024a_160_8.vqh
Xinclude/vorbis/book/res0_1024a_160_9.vqh
Xinclude/vorbis/book/res0_1024a_192_1.vqh
Xinclude/vorbis/book/res0_1024a_192_2.vqh
Xinclude/vorbis/book/res0_1024a_192_3.vqh
Xinclude/vorbis/book/res0_1024a_192_4.vqh
Xinclude/vorbis/book/res0_1024a_192_5.vqh
Xinclude/vorbis/book/res0_1024a_256_1.vqh
Xinclude/vorbis/book/res0_1024a_256_2.vqh
Xinclude/vorbis/book/res0_1024a_256_3.vqh
Xinclude/vorbis/book/res0_1024a_256_4.vqh
Xinclude/vorbis/book/res0_1024a_256_5.vqh
Xinclude/vorbis/book/res0_1024a_350_1.vqh
Xinclude/vorbis/book/res0_1024a_350_2.vqh
Xinclude/vorbis/book/res0_1024a_350_3.vqh
Xinclude/vorbis/book/res0_1024a_350_4.vqh
Xinclude/vorbis/book/res0_1024a_350_5.vqh
Xinclude/vorbis/book/res0_128a_128_1.vqh
Xinclude/vorbis/book/res0_128a_128_2.vqh
Xinclude/vorbis/book/res0_128a_128_3.vqh
Xinclude/vorbis/book/res0_128a_128_4.vqh
Xinclude/vorbis/book/res0_128a_128_5.vqh
Xinclude/vorbis/book/res0_128a_160_1.vqh
Xinclude/vorbis/book/res0_128a_160_2.vqh
Xinclude/vorbis/book/res0_128a_160_3.vqh
Xinclude/vorbis/book/res0_128a_160_4.vqh
Xinclude/vorbis/book/res0_128a_160_5.vqh
Xinclude/vorbis/book/res0_128a_192_1.vqh
Xinclude/vorbis/book/res0_128a_192_2.vqh
Xinclude/vorbis/book/res0_128a_192_3.vqh
Xinclude/vorbis/book/res0_128a_192_4.vqh
Xinclude/vorbis/book/res0_128a_192_5.vqh
Xinclude/vorbis/book/res0_128a_256_1.vqh
Xinclude/vorbis/book/res0_128a_256_2.vqh
Xinclude/vorbis/book/res0_128a_256_3.vqh
Xinclude/vorbis/book/res0_128a_256_4.vqh
Xinclude/vorbis/book/res0_128a_256_5.vqh
Xinclude/vorbis/book/res0_128a_350_1.vqh
Xinclude/vorbis/book/res0_128a_350_2.vqh
Xinclude/vorbis/book/res0_128a_350_3.vqh
Xinclude/vorbis/book/res0_128a_350_4.vqh
Xinclude/vorbis/book/res0_128a_350_5.vqh
Xinclude/vorbis/book/resaux0_1024a_128.vqh
Xinclude/vorbis/book/resaux0_1024a_160.vqh
Xinclude/vorbis/book/resaux0_1024a_192.vqh
Xinclude/vorbis/book/resaux0_1024a_256.vqh
Xinclude/vorbis/book/resaux0_1024a_350.vqh
Xinclude/vorbis/book/resaux0_128a_128.vqh
Xinclude/vorbis/book/resaux0_128a_160.vqh
Xinclude/vorbis/book/resaux0_128a_192.vqh
Xinclude/vorbis/book/resaux0_128a_256.vqh
Xinclude/vorbis/book/resaux0_128a_350.vqh
Xlib/libvorbis.a
Xlib/vorbisfile.a
Xlib/xmms/Input/libvorbis.so
Xman/man1/ogg123.1.gz
Xman/man1/oggenc.1.gz
Xman/man1/vorbize.1.gz
X@dirrm include/vorbis/book
X@dirrm include/vorbis
END-of-vorbis/pkg/PLIST
echo x - vorbis/pkg/COMMENT
sed 's/^X//' >vorbis/pkg/COMMENT << 'END-of-vorbis/pkg/COMMENT'
XMP3-comparable audio compression codec and tools
END-of-vorbis/pkg/COMMENT
echo x - vorbis/pkg/DESCR
sed 's/^X//' >vorbis/pkg/DESCR << 'END-of-vorbis/pkg/DESCR'
X
XWHAT IS VORBIS:
X
XVorbis is a general purpose audio and music encoding format
Xcontemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
XMPEG audio layer 3. Unlike the MPEG sponsored formats (and other
Xproprietary formats such as RealAudio G2 and Windows' flavor of the
Xmonth), the Vorbis CODEC specification belongs to the public domain.
XAll the technical details are published and documented, and any
Xsoftware entity may make full use of the format without royalty or
Xpatent concerns.
X
XThis package contains libvorbis, an LGPLed software implementation of
Xthe Vorbis specification by the Xiphophorus company
X(http://www.xiph.org/), vorbisfile, an LGPLed convenience library
Xbuilt on Vorbis designed to simplify common uses and a number of GPL
Xexample programs, utilities and player plugins.
X
XWWW: http://www.vorbis.com
X
X- Theo van Klaveren
Xt.vanklaveren@student.utwente.nl
X
END-of-vorbis/pkg/DESCR
exit


>Release-Note:
>Audit-Trail:

From: FUJISHIMA Satsuki <k5@cheerful.com>
To: t.vanklaveren@student.utwente.nl
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/20766: New port for Vorbis audio codec
Date: Wed, 23 Aug 2000 02:16:37 +0900

 This port should be separated into three ports like vorbis, vorbis-lib
 and xmms-vorbis.
 
 vorbis: most people only needs encoder and player.
 vorbis-lib: libraries and include files.
 xmms-vorbis: plugin only.
 
 At Tue, 22 Aug 2000 01:38:53 +0200 (CEST),
 t.vanklaveren@student.utwente.nl wrote:
 > XLIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
 
 getopt.c and getopt1.c are now found in vorbis-tools/, so this is
 redundant.
 
 > Xpost-build:
 > X	cd ${WRKSRC}/vorbis-tools/libao && ${SETENV} ${MAKE_ENV} ${MAKE}
 > X	cd ${WRKSRC}/vorbis-tools && ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
 
 patching Makefile.in will do all the thing...
 
 --- Makefile.in.orig    Sat Jul  1 03:18:48 2000
 +++ Makefile.in Tue Jul 25 10:50:14 2000
 @@ -17,7 +17,7 @@
  
  @SET_MAKE@
  
 -SUBDIRS =      lib examples # vorbis-tools cmdline xmms vq huff kmpg
 +SUBDIRS =      lib vorbis-tools # examples vq cmdline xmms huff kmpg
  
  all debug profile selftest target clean:
         echo $(MAKECMDGOALS)
 
 > X+	*-*-freebsd*)
 > X+		DEBUG="-g -Wall -fsigned-char"
 > X+		OPT="$CFLAGS -ffast-math -fsigned-char"
 > X+		PROFILE="-pg -g $CFLAGS -ffast-math -fsigned-char" ;;
 
 We really need special recipe for FreeBSD?
 
 > X@@ -127,6 +130,7 @@
 > X #	pthread_lib="-lpthread"; AC_DEFINE(HAVE_LIBPTHREAD), :)
 > X # We no longer use config.h
 > X AC_CHECK_LIB(pthread, pthread_create, pthread_lib="-lpthread", :)
 > X+AC_CHECK_LIB(c_r, pthread_create, pthread_lib="-pthread", :)
 
 Vorbis doesn't use pthread for now. :-)
 
 > X ogg123: ogg123.o libao/libao.a 
 > X-	$(CC) $(CFLAGS) ogg123.o -o ogg123 $(LIBS) libao/libao.a
 > X+	$(CC) $(CFLAGS) ogg123.o -o ogg123 -L${LOCALBASE}/lib -lgnugetopt $(LIBS) libao/libao.a
 > X 
 > X vorbiscomment: vorbiscomment.o
 > X 	$(CC) $(CFLAGS) vorbiscomment.o -o vorbiscomment $(LIBS)
 > X 
 > X vorbize: vorbize.o
 > X 	$(CC) $(CFLAGS) vorbize.o -o \
 > X-			vorbize $(LIBS)
 > X+			vorbize -L${LOCALBASE}/lib -lgnugetopt $(LIBS)
 > X oggenc: oggenc.o encode.o audio.o getopt.o getopt1.o
 > X 	$(CC) $(CFLAGS) oggenc.o encode.o audio.o getopt.o getopt1.o -o oggenc $(LIBS)
 > X 
 
 What you need are:
 ogg123: ogg123.o libao/libao.a getopt.o getopt1.o
 and
 vorbize: vorbize.o getopt.o getopt1.o
 
 > X-FLAGS=-I. -I../include @CFLAGS@ `gtk-config --cflags` -fPIC -Dvorbis_size32_t='@SIZE32@'
 > X+FLAGS=-I. -I../include @CFLAGS@ `${GLIB_CONFIG} --cflags` `${GTK_CONFIG} --cflags` -fPIC -Dvorbis_size32_t='@SIZE32@'
 
 gtk-config impiles glib-config...
 
 > Xbin/mp3tovorbis
 
 mp3tovorbis is bash script. You need patch.
 
 > Xman/man1/ogg123.1.gz
 > Xman/man1/oggenc.1.gz
 > Xman/man1/vorbize.1.gz
 
 Automatically added by MAN1= variable.
 
 Please look on this.
 
 # 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:
 #
 #	vorbis
 #	vorbis-lib
 #	vorbis-lib/Makefile
 #	vorbis-lib/pkg
 #	vorbis-lib/pkg/COMMENT
 #	vorbis-lib/pkg/DESCR
 #	vorbis-lib/pkg/PLIST
 #	vorbis/Makefile
 #	vorbis/files
 #	vorbis/files/md5
 #	vorbis/patches
 #	vorbis/patches/patch-Makefile.in
 #	vorbis/patches/patch-configure.in
 #	vorbis/patches/patch-mp3tovorbis
 #	vorbis/patches/patch-ogg123.c
 #	vorbis/patches/patch-vorbis-tools.Makefile.in
 #	vorbis/patches/patch-vq.Makefile.in
 #	vorbis/patches/patch-xmms.Makefile.in
 #	vorbis/pkg
 #	vorbis/pkg/COMMENT
 #	vorbis/pkg/DESCR
 #	vorbis/pkg/PLIST
 #	xmms-vorbis
 #	xmms-vorbis/Makefile
 #	xmms-vorbis/pkg
 #	xmms-vorbis/pkg/COMMENT
 #	xmms-vorbis/pkg/DESCR
 #	xmms-vorbis/pkg/PLIST
 #
 echo c - vorbis
 mkdir -p vorbis > /dev/null 2>&1
 echo c - vorbis-lib
 mkdir -p vorbis-lib > /dev/null 2>&1
 echo x - vorbis-lib/Makefile
 sed 's/^X//' >vorbis-lib/Makefile << 'END-of-vorbis-lib/Makefile'
 X# New ports collection makefile for:	vorbis-lib
 X# Date created:			20 Jun 2000
 X# Whom:				FUJISHIMA Satsuki <k5@cheerful.com>
 X#
 X# $FreeBSD$
 X#
 X
 XMASTERDIR=	${.CURDIR}/../vorbis
 X
 XPKGNAMESUFFIX=	-lib
 X
 XDOCDIR=		${PREFIX}/share/doc/vorbis
 XPKGDIR=		${.CURDIR}/pkg
 X
 Xdo-build:
 X	cd ${WRKSRC}/lib; ${MAKE}
 X
 Xdo-install:
 X	${INSTALL_DATA} ${WRKSRC}/lib/libvorbis.a ${PREFIX}/lib
 X	(cd ${WRKSRC}/include; \
 X		pax -rw -s ',.*CVS.*,,' vorbis ${PREFIX}/include)
 X
 X.if !defined(NOPORTDOCS)
 X	${MKDIR} ${DOCDIR}
 X	(cd ${WRKSRC}/docs; pax -rw [a-z]* ${DOCDIR})
 X.endif
 X
 X.include <${MASTERDIR}/Makefile>
 END-of-vorbis-lib/Makefile
 echo c - vorbis-lib/pkg
 mkdir -p vorbis-lib/pkg > /dev/null 2>&1
 echo x - vorbis-lib/pkg/COMMENT
 sed 's/^X//' >vorbis-lib/pkg/COMMENT << 'END-of-vorbis-lib/pkg/COMMENT'
 XOgg Vorbis audio codec libraries/includes
 END-of-vorbis-lib/pkg/COMMENT
 echo x - vorbis-lib/pkg/DESCR
 sed 's/^X//' >vorbis-lib/pkg/DESCR << 'END-of-vorbis-lib/pkg/DESCR'
 XVorbis is a general purpose audio and music encoding format
 Xcontemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
 XMPEG audio layer 3. Unlike the MPEG sponsored formats (and other
 Xproprietary formats such as RealAudio G2 and Windows' flavor of the
 Xmonth), the Vorbis CODEC specification belongs to the public domain.
 XAll the technical details are published and documented, and any
 Xsoftware entity may make full use of the format without royalty or
 Xpatent concerns.
 X
 XThis package contains vorbis libraries and include files.
 X
 XWWW: http://www.vorbis.com
 X
 X- Theo van Klaveren
 Xt.vanklaveren@student.utwente.nl
 END-of-vorbis-lib/pkg/DESCR
 echo x - vorbis-lib/pkg/PLIST
 sed 's/^X//' >vorbis-lib/pkg/PLIST << 'END-of-vorbis-lib/pkg/PLIST'
 Xinclude/vorbis/backends.h
 Xinclude/vorbis/book/lsp12_0.vqh
 Xinclude/vorbis/book/lsp30_0.vqh
 Xinclude/vorbis/book/res0_1024a_128_1.vqh
 Xinclude/vorbis/book/res0_1024a_128_2.vqh
 Xinclude/vorbis/book/res0_1024a_128_3.vqh
 Xinclude/vorbis/book/res0_1024a_128_4.vqh
 Xinclude/vorbis/book/res0_1024a_128_5.vqh
 Xinclude/vorbis/book/res0_1024a_128_6.vqh
 Xinclude/vorbis/book/res0_1024a_128_7.vqh
 Xinclude/vorbis/book/res0_1024a_128_8.vqh
 Xinclude/vorbis/book/res0_1024a_128_9.vqh
 Xinclude/vorbis/book/res0_1024a_160_1.vqh
 Xinclude/vorbis/book/res0_1024a_160_2.vqh
 Xinclude/vorbis/book/res0_1024a_160_3.vqh
 Xinclude/vorbis/book/res0_1024a_160_4.vqh
 Xinclude/vorbis/book/res0_1024a_160_5.vqh
 Xinclude/vorbis/book/res0_1024a_160_6.vqh
 Xinclude/vorbis/book/res0_1024a_160_7.vqh
 Xinclude/vorbis/book/res0_1024a_160_8.vqh
 Xinclude/vorbis/book/res0_1024a_160_9.vqh
 Xinclude/vorbis/book/res0_1024a_192_1.vqh
 Xinclude/vorbis/book/res0_1024a_192_2.vqh
 Xinclude/vorbis/book/res0_1024a_192_3.vqh
 Xinclude/vorbis/book/res0_1024a_192_4.vqh
 Xinclude/vorbis/book/res0_1024a_192_5.vqh
 Xinclude/vorbis/book/res0_1024a_256_1.vqh
 Xinclude/vorbis/book/res0_1024a_256_2.vqh
 Xinclude/vorbis/book/res0_1024a_256_3.vqh
 Xinclude/vorbis/book/res0_1024a_256_4.vqh
 Xinclude/vorbis/book/res0_1024a_256_5.vqh
 Xinclude/vorbis/book/res0_1024a_350_1.vqh
 Xinclude/vorbis/book/res0_1024a_350_2.vqh
 Xinclude/vorbis/book/res0_1024a_350_3.vqh
 Xinclude/vorbis/book/res0_1024a_350_4.vqh
 Xinclude/vorbis/book/res0_1024a_350_5.vqh
 Xinclude/vorbis/book/res0_128a_128_1.vqh
 Xinclude/vorbis/book/res0_128a_128_2.vqh
 Xinclude/vorbis/book/res0_128a_128_3.vqh
 Xinclude/vorbis/book/res0_128a_128_4.vqh
 Xinclude/vorbis/book/res0_128a_128_5.vqh
 Xinclude/vorbis/book/res0_128a_160_1.vqh
 Xinclude/vorbis/book/res0_128a_160_2.vqh
 Xinclude/vorbis/book/res0_128a_160_3.vqh
 Xinclude/vorbis/book/res0_128a_160_4.vqh
 Xinclude/vorbis/book/res0_128a_160_5.vqh
 Xinclude/vorbis/book/res0_128a_192_1.vqh
 Xinclude/vorbis/book/res0_128a_192_2.vqh
 Xinclude/vorbis/book/res0_128a_192_3.vqh
 Xinclude/vorbis/book/res0_128a_192_4.vqh
 Xinclude/vorbis/book/res0_128a_192_5.vqh
 Xinclude/vorbis/book/res0_128a_256_1.vqh
 Xinclude/vorbis/book/res0_128a_256_2.vqh
 Xinclude/vorbis/book/res0_128a_256_3.vqh
 Xinclude/vorbis/book/res0_128a_256_4.vqh
 Xinclude/vorbis/book/res0_128a_256_5.vqh
 Xinclude/vorbis/book/res0_128a_350_1.vqh
 Xinclude/vorbis/book/res0_128a_350_2.vqh
 Xinclude/vorbis/book/res0_128a_350_3.vqh
 Xinclude/vorbis/book/res0_128a_350_4.vqh
 Xinclude/vorbis/book/res0_128a_350_5.vqh
 Xinclude/vorbis/book/resaux0_1024a_128.vqh
 Xinclude/vorbis/book/resaux0_1024a_160.vqh
 Xinclude/vorbis/book/resaux0_1024a_192.vqh
 Xinclude/vorbis/book/resaux0_1024a_256.vqh
 Xinclude/vorbis/book/resaux0_1024a_350.vqh
 Xinclude/vorbis/book/resaux0_128a_128.vqh
 Xinclude/vorbis/book/resaux0_128a_160.vqh
 Xinclude/vorbis/book/resaux0_128a_192.vqh
 Xinclude/vorbis/book/resaux0_128a_256.vqh
 Xinclude/vorbis/book/resaux0_128a_350.vqh
 Xinclude/vorbis/codebook.h
 Xinclude/vorbis/codec.h
 Xinclude/vorbis/internal.h
 Xinclude/vorbis/mode_A.h
 Xinclude/vorbis/mode_B.h
 Xinclude/vorbis/mode_C.h
 Xinclude/vorbis/mode_D.h
 Xinclude/vorbis/mode_E.h
 Xinclude/vorbis/modes.h
 Xinclude/vorbis/os_types.h
 Xinclude/vorbis/vorbisfile.h
 Xlib/libvorbis.a
 Xshare/doc/vorbis/framing.html
 Xshare/doc/vorbis/oggstream.html
 Xshare/doc/vorbis/programming.html
 Xshare/doc/vorbis/stream.png
 Xshare/doc/vorbis/v-comment.html
 Xshare/doc/vorbis/vorbis.html
 Xshare/doc/vorbis/vorbisword2.png
 Xshare/doc/vorbis/wait.png
 Xshare/doc/vorbis/white-ogg.png
 Xshare/doc/vorbis/white-xifish.png
 X@dirrm include/vorbis/book
 X@dirrm include/vorbis
 X@dirrm share/doc/vorbis
 END-of-vorbis-lib/pkg/PLIST
 echo x - vorbis/Makefile
 sed 's/^X//' >vorbis/Makefile << 'END-of-vorbis/Makefile'
 X# New ports collection makefile for:	vorbis
 X# Date created:				22 August 2000
 X# Whom:					t.vanklaveren@student.utwente.nl
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	vorbis
 XPORTVERSION=	20000821
 XCATEGORIES=	audio
 XMASTER_SITES=	http://home.student.utwente.nl/t.vanklaveren/distfiles/
 X
 XMAINTAINER=	t.vanklaveren@student.utwente.nl
 X
 XUSE_AUTOCONF=	yes
 XGNU_CONFIGURE=	yes
 XWRKSRC=		${WRKDIR}/vorbis
 X
 Xdo-install:
 X	(cd ${WRKSRC}/vorbis-tools; \
 X	 ${INSTALL_PROGRAM} ogg123 oggenc vorbiscomment vorbize ${PREFIX}/bin;\
 X	 ${INSTALL_SCRIPT} mp3tovorbis ${PREFIX}/bin;\
 X	 ${INSTALL_MAN} ogg123.1 oggenc.1 vorbize.1 ${PREFIX}/man/man1)
 X
 X.if !defined(MASTERDIR)
 XMAN1=	ogg123.1 vorbize.1 oggenc.1
 X.endif
 X
 X.include <bsd.port.mk>
 END-of-vorbis/Makefile
 echo c - vorbis/files
 mkdir -p vorbis/files > /dev/null 2>&1
 echo x - vorbis/files/md5
 sed 's/^X//' >vorbis/files/md5 << 'END-of-vorbis/files/md5'
 XMD5 (vorbis-20000821.tar.gz) = f7172940059c421367095db97dcf6a0b
 END-of-vorbis/files/md5
 echo c - vorbis/patches
 mkdir -p vorbis/patches > /dev/null 2>&1
 echo x - vorbis/patches/patch-Makefile.in
 sed 's/^X//' >vorbis/patches/patch-Makefile.in << 'END-of-vorbis/patches/patch-Makefile.in'
 XEdit this file if you want extra binaries.
 XCurrently only builds libs and tools.
 X
 X--- Makefile.in.orig	Sat Jul  1 03:18:48 2000
 X+++ Makefile.in	Tue Jul 25 10:50:14 2000
 X@@ -17,7 +17,7 @@
 X 
 X @SET_MAKE@
 X 
 X-SUBDIRS =	lib examples # vorbis-tools cmdline xmms vq huff kmpg
 X+SUBDIRS =	lib vorbis-tools # examples vq cmdline xmms huff kmpg
 X 
 X all debug profile selftest target clean:
 X 	echo $(MAKECMDGOALS)
 END-of-vorbis/patches/patch-Makefile.in
 echo x - vorbis/patches/patch-configure.in
 sed 's/^X//' >vorbis/patches/patch-configure.in << 'END-of-vorbis/patches/patch-configure.in'
 XDon't skip sanity check if $CC is set.
 XDon't override optimize flag.
 X-ffast-math improves performance great.
 X
 X--- configure.in.orig	Wed Aug 16 01:06:34 2000
 X+++ configure.in	Mon Aug 21 20:00:16 2000
 X@@ -25,9 +25,8 @@
 X 
 X esac
 X 
 X-if test -z "$CC"; then
 X-	AC_PROG_CC	
 X-fi
 X+AC_PROG_CC	
 X+
 X AC_PROG_CPP
 X AC_PROG_RANLIB
 X AC_CHECK_PROG(AR,ar,ar)
 X@@ -111,14 +110,14 @@
 X 		PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
 X 	*)
 X 		DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
 X-		OPT="-O20 -D__NO_MATH_INLINES -fsigned-char"
 X+		OPT="-ffast-math -D__NO_MATH_INLINES -fsigned-char"
 X 		PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
 X         esac
 X fi
 X 
 X AC_HEADER_STDC
 X 
 X-CFLAGS=""
 X+#CFLAGS=""
 X 
 X dnl AC_PATH_X
 X dnl AC_PATH_XTRA
 END-of-vorbis/patches/patch-configure.in
 echo x - vorbis/patches/patch-mp3tovorbis
 sed 's/^X//' >vorbis/patches/patch-mp3tovorbis << 'END-of-vorbis/patches/patch-mp3tovorbis'
 Xtypo fix.
 X
 X--- vorbis-tools/mp3tovorbis.orig	Thu Jun 15 08:07:47 2000
 X+++ vorbis-tools/mp3tovorbis	Mon Aug 21 18:34:41 2000
 X@@ -1,4 +1,4 @@
 X-#!/bin/bash
 X+#!/bin/sh
 X 
 X if [ $# -ne 2 ]; then
 X 	echo "Usage:"
 X@@ -40,7 +40,7 @@
 X fi
 X 
 X echo "Encoding Ogg Vorbis stream using Vorbize..."
 X-$VORBIZE -w "$2" --artist "$ARTIST" --album "$ALBUM" --track "$TRACK" "$TEMPFILE"
 X+$VORBIZE -w "$2" --artist "$ARTIST" --album "$ALBUM" --title "$TRACK" "$TEMPFILE"
 X 
 X if [ $? -ne 0 ]; then
 X 	echo "Error running Vorbize. Leaving temporary file $TEMPFILE."
 END-of-vorbis/patches/patch-mp3tovorbis
 echo x - vorbis/patches/patch-ogg123.c
 sed 's/^X//' >vorbis/patches/patch-ogg123.c << 'END-of-vorbis/patches/patch-ogg123.c'
 Xsys/types.h should be included prior to sys/socket.h (at least for FreeBSD).
 XI don't know what is this comment and what happens in other plathome.
 X
 X--- vorbis-tools/ogg123.c.orig	Fri Aug 11 02:35:00 2000
 X+++ vorbis-tools/ogg123.c	Mon Aug 14 03:28:30 2000
 X@@ -27,8 +27,8 @@
 X #include <stdio.h>
 X #include <stdlib.h>
 X #include <string.h>
 X-#include <sys/socket.h> /* !!! */
 X #include <sys/types.h>
 X+#include <sys/socket.h> /* !!! */
 X #include <unistd.h>
 X #include <netdb.h>
 X #include <netinet/in.h>
 END-of-vorbis/patches/patch-ogg123.c
 echo x - vorbis/patches/patch-vorbis-tools.Makefile.in
 sed 's/^X//' >vorbis/patches/patch-vorbis-tools.Makefile.in << 'END-of-vorbis/patches/patch-vorbis-tools.Makefile.in'
 XLink getopt included in this directory.
 X
 X--- vorbis-tools/Makefile.in.orig	Thu Aug 17 03:27:07 2000
 X+++ vorbis-tools/Makefile.in	Mon Aug 21 18:49:27 2000
 X@@ -44,14 +44,15 @@
 X 
 X target: libao vorbize ogg123 vorbiscomment oggenc
 X 
 X-ogg123: ogg123.o libao/libao.a 
 X-	$(CC) $(CFLAGS) ogg123.o -o ogg123 $(LIBS) libao/libao.a
 X+ogg123: ogg123.o getopt.o getopt1.o libao/libao.a 
 X+	$(CC) $(CFLAGS) ogg123.o getopt.o getopt1.o\
 X+		-o ogg123 $(LIBS) libao/libao.a
 X 
 X vorbiscomment: vorbiscomment.o
 X 	$(CC) $(CFLAGS) vorbiscomment.o -o vorbiscomment $(LIBS)
 X 
 X-vorbize: vorbize.o
 X-	$(CC) $(CFLAGS) vorbize.o -o \
 X+vorbize: vorbize.o getopt.o getopt1.o
 X+	$(CC) $(CFLAGS) vorbize.o getopt.o getopt1.o -o \
 X 			vorbize $(LIBS)
 X oggenc: oggenc.o encode.o audio.o getopt.o getopt1.o
 X 	$(CC) $(CFLAGS) oggenc.o encode.o audio.o getopt.o getopt1.o -o oggenc $(LIBS)
 END-of-vorbis/patches/patch-vorbis-tools.Makefile.in
 echo x - vorbis/patches/patch-vq.Makefile.in
 sed 's/^X//' >vorbis/patches/patch-vq.Makefile.in << 'END-of-vorbis/patches/patch-vq.Makefile.in'
 XTo nuke GNU make'ism.
 XThis directory will not be built by default due to VQ is for vorbis developer.
 X
 X--- vq/Makefile.in.orig	Wed Jul 19 07:08:55 2000
 X+++ vq/Makefile.in	Thu Aug 17 05:16:33 2000
 X@@ -31,6 +31,8 @@
 X ALLOFILES = 	$(OFILES) lspdata.o genericdata.o train.o build.o run.o\
 X 		cascade.o partition.o metrics.o residuedata.o latticebuild.o\
 X 		latticepare.o latticehint.o latticetune.o
 X+PROGS=		lspvqtrain genericvqtrain residuevqtrain vqbuild vqcascade\
 X+		vqmetrics latticebuild latticepare latticehint latticetune
 X 
 X all:
 X 	$(MAKE) target CFLAGS="$(OPT)"
 X@@ -41,43 +43,35 @@
 X profile: 
 X 	$(MAKE) target CFLAGS="$(PROFILE)"
 X 
 X-target:	lspvqtrain genericvqtrain residuevqtrain vqbuild vqcascade vqmetrics latticebuild latticepare latticehint latticetune
 X+target:	$(PROGS)
 X 
 X lspvqtrain:	$(OFILES) lspdata.o train.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X 
 X residuevqtrain:	$(OFILES) residuedata.o train.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X 
 X genericvqtrain:	$(OFILES) genericdata.o train.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X 
 X vqbuild:	$(OFILES) build.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X 
 X vqcascade:	$(OFILES) run.o cascade.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X 
 X vqmetrics:	$(OFILES) run.o metrics.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X 
 X latticebuild:	$(OFILES) latticebuild.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X 
 X latticehint:	$(OFILES) latticehint.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X 
 X latticepare:	$(OFILES) latticepare.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X 
 X latticetune:	$(OFILES) latticetune.o
 X-	$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
 X-
 X 
 X $(ALLOFILES): 	$(HFILES)
 X 
 X .c.o:
 X 	$(CC) $(CFLAGS) -c $<
 X+
 X+$(PROGS):
 X+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $> $(LIBS)
 X 
 X $(OFILES):	$(HFILES)
 X 
 END-of-vorbis/patches/patch-vq.Makefile.in
 echo x - vorbis/patches/patch-xmms.Makefile.in
 sed 's/^X//' >vorbis/patches/patch-xmms.Makefile.in << 'END-of-vorbis/patches/patch-xmms.Makefile.in'
 XTo make compilable XMMS plugin.
 XThis patch should be feedbacked to vorbis repository.
 X
 X--- xmms/Makefile.in.orig	Tue Jun 20 15:54:57 2000
 X+++ xmms/Makefile.in	Sun Jun 25 19:29:25 2000
 X@@ -7,7 +7,7 @@
 X # (unless, of course, you know what you are doing :) ##########################
 X 
 X @SET_MAKE@
 X-FLAGS=-I. -I../include @CFLAGS@ `gtk-config --cflags` -fPIC -Dvorbis_size32_t='@SIZE32@'
 X+FLAGS=-I. -I../include @CFLAGS@ `$(GTK_CONFIG) --cflags` -fPIC -Dvorbis_size32_t='@SIZE32@'
 X OPT=@OPT@ $(FLAGS)
 X DEBUG=@DEBUG@ $(FLAGS)
 X PROFILE=@PROFILE@ $(FLAGS)
 X@@ -16,7 +16,8 @@
 X LDFLAGS=@LDFLAGS@ $(FLAGS) -shared
 X AR=@AR@
 X RANLIB=@RANLIB@
 X-LIBS=@LIBS@ -lpthread
 X+GTK_LIBS!=	$(GTK_CONFIG) --libs gthread
 X+LIBS=@LIBS@ $(GTK_LIBS)
 X 
 X OFILES=		vorbis.o
 X TARGET=		libvorbis.so
 END-of-vorbis/patches/patch-xmms.Makefile.in
 echo c - vorbis/pkg
 mkdir -p vorbis/pkg > /dev/null 2>&1
 echo x - vorbis/pkg/COMMENT
 sed 's/^X//' >vorbis/pkg/COMMENT << 'END-of-vorbis/pkg/COMMENT'
 XOgg Vorbis audio codec encoder/decoder
 END-of-vorbis/pkg/COMMENT
 echo x - vorbis/pkg/DESCR
 sed 's/^X//' >vorbis/pkg/DESCR << 'END-of-vorbis/pkg/DESCR'
 XVorbis is a general purpose audio and music encoding format
 Xcontemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
 XMPEG audio layer 3. Unlike the MPEG sponsored formats (and other
 Xproprietary formats such as RealAudio G2 and Windows' flavor of the
 Xmonth), the Vorbis CODEC specification belongs to the public domain.
 XAll the technical details are published and documented, and any
 Xsoftware entity may make full use of the format without royalty or
 Xpatent concerns.
 X
 XThis package contains vorbis encoder/decoder.
 X
 XWWW: http://www.vorbis.com
 X
 X- Theo van Klaveren
 Xt.vanklaveren@student.utwente.nl
 END-of-vorbis/pkg/DESCR
 echo x - vorbis/pkg/PLIST
 sed 's/^X//' >vorbis/pkg/PLIST << 'END-of-vorbis/pkg/PLIST'
 Xbin/mp3tovorbis
 Xbin/ogg123
 Xbin/oggenc
 Xbin/vorbiscomment
 Xbin/vorbize
 END-of-vorbis/pkg/PLIST
 echo c - xmms-vorbis
 mkdir -p xmms-vorbis > /dev/null 2>&1
 echo x - xmms-vorbis/Makefile
 sed 's/^X//' >xmms-vorbis/Makefile << 'END-of-xmms-vorbis/Makefile'
 X# New ports collection makefile for:	xmms-vorbis
 X# Date created:			20 Jun 2000
 X# Whom:				FUJISHIMA Satsuki <k5@cheerful.com>
 X#
 X# $FreeBSD$
 X#
 X
 XMASTERDIR=	${.CURDIR}/../vorbis
 X
 XPKGNAMEPREFIX=	xmms-
 X
 XRUN_DEPENDS=	xmms:${PORTSDIR}/audio/xmms
 X
 XUSE_X_PREFIX=	yes
 XGTK_CONFIG?=	${X11BASE}/bin/gtk12-config
 XMAKE_ENV=	"GTK_CONFIG=${GTK_CONFIG}"
 X
 XPLUGINDIR=	${PREFIX}/lib/xmms/Input
 XPKGDIR=		${.CURDIR}/pkg
 X
 Xdo-build:
 X.for DIRS in lib xmms
 X	(cd ${WRKSRC}/${DIRS}; ${SETENV} ${MAKE_ENV} ${MAKE})
 X.endfor
 X
 Xdo-install:
 X	${INSTALL_PROGRAM} ${WRKSRC}/xmms/libvorbis.so ${PLUGINDIR}
 X
 X.include <${MASTERDIR}/Makefile>
 END-of-xmms-vorbis/Makefile
 echo c - xmms-vorbis/pkg
 mkdir -p xmms-vorbis/pkg > /dev/null 2>&1
 echo x - xmms-vorbis/pkg/COMMENT
 sed 's/^X//' >xmms-vorbis/pkg/COMMENT << 'END-of-xmms-vorbis/pkg/COMMENT'
 XOgg Vorbis plugin for xmms
 END-of-xmms-vorbis/pkg/COMMENT
 echo x - xmms-vorbis/pkg/DESCR
 sed 's/^X//' >xmms-vorbis/pkg/DESCR << 'END-of-xmms-vorbis/pkg/DESCR'
 XVorbis is a general purpose audio and music encoding format
 Xcontemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
 XMPEG audio layer 3. Unlike the MPEG sponsored formats (and other
 Xproprietary formats such as RealAudio G2 and Windows' flavor of the
 Xmonth), the Vorbis CODEC specification belongs to the public domain.
 XAll the technical details are published and documented, and any
 Xsoftware entity may make full use of the format without royalty or
 Xpatent concerns.
 X
 XThis package contains vorbis decode plugin for xmms.
 X
 XWWW: http://www.vorbis.com
 XWWW: http://www.xmms.org
 X
 X- Theo van Klaveren
 Xt.vanklaveren@student.utwente.nl
 END-of-xmms-vorbis/pkg/DESCR
 echo x - xmms-vorbis/pkg/PLIST
 sed 's/^X//' >xmms-vorbis/pkg/PLIST << 'END-of-xmms-vorbis/pkg/PLIST'
 Xlib/xmms/Input/libvorbis.so
 END-of-xmms-vorbis/pkg/PLIST
 exit
 
 
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Fri Sep 15 22:05:11 PDT 2000 
State-Changed-Why:  
Committed, thanks for your work!! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20766 
>Unformatted:
