aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/Makefile1
-rw-r--r--audio/flac/Makefile39
-rw-r--r--audio/flac/distinfo1
-rw-r--r--audio/flac/files/patch-configure.in10
-rw-r--r--audio/flac/pkg-comment1
-rw-r--r--audio/flac/pkg-descr24
-rw-r--r--audio/flac/pkg-plist19
7 files changed, 95 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index c9f34ecec7b8..33cf2aac443d 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -50,6 +50,7 @@
SUBDIR += festvox-rab16
SUBDIR += festvox-rab8
SUBDIR += festvox-tll
+ SUBDIR += flac
SUBDIR += freeamp
SUBDIR += gdcd
SUBDIR += gdrdao
diff --git a/audio/flac/Makefile b/audio/flac/Makefile
new file mode 100644
index 000000000000..16d547f4bece
--- /dev/null
+++ b/audio/flac/Makefile
@@ -0,0 +1,39 @@
+# ex:ts=8
+# New ports collection makefile for: flac
+# Date created: Mar 18, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flac
+PORTVERSION= 0.8
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= ijliao@FreeBSD.org
+
+.if defined(WITH_XMMS)
+BUILD_DEPENDS+= xmms-config:${PORTSDIR}/audio/xmms
+LIB_DEPENDS+= xmms.1:${PORTSDIR}/audio/xmms
+.endif
+
+USE_LIBTOOL= yes
+USE_AUTOMAKE= yes
+USE_AUTOCONF= yes
+GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+USE_GMAKE= yes
+
+INSTALLS_SHLIB= yes
+
+post-install:
+.if !defined(NO_PORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/flac
+ ${CP} -R ${WRKSRC}/doc/ ${PREFIX}/share/doc/flac
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/flac/distinfo b/audio/flac/distinfo
new file mode 100644
index 000000000000..e53b5788cd37
--- /dev/null
+++ b/audio/flac/distinfo
@@ -0,0 +1 @@
+MD5 (flac-0.8-src.tar.gz) = dea10a5a180510d2cc76609e1510b9a0
diff --git a/audio/flac/files/patch-configure.in b/audio/flac/files/patch-configure.in
new file mode 100644
index 000000000000..8be93be25a0b
--- /dev/null
+++ b/audio/flac/files/patch-configure.in
@@ -0,0 +1,10 @@
+--- configure.in.orig Sun Mar 18 11:17:30 2001
++++ configure.in Sun Mar 18 11:17:44 2001
+@@ -33,6 +33,7 @@
+ src/Makefile \
+ src/libFLAC/Makefile \
+ src/flac/Makefile \
++ src/metaflac/Makefile \
+ src/plugin_xmms/Makefile \
+ src/test_streams/Makefile \
+ src/test_unit/Makefile \
diff --git a/audio/flac/pkg-comment b/audio/flac/pkg-comment
new file mode 100644
index 000000000000..3e9de609fd8c
--- /dev/null
+++ b/audio/flac/pkg-comment
@@ -0,0 +1 @@
+FLAC stands for Free Lossless Audio Codec
diff --git a/audio/flac/pkg-descr b/audio/flac/pkg-descr
new file mode 100644
index 000000000000..03576ee314da
--- /dev/null
+++ b/audio/flac/pkg-descr
@@ -0,0 +1,24 @@
+FLAC stands for Free Lossless Audio Codec. The FLAC project consists of:
+
+ - the stream format
+ - libFLAC, a library which implements a reference encoder, stream decoder,
+ and file decoder
+ - flac, which is a command-line wrapper around libFLAC to encode and
+ decode .flac files
+ - input plugins for various music players (Winamp, XMMS, and more in the
+ works)
+
+What FLAC is:
+ - FLAC is patent free
+ - FLAC is lossless
+ - FLAC is designed to compress audio data
+ - The compression capabilities of FLAC are extendable
+ - The currently implemented compression methods in the reference encoder
+ yield streams smaller than shorten
+ - FLAC is asymmetric in favor of decode speed
+ - FLAC is suitable for archiving
+ - FLAC is suitable for streaming
+ - FLAC supports fast sample-accurate seeking
+ - FLAC has an extendable metadata system
+
+WWW: http://flac.sourceforge.net/
diff --git a/audio/flac/pkg-plist b/audio/flac/pkg-plist
new file mode 100644
index 000000000000..b602eed5cf1b
--- /dev/null
+++ b/audio/flac/pkg-plist
@@ -0,0 +1,19 @@
+bin/flac
+bin/metaflac
+lib/libFLAC.a
+lib/libFLAC.so
+lib/libFLAC.so.0
+%%PORTDOCS%%share/doc/flac/comparison.html
+%%PORTDOCS%%share/doc/flac/developers.html
+%%PORTDOCS%%share/doc/flac/documentation.html
+%%PORTDOCS%%share/doc/flac/download.html
+%%PORTDOCS%%share/doc/flac/features.html
+%%PORTDOCS%%share/doc/flac/format.html
+%%PORTDOCS%%share/doc/flac/goals.html
+%%PORTDOCS%%share/doc/flac/id.html
+%%PORTDOCS%%share/doc/flac/index.html
+%%PORTDOCS%%share/doc/flac/news.html
+%%PORTDOCS%%share/doc/flac/images/logo.jpg
+%%PORTDOCS%%share/doc/flac/images/1x1.gif
+%%PORTDOCS%%@dirrm share/doc/flac/images
+%%PORTDOCS%%@dirrm share/doc/flac