summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1996-08-01 20:04:37 +0000
committerEric L. Hernes <erich@FreeBSD.org>1996-08-01 20:04:37 +0000
commit90e7bbad6fe05e0681815638c042eb19fea34614 (patch)
treeb540ffc85e5189a6d7ac09669ba9bef7e75218f4 /graphics
parentinclude stdlib.h in music{in|out}.c so that the atol()'s work (diff)
new port for UCB's MPEG-I encoder.
Notes
Notes: svn path=/head/; revision=3481
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mpeg_encode/Makefile17
-rw-r--r--graphics/mpeg_encode/distinfo1
-rw-r--r--graphics/mpeg_encode/files/patch-aa43
-rw-r--r--graphics/mpeg_encode/pkg-comment1
-rw-r--r--graphics/mpeg_encode/pkg-descr24
-rw-r--r--graphics/mpeg_encode/pkg-plist5
6 files changed, 91 insertions, 0 deletions
diff --git a/graphics/mpeg_encode/Makefile b/graphics/mpeg_encode/Makefile
new file mode 100644
index 000000000000..77fe2eb870d0
--- /dev/null
+++ b/graphics/mpeg_encode/Makefile
@@ -0,0 +1,17 @@
+# New ports collection makefile for: mpeg_encode
+# Version required: 1.5b
+# Date created:
+# Whom: erich@FreeBSD.org
+#
+# $Id$
+#
+
+DISTNAME= mpeg_encode-1.5b-src
+PKGNAME= mpeg_encode-1.5b
+CATEGORIES+= graphics
+MASTER_SITES= ftp://s2k-ftp.CS.Berkeley.EDU/pub/multimedia/mpeg/encode/
+WRKSRC= ${WRKDIR}/mpeg_encode
+
+MAINTAINER= erich@FreeBSD.org
+
+.include <bsd.port.mk>
diff --git a/graphics/mpeg_encode/distinfo b/graphics/mpeg_encode/distinfo
new file mode 100644
index 000000000000..0e6a1b2d972c
--- /dev/null
+++ b/graphics/mpeg_encode/distinfo
@@ -0,0 +1 @@
+MD5 (mpeg_encode-1.5b-src.tar.gz) = ff125fb82118efc7c852f0d26d5552c6
diff --git a/graphics/mpeg_encode/files/patch-aa b/graphics/mpeg_encode/files/patch-aa
new file mode 100644
index 000000000000..b626b85d037c
--- /dev/null
+++ b/graphics/mpeg_encode/files/patch-aa
@@ -0,0 +1,43 @@
+--- ./headers/libpnmrw.h~ Thu Aug 1 08:52:25 1996
++++ ./headers/libpnmrw.h Thu Aug 1 08:51:16 1996
+@@ -19,7 +19,12 @@
+ ** malloc.h at all. A sad situation. If you have compilation problems
+ ** that point here, feel free to tweak or remove these declarations.
+ */
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
++
+ #if !defined(sco) && !defined(sgi) && !defined(IRIX)
+ extern char* malloc();
+ #endif
+--- ./libpnmrw.c~ Thu Aug 1 08:52:14 1996
++++ ./libpnmrw.c Thu Aug 1 08:51:26 1996
+@@ -126,7 +126,9 @@
+ pm_perror( reason )
+ char* reason;
+ {
++#ifndef __FreeBSD__
+ extern char* sys_errlist[];
++#endif
+ extern int errno;
+ char* e;
+
+--- Makefile~ Wed Aug 16 17:16:56 1995
++++ Makefile Thu Aug 1 09:00:04 1996
+@@ -182,6 +182,13 @@
+
+ all: mpeg_encode
+
++install:
++ install -c mpeg_encode ${PREFIX}/bin
++ install -c -m 644 mpeg_encode.1 ${PREFIX}/man/man1
++ gzip -9nf ${PREFIX}/man/man1/mpeg_encode.1
++ mkdir -p ${PREFIX}/share/doc/mpeg_encode
++ install -c docs/users-guide.ps docs/template.param ${PREFIX}/share/doc/mpeg_encode
++
+ #########
+ # TESTS #
+ #########
diff --git a/graphics/mpeg_encode/pkg-comment b/graphics/mpeg_encode/pkg-comment
new file mode 100644
index 000000000000..ef6837ab779f
--- /dev/null
+++ b/graphics/mpeg_encode/pkg-comment
@@ -0,0 +1 @@
+UCB's MPEG-I video stream encoder
diff --git a/graphics/mpeg_encode/pkg-descr b/graphics/mpeg_encode/pkg-descr
new file mode 100644
index 000000000000..16f182aa4b1f
--- /dev/null
+++ b/graphics/mpeg_encode/pkg-descr
@@ -0,0 +1,24 @@
+From the README:
+
+ MPEG-1 Video Software Encoder
+ (Version 1.5; February 1, 1995)
+
+ Lawrence A. Rowe, Kevin Gong, Eugene Hung, Ketan Patel, Steve Smoot
+ and Dan Wallach
+ Computer Science Division-EECS, Univ. of Calif. at Berkeley
+
+ This directory contains the freely distributed Berkeley MPEG-1 Video
+ Encoder. The encoder implements the standard described in the ISO/IEC
+ International Standard 11172-2. The code has been compiled and tested
+ on the following platforms:
+
+ DECstation 5000 and Alpha
+ HP PA-RISC (HP/UX 9.X) (i.e., HP 9000/7XX and 9000/3XX)
+ SGI Indigo running IRIX 5.0.1
+ Sun Sparc (SunOS 4.X)
+
+This is *not* bug-free software. In particular, I've had problems using
+odd-sized input frames. Other than that, it works OK.
+
+eric.
+erich@FreeBSD.org
diff --git a/graphics/mpeg_encode/pkg-plist b/graphics/mpeg_encode/pkg-plist
new file mode 100644
index 000000000000..d3f2c3df923e
--- /dev/null
+++ b/graphics/mpeg_encode/pkg-plist
@@ -0,0 +1,5 @@
+bin/mpeg_encode
+man/man1/mpeg_encode.1.gz
+share/doc/mpeg_encode/users-guide.ps
+share/doc/mpeg_encode/template.param
+