aboutsummaryrefslogtreecommitdiff
path: root/graphics/mpeg2codec
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-07-10 05:32:54 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-07-10 05:32:54 +0000
commit292e34c318757b751820e6ec9f315272f943588c (patch)
tree1c1be6236b31273261fc4067cc9a2c0152b26a39 /graphics/mpeg2codec
parent722118d97f0970cd908158e3cd3f5f4ada340215 (diff)
downloadports-292e34c318757b751820e6ec9f315272f943588c.tar.gz
ports-292e34c318757b751820e6ec9f315272f943588c.zip
Notes
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 000000000000..7fe575fb24d5
--- /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 000000000000..ec5a9a5c220a
--- /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 000000000000..44805e70d67d
--- /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 000000000000..326acaa4bc00
--- /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 000000000000..ef8c843cbd0d
--- /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 000000000000..32fb990677b9
--- /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 000000000000..99ac6f408657
--- /dev/null
+++ b/graphics/mpeg2codec/pkg-plist
@@ -0,0 +1,2 @@
+bin/mpeg2encode
+bin/mpeg2decode