aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mpeg2codec
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-07-10 13:32:54 +0800
committerasami <asami@FreeBSD.org>1996-07-10 13:32:54 +0800
commit346ddc50de4e2720bf14fbbcc4caf8600c513d1f (patch)
tree546cfc06daf7887dd50f4926f2b722805096ed24 /graphics/mpeg2codec
parent41b017c3a937e6a5a71cb1d9c5bab8b771fe0069 (diff)
downloadfreebsd-ports-graphics-346ddc50de4e2720bf14fbbcc4caf8600c513d1f.tar.gz
freebsd-ports-graphics-346ddc50de4e2720bf14fbbcc4caf8600c513d1f.tar.zst
freebsd-ports-graphics-346ddc50de4e2720bf14fbbcc4caf8600c513d1f.zip
mpeg-2 encoder/decoder.
Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
Diffstat (limited to 'graphics/mpeg2codec')
-rw-r--r--graphics/mpeg2codec/Makefile25
-rw-r--r--graphics/mpeg2codec/distinfo1
-rw-r--r--graphics/mpeg2codec/files/patch-aa41
-rw-r--r--graphics/mpeg2codec/files/patch-ab19
-rw-r--r--graphics/mpeg2codec/pkg-comment1
-rw-r--r--graphics/mpeg2codec/pkg-descr2
-rw-r--r--graphics/mpeg2codec/pkg-plist2
7 files changed, 91 insertions, 0 deletions
diff --git a/graphics/mpeg2codec/Makefile b/graphics/mpeg2codec/Makefile
new file mode 100644
index 00000000000..7fe575fb24d
--- /dev/null
+++ b/graphics/mpeg2codec/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: mpeg2codec
+# Version required: 1.1a
+# Date created: June 21, 1996
+# Whom: "Philippe Charnier" <charnier@lirmm.fr>
+#
+# $Id$
+#
+
+DISTNAME= mpeg2codec-1.1a
+CATEGORIES+= graphics
+MASTER_SITES= ftp://ftp.netcom.com/pub/cf/cfogg/mpeg2/
+DISTFILES= mpeg2codec_v1.1a.tar.gz
+
+MAINTAINER= charnier@lirmm.fr
+
+USE_X11= yes
+WRKSRC= ${WRKDIR}/mpeg2
+
+do-install:
+.for i in dec enc
+ ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ ${WRKSRC}/src/mpeg2${i}/mpeg2${i}ode ${PREFIX}/bin
+.endfor
+
+.include <bsd.port.mk>
diff --git a/graphics/mpeg2codec/distinfo b/graphics/mpeg2codec/distinfo
new file mode 100644
index 00000000000..ec5a9a5c220
--- /dev/null
+++ b/graphics/mpeg2codec/distinfo
@@ -0,0 +1 @@
+MD5 (mpeg2codec_v1.1a.tar.gz) = 83eda281bac437f52e38977d4df065b6
diff --git a/graphics/mpeg2codec/files/patch-aa b/graphics/mpeg2codec/files/patch-aa
new file mode 100644
index 00000000000..44805e70d67
--- /dev/null
+++ b/graphics/mpeg2codec/files/patch-aa
@@ -0,0 +1,41 @@
+--- Makefile 1996/06/18 18:44:04 1.1
++++ Makefile 1996/06/18 19:46:05
+@@ -30,23 +30,23 @@
+ # uncomment the following two lines if you want to include X11 support
+ # (mpeg2decode)
+
+-#USE_DISP = -DDISPLAY
+-#LIBS = -lX11
++USE_DISP = -DDISPLAY
++LIBS = -lX11
+
+ # uncomment the following two lines if you want to use shared memory
+ # (faster display if server and client run on the same machine)
+ # (mpeg2decode)
+
+-#USE_SHMEM = -DSH_MEM
+-#LIBS = -lXext -lX11
++USE_SHMEM = -DSH_MEM
++LIBS = -lXext -lX11
+
+ # if your X11 include files / libraries are in a non standard location:
+ # set INCLUDEDIR to -I followed by the appropriate include file path and
+ # set LIBRARYDIR to -L followed by the appropriate library path
+ # (mpeg2decode)
+
+-#INCLUDEDIR = -I/usr/openwin/include
+-#LIBRARYDIR = -L/usr/openwin/lib
++INCLUDEDIR = -I${X11BASE}/include
++LIBRARYDIR = -L${X11BASE}/lib
+
+ # select one of the following CC CFLAGS settings
+
+@@ -54,7 +54,7 @@
+ # GNU gcc
+ #
+ CC = gcc
+-CFLAGS = -O2
++CFLAGS = -O2 -m486
+
+ #
+ # SPARCworks acc
diff --git a/graphics/mpeg2codec/files/patch-ab b/graphics/mpeg2codec/files/patch-ab
new file mode 100644
index 00000000000..326acaa4bc0
--- /dev/null
+++ b/graphics/mpeg2codec/files/patch-ab
@@ -0,0 +1,19 @@
+--- src/mpeg2enc/mpeg2enc.c 1996/06/20 19:58:58 1.1
++++ src/mpeg2enc/mpeg2enc.c 1996/06/20 19:36:25
+@@ -29,6 +29,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <floatingpoint.h>
+
+ #define GLOBAL /* used by global.h */
+ #include "config.h"
+@@ -50,6 +51,8 @@
+ printf("Usage: mpeg2encode in.par out.m2v\n");
+ exit(0);
+ }
++
++ fpsetmask(0);
+
+ /* read parameter file */
+ readparmfile(argv[1]);
diff --git a/graphics/mpeg2codec/pkg-comment b/graphics/mpeg2codec/pkg-comment
new file mode 100644
index 00000000000..ef8c843cbd0
--- /dev/null
+++ b/graphics/mpeg2codec/pkg-comment
@@ -0,0 +1 @@
+An MPEG-2 Encoder and Decoder.
diff --git a/graphics/mpeg2codec/pkg-descr b/graphics/mpeg2codec/pkg-descr
new file mode 100644
index 00000000000..32fb990677b
--- /dev/null
+++ b/graphics/mpeg2codec/pkg-descr
@@ -0,0 +1,2 @@
+It converts uncompressed video frames into MPEG-1 and MPEG-2 video
+coded bitstream sequences, and vice versa.
diff --git a/graphics/mpeg2codec/pkg-plist b/graphics/mpeg2codec/pkg-plist
new file mode 100644
index 00000000000..99ac6f40865
--- /dev/null
+++ b/graphics/mpeg2codec/pkg-plist
@@ -0,0 +1,2 @@
+bin/mpeg2encode
+bin/mpeg2decode