aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorerich <erich@FreeBSD.org>1996-08-02 04:04:37 +0800
committererich <erich@FreeBSD.org>1996-08-02 04:04:37 +0800
commit162e306852da9814c3c526a0c6c4a357d1001433 (patch)
treec9a47487f318587d7104417419ad5dfc68fa630d /multimedia
parent898b658dcc0afef2384f8d04446afd16ad32d544 (diff)
downloadfreebsd-ports-gnome-162e306852da9814c3c526a0c6c4a357d1001433.tar.gz
freebsd-ports-gnome-162e306852da9814c3c526a0c6c4a357d1001433.tar.zst
freebsd-ports-gnome-162e306852da9814c3c526a0c6c4a357d1001433.zip
new port for UCB's MPEG-I encoder.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpeg_encode/Makefile17
-rw-r--r--multimedia/mpeg_encode/distinfo1
-rw-r--r--multimedia/mpeg_encode/files/patch-aa43
-rw-r--r--multimedia/mpeg_encode/pkg-comment1
-rw-r--r--multimedia/mpeg_encode/pkg-descr24
-rw-r--r--multimedia/mpeg_encode/pkg-plist5
6 files changed, 91 insertions, 0 deletions
diff --git a/multimedia/mpeg_encode/Makefile b/multimedia/mpeg_encode/Makefile
new file mode 100644
index 000000000000..77fe2eb870d0
--- /dev/null
+++ b/multimedia/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/multimedia/mpeg_encode/distinfo b/multimedia/mpeg_encode/distinfo
new file mode 100644
index 000000000000..0e6a1b2d972c
--- /dev/null
+++ b/multimedia/mpeg_encode/distinfo
@@ -0,0 +1 @@
+MD5 (mpeg_encode-1.5b-src.tar.gz) = ff125fb82118efc7c852f0d26d5552c6
diff --git a/multimedia/mpeg_encode/files/patch-aa b/multimedia/mpeg_encode/files/patch-aa
new file mode 100644
index 000000000000..b626b85d037c
--- /dev/null
+++ b/multimedia/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/multimedia/mpeg_encode/pkg-comment b/multimedia/mpeg_encode/pkg-comment
new file mode 100644
index 000000000000..ef6837ab779f
--- /dev/null
+++ b/multimedia/mpeg_encode/pkg-comment
@@ -0,0 +1 @@
+UCB's MPEG-I video stream encoder
diff --git a/multimedia/mpeg_encode/pkg-descr b/multimedia/mpeg_encode/pkg-descr
new file mode 100644
index 000000000000..16f182aa4b1f
--- /dev/null
+++ b/multimedia/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/multimedia/mpeg_encode/pkg-plist b/multimedia/mpeg_encode/pkg-plist
new file mode 100644
index 000000000000..d3f2c3df923e
--- /dev/null
+++ b/multimedia/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
+