summaryrefslogtreecommitdiffstats
path: root/audio/vorbis
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-09-16 05:04:50 +0000
committerwill <will@FreeBSD.org>2000-09-16 05:04:50 +0000
commita3fd0f668cf53db537b6f6441abeb6e0c284a45a (patch)
tree447750d2f047e2a035f035eb8bb103757826b2da /audio/vorbis
parent2e9758a035d53a4fee2820f27361675d8c32b6a7 (diff)
downloadFreeBSD-ports-a3fd0f668cf53db537b6f6441abeb6e0c284a45a.zip
FreeBSD-ports-a3fd0f668cf53db537b6f6441abeb6e0c284a45a.tar.gz
Add vorbis date 20000821, featuring an encoder, player, various shell
scripts and an XMMS plugin. The guy who wrote this code is on crack so Theo had to build his own distfile (I know because I tried to port this myself..). PR: 20766 Submitted by: Theo van Klaveren <t.vanklaveren@student.utwente.nl>
Diffstat (limited to 'audio/vorbis')
-rw-r--r--audio/vorbis/Makefile54
-rw-r--r--audio/vorbis/pkg-comment1
-rw-r--r--audio/vorbis/pkg-descr19
3 files changed, 74 insertions, 0 deletions
diff --git a/audio/vorbis/Makefile b/audio/vorbis/Makefile
new file mode 100644
index 0000000..779decd
--- /dev/null
+++ b/audio/vorbis/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: vorbis
+# Date created: 22 August 2000
+# Whom: t.vanklaveren@student.utwente.nl
+#
+# $FreeBSD$
+#
+
+PORTNAME= vorbis
+PORTVERSION= 20000821
+CATEGORIES= audio
+MASTER_SITES= http://home.student.utwente.nl/t.vanklaveren/distfiles/
+
+MAINTAINER= t.vanklaveren@student.utwente.nl
+
+LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
+ xmms.1:${PORTSDIR}/audio/xmms
+RUN_DEPENDS= ${X11BASE}/bin/xmms:${PORTSDIR}/audio/xmms
+
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+# Vorbis doesn't depend on X, but it's needed for the XMMS plugin :-(
+USE_X_PREFIX= yes
+USE_AUTOCONF= yes
+GNU_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/vorbis
+
+post-build:
+ cd ${WRKSRC}/vorbis-tools/libao && ${SETENV} ${MAKE_ENV} ${MAKE}
+ cd ${WRKSRC}/vorbis-tools && ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}
+ cd ${WRKSRC}/xmms && ${SETENV} ${MAKE_ENV} ${MAKE} GLIB_CONFIG=${GLIB_CONFIG} GTK_CONFIG=${GTK_CONFIG} target
+do-install:
+# Install all vorbis libraries and headers by hand. There is no target for it.
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/libvorbis.a ${PREFIX}/lib/
+ ${INSTALL_PROGRAM} ${WRKSRC}/lib/vorbisfile.a ${PREFIX}/lib/
+# Install all vorbis-tools by hand. The Makefile sucks and is beyond hope.
+ ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/vorbize ${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/vorbis-tools/mp3tovorbis ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/ogg123 ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/vorbiscomment ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/vorbis-tools/oggenc ${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/vorbis-tools/ogg123.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/vorbis-tools/vorbize.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/vorbis-tools/oggenc.1 ${PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/xmms/libvorbis.so ${PREFIX}/lib/xmms/Input/
+# And finally, the header files
+ ${MKDIR} ${PREFIX}/include/vorbis
+ ${MKDIR} ${PREFIX}/include/vorbis/book
+ ${INSTALL_DATA} ${WRKSRC}/include/vorbis/*.h ${PREFIX}/include/vorbis/
+ ${INSTALL_DATA} ${WRKSRC}/include/vorbis/book/*.vqh ${PREFIX}/include/vorbis/book/
+
+MAN1= ogg123.1 vorbize.1 oggenc.1
+
+.include <bsd.port.mk>
diff --git a/audio/vorbis/pkg-comment b/audio/vorbis/pkg-comment
new file mode 100644
index 0000000..a92422a
--- /dev/null
+++ b/audio/vorbis/pkg-comment
@@ -0,0 +1 @@
+MP3-comparable audio compression codec and tools
diff --git a/audio/vorbis/pkg-descr b/audio/vorbis/pkg-descr
new file mode 100644
index 0000000..5829373
--- /dev/null
+++ b/audio/vorbis/pkg-descr
@@ -0,0 +1,19 @@
+Vorbis is a general purpose audio and music encoding format
+contemporary to MPEG-4's AAC and TwinVQ, the next generation beyond
+MPEG audio layer 3. Unlike the MPEG sponsored formats (and other
+proprietary formats such as RealAudio G2 and Windows' flavor of the
+month), the Vorbis CODEC specification belongs to the public domain.
+All the technical details are published and documented, and any
+software entity may make full use of the format without royalty or
+patent concerns.
+
+This package contains libvorbis, an LGPLed software implementation of
+the Vorbis specification by the Xiphophorus company
+(http://www.xiph.org/), vorbisfile, an LGPLed convenience library
+built on Vorbis designed to simplify common uses and a number of GPL
+example programs, utilities and player plugins.
+
+WWW: http://www.vorbis.com
+
+- Theo van Klaveren
+t.vanklaveren@student.utwente.nl
OpenPOWER on IntegriCloud