Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2000 00:06:59 +0200 (CEST)
From:      t.vanklaveren@student.utwente.nl
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22095: New FreeBSD port: vorbis-tools
Message-ID:  <20001018220659.6A432315@phoenix.student.utwente.nl>

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

>Number:         22095
>Category:       ports
>Synopsis:       New FreeBSD port: vorbis-tools
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 18 15:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Theo van Klaveren
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
>Environment:
FreeBSD phoenix.student.utwente.nl 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Wed Oct 18 13:04:20 CEST 2000     havoc@phoenix.student.utwente.nl:/usr/obj/usr/src/sys/PHOENIX  i386
>Description:
New Vorbis snapshot.
Tools to encode, play and tag Vorbis files.
>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-tools
#	vorbis-tools/Makefile
#	vorbis-tools/distinfo
#	vorbis-tools/files
#	vorbis-tools/files/patch-aa
#	vorbis-tools/pkg-comment
#	vorbis-tools/pkg-descr
#	vorbis-tools/pkg-plist
#
echo c - vorbis-tools
mkdir -p vorbis-tools > /dev/null 2>&1
echo x - vorbis-tools/Makefile
sed 's/^X//' >vorbis-tools/Makefile << 'END-of-vorbis-tools/Makefile'
X# New ports collection makefile for:	vorbis-tools
X# Date created:				18 October 2000
X# Whom:					t.vanklaveren@student.utwente.nl
X#
X# $FreeBSD$
X#
X
XPORTNAME=	vorbis-tools
XPORTVERSION=	20001018
XCATEGORIES=	audio
XMASTER_SITES=	http://home.student.utwente.nl/t.vanklaveren/distfiles/
XDISTFILES=	vorbis-tools-${PORTVERSION}${EXTRACT_SUFX}
XWRKSRC=		${WRKDIR}/vorbis-tools
X
XMAINTAINER=	t.vanklaveren@student.utwente.nl
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_LIBTOOL=	yes
X
XLIB_DEPENDS=	ao.0:${PORTSDIR}/audio/libao \
X		ogg.0:${PORTSDIR}/audio/libogg \
X		vorbis.0:${PORTSDIR}/audio/libvorbis
X
XACLOCAL?=	${LOCALBASE}/bin/aclocal
XAUTOHEADER?=	${LOCALBASE}/bin/autoheader
XCFLAGS+=	-I${LOCALBASE}/include
XCONFIGURE_ARGS+=	--with-ogg=${LOCALBASE} \
X			--with-ao=${LOCALBASE}
X
XMAN1=		ogg123.1
X
Xpost-build:
X# This is probably evil, and should be in a Makefile.
X	cd ${WRKSRC}/oggenc && ${CC} ${CFLAGS} -c getopt1.c
X	cd ${WRKSRC}/ogg123 && ${CC} ${CFLAGS} -c ogg123.c -I${LOCALBASE}/include 
X	cd ${WRKSRC}/ogg123 && ${CC} ${LDFLAGS} -o ogg123 ogg123.o ../oggenc/getopt.o ../oggenc/getopt1.o -L${LOCALBASE}/lib -logg -lvorbis -lao -lvorbisfile
X
Xpost-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/ogg123/ogg123 ${PREFIX}/bin/
X	${INSTALL_MAN} ${WRKSRC}/ogg123/ogg123.1 ${PREFIX}/man/man1/
X
Xpost-patch:
X	cd ${WRKSRC} && ${ACLOCAL}
X	cd ${WRKSRC} && ${AUTOHEADER}
X	cd ${WRKSRC} && ${AUTOMAKE} --add-missing
X	cd ${WRKSRC} && ${AUTOCONF}
X
X.include <bsd.port.mk>
END-of-vorbis-tools/Makefile
echo x - vorbis-tools/distinfo
sed 's/^X//' >vorbis-tools/distinfo << 'END-of-vorbis-tools/distinfo'
XMD5 (vorbis-tools-20001018.tar.gz) = 20d4a7aa7c7598538fbf4cb2771bd45f
END-of-vorbis-tools/distinfo
echo c - vorbis-tools/files
mkdir -p vorbis-tools/files > /dev/null 2>&1
echo x - vorbis-tools/files/patch-aa
sed 's/^X//' >vorbis-tools/files/patch-aa << 'END-of-vorbis-tools/files/patch-aa'
X--- ogg123/ogg123.c.orig	Wed Oct 11 06:19:51 2000
X+++ ogg123/ogg123.c	Wed Oct 18 23:02:20 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-tools/files/patch-aa
echo x - vorbis-tools/pkg-comment
sed 's/^X//' >vorbis-tools/pkg-comment << 'END-of-vorbis-tools/pkg-comment'
XMP3-comparable audio compression codec library
END-of-vorbis-tools/pkg-comment
echo x - vorbis-tools/pkg-descr
sed 's/^X//' >vorbis-tools/pkg-descr << 'END-of-vorbis-tools/pkg-descr'
XVorbis is a general purpose audio and music encoding format contemporary to
XMPEG-4's AAC and TwinVQ, the next generation beyond MPEG audio layer 3. Unlike
Xthe MPEG sponsored formats (and other proprietary formats such as RealAudio G2
Xand Windows' flavor of the month), the Vorbis CODEC specification belongs to
Xthe public domain.  All the technical details are published and documented, and
Xany software entity may make full use of the format without royalty or patent
Xconcerns.
X
XThis package contains utilities to encode and decode vorbis streams, and to
Xadd comments to them.
X
XWWW: http://www.vorbis.com
X
X- Theo van Klaveren
Xt.vanklaveren@student.utwente.nl
END-of-vorbis-tools/pkg-descr
echo x - vorbis-tools/pkg-plist
sed 's/^X//' >vorbis-tools/pkg-plist << 'END-of-vorbis-tools/pkg-plist'
Xbin/ogg123
Xbin/oggenc
Xbin/vorbiscomment
END-of-vorbis-tools/pkg-plist
exit


>Release-Note:
>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?20001018220659.6A432315>