From 162e306852da9814c3c526a0c6c4a357d1001433 Mon Sep 17 00:00:00 2001 From: erich Date: Thu, 1 Aug 1996 20:04:37 +0000 Subject: new port for UCB's MPEG-I encoder. --- multimedia/mpeg_encode/Makefile | 17 ++++++++++++++ multimedia/mpeg_encode/distinfo | 1 + multimedia/mpeg_encode/files/patch-aa | 43 +++++++++++++++++++++++++++++++++++ multimedia/mpeg_encode/pkg-comment | 1 + multimedia/mpeg_encode/pkg-descr | 24 +++++++++++++++++++ multimedia/mpeg_encode/pkg-plist | 5 ++++ 6 files changed, 91 insertions(+) create mode 100644 multimedia/mpeg_encode/Makefile create mode 100644 multimedia/mpeg_encode/distinfo create mode 100644 multimedia/mpeg_encode/files/patch-aa create mode 100644 multimedia/mpeg_encode/pkg-comment create mode 100644 multimedia/mpeg_encode/pkg-descr create mode 100644 multimedia/mpeg_encode/pkg-plist (limited to 'multimedia/mpeg_encode') 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 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 ++#else + #include ++#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 + -- cgit