aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorGary Palmer <gpalmer@FreeBSD.org>1996-07-06 09:27:11 +0000
committerGary Palmer <gpalmer@FreeBSD.org>1996-07-06 09:27:11 +0000
commit7db9ec792f8ab3ccfd58a64555afce638002b6d4 (patch)
treed72656715a1b46dff492838d7589bb7bee4d231b /audio
parentdb9accdbb644dd8401fe48af4bc2572dd8a3b718 (diff)
downloadports-7db9ec792f8ab3ccfd58a64555afce638002b6d4.tar.gz
ports-7db9ec792f8ab3ccfd58a64555afce638002b6d4.zip
MPEG/audio Layer 1 and Layer 2 encoder/decoder
Submitted by: torstenb
Notes
Notes: svn path=/head/; revision=3316
Diffstat (limited to 'audio')
-rw-r--r--audio/mpegaudio/Makefile16
-rw-r--r--audio/mpegaudio/distinfo1
-rw-r--r--audio/mpegaudio/files/patch-aa37
-rw-r--r--audio/mpegaudio/files/patch-ab19
-rw-r--r--audio/mpegaudio/pkg-comment1
-rw-r--r--audio/mpegaudio/pkg-descr1
-rw-r--r--audio/mpegaudio/pkg-plist23
7 files changed, 98 insertions, 0 deletions
diff --git a/audio/mpegaudio/Makefile b/audio/mpegaudio/Makefile
new file mode 100644
index 000000000000..41737fb79499
--- /dev/null
+++ b/audio/mpegaudio/Makefile
@@ -0,0 +1,16 @@
+# New ports collection makefile for: mpegaudio
+# Date created: 1 July 1996
+# Whom: torstenb
+#
+# $Id$
+#
+
+DISTNAME= mpegaudio
+PKGNAME= mpegaudio-3.9
+CATEGORIES+= audio
+MASTER_SITES= ftp://ftp.iuma.com/audio_utils/converters/source/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= torstenb@FreeBSD.ORG
+
+.include <bsd.port.mk>
diff --git a/audio/mpegaudio/distinfo b/audio/mpegaudio/distinfo
new file mode 100644
index 000000000000..9169309e14ec
--- /dev/null
+++ b/audio/mpegaudio/distinfo
@@ -0,0 +1 @@
+MD5 (mpegaudio.tar.Z) = 7df5c3fdef022275902e35ff3f473035
diff --git a/audio/mpegaudio/files/patch-aa b/audio/mpegaudio/files/patch-aa
new file mode 100644
index 000000000000..614f889250b1
--- /dev/null
+++ b/audio/mpegaudio/files/patch-aa
@@ -0,0 +1,37 @@
+*** Makefile.orig Wed Jan 5 02:47:50 1994
+--- Makefile Mon Jul 1 23:16:53 1996
+***************
+*** 1,10 ****
+ ALL : musicin musicout
+
+! CFLAGS = -O2
+! LDFLAGS=
+
+ musicin: musicin.o common.o encode.o subs.o psy.o tonal.o
+! cc $(LDFLAGS) -o musicin musicin.o common.o encode.o subs.o psy.o tonal.o -lm
+
+ musicout: musicout.o common.o decode.o subs.o
+! cc $(LDFLAGS) musicout.o common.o decode.o subs.o -o musicout -lm
+--- 1,22 ----
+ ALL : musicin musicout
+
+! CFLAGS += -DPREFIX=\"${PREFIX}\"
+!
+! all: musicin musicout
+
+ musicin: musicin.o common.o encode.o subs.o psy.o tonal.o
+! cc -o musicin musicin.o common.o encode.o subs.o psy.o tonal.o -lm
+
+ musicout: musicout.o common.o decode.o subs.o
+! cc musicout.o common.o decode.o subs.o -o musicout -lm
+!
+! clean:
+! rm -f *.core *.o musicin musicout
+!
+! install:
+! install -c -m 0755 -o bin -g bin musicin ${PREFIX}/bin/mpeg_musicin
+! install -c -m 0755 -o bin -g bin musicout ${PREFIX}/bin/mpeg_musicout
+! mkdir -m 0755 -p ${PREFIX}/lib/mpegaudio/tables
+! install -c -m 0644 -o bin -g bin tables/* \
+! ${PREFIX}/lib/mpegaudio/tables/
+!
diff --git a/audio/mpegaudio/files/patch-ab b/audio/mpegaudio/files/patch-ab
new file mode 100644
index 000000000000..264c6329ac39
--- /dev/null
+++ b/audio/mpegaudio/files/patch-ab
@@ -0,0 +1,19 @@
+*** common.h.orig Mon Jul 1 23:00:51 1996
+--- common.h Mon Jul 1 23:04:47 1996
+***************
+*** 73,79 ****
+ #endif
+
+ #ifdef UNIX
+! #define TABLES_PATH "tables" /* to find data files */
+ /* name of environment variable holding path of table files */
+ #define MPEGTABENV "MPEGTABLES"
+ #define PATH_SEPARATOR "/" /* how to build paths */
+--- 73,79 ----
+ #endif
+
+ #ifdef UNIX
+! #define TABLES_PATH PREFIX "/lib/mpegaudio/tables" /* to find data files */
+ /* name of environment variable holding path of table files */
+ #define MPEGTABENV "MPEGTABLES"
+ #define PATH_SEPARATOR "/" /* how to build paths */
diff --git a/audio/mpegaudio/pkg-comment b/audio/mpegaudio/pkg-comment
new file mode 100644
index 000000000000..98e19be0a371
--- /dev/null
+++ b/audio/mpegaudio/pkg-comment
@@ -0,0 +1 @@
+mpegaudio is an MPEG/audio Layer 1 and Layer 2 encoder/decoder package
diff --git a/audio/mpegaudio/pkg-descr b/audio/mpegaudio/pkg-descr
new file mode 100644
index 000000000000..15ce5d750007
--- /dev/null
+++ b/audio/mpegaudio/pkg-descr
@@ -0,0 +1 @@
+mpegaudio is an MPEG/audio Layer 1 and Layer 2 software package
diff --git a/audio/mpegaudio/pkg-plist b/audio/mpegaudio/pkg-plist
new file mode 100644
index 000000000000..8525a9efa3af
--- /dev/null
+++ b/audio/mpegaudio/pkg-plist
@@ -0,0 +1,23 @@
+bin/mpeg_musicin
+bin/mpeg_musicout
+lib/mpegaudio/tables/1cb0
+lib/mpegaudio/tables/1cb1
+lib/mpegaudio/tables/1cb2
+lib/mpegaudio/tables/1th0
+lib/mpegaudio/tables/1th1
+lib/mpegaudio/tables/1th2
+lib/mpegaudio/tables/2cb0
+lib/mpegaudio/tables/2cb1
+lib/mpegaudio/tables/2cb2
+lib/mpegaudio/tables/2th0
+lib/mpegaudio/tables/2th1
+lib/mpegaudio/tables/2th2
+lib/mpegaudio/tables/absthr_0
+lib/mpegaudio/tables/absthr_1
+lib/mpegaudio/tables/absthr_2
+lib/mpegaudio/tables/alloc_0
+lib/mpegaudio/tables/alloc_1
+lib/mpegaudio/tables/alloc_2
+lib/mpegaudio/tables/alloc_3
+lib/mpegaudio/tables/dewindow
+lib/mpegaudio/tables/enwindow