summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-10-07 02:13:10 +0000
committertv <tv@pkgsrc.org>1998-10-07 02:13:10 +0000
commit1c472621fdbc9a1a63d4004b8378589e6ec8cd28 (patch)
tree808bff0c69d9f450feab9905b372b5c5f9a04c62 /graphics
parent2ad709d6dbb02c877124756567993b51b1fbc1ec (diff)
downloadpkgsrc-1c472621fdbc9a1a63d4004b8378589e6ec8cd28.tar.gz
Update mpeg_play for NetBSD and enable.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Makefile4
-rw-r--r--graphics/mpeg_play/Makefile20
-rw-r--r--graphics/mpeg_play/files/md52
-rw-r--r--graphics/mpeg_play/patches/patch-aa6
-rw-r--r--graphics/mpeg_play/patches/patch-ab20
-rw-r--r--graphics/mpeg_play/pkg/PLIST2
6 files changed, 38 insertions, 16 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index bfdcab19254..47b79d64177 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 1998/09/28 18:12:46 tron Exp $
+# $NetBSD: Makefile,v 1.31 1998/10/07 02:13:10 tv Exp $
# FreeBSD Id: Makefile,v 1.53 1997/09/28 13:25:40 markm Exp
#
@@ -32,7 +32,7 @@
SUBDIR += mpeg2codec
# SUBDIR += mpeg2play
# SUBDIR += mpeg_encode
-# SUBDIR += mpeg_play
+ SUBDIR += mpeg_play
# SUBDIR += mpeg_stat
# SUBDIR += mpegedit
# SUBDIR += mplex
diff --git a/graphics/mpeg_play/Makefile b/graphics/mpeg_play/Makefile
index 652c73a753d..9dd824737a2 100644
--- a/graphics/mpeg_play/Makefile
+++ b/graphics/mpeg_play/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mpeg_play
-# Version required: 2.4
-# Date created: 17 December 1994
-# Whom: asami
-#
-# $Id: Makefile,v 1.1.1.1 1998/10/07 02:04:49 tv Exp $
+# $NetBSD: Makefile,v 1.2 1998/10/07 02:13:10 tv Exp $
+# FreeBSD Id: Makefile,v 1.11 1998/10/05 03:13:32 steve Exp
#
DISTNAME= mpeg_play-2.4
@@ -11,14 +7,14 @@ CATEGORIES= graphics
MASTER_SITES= ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/play/
EXTRACT_SUFX= -src.tar.gz
-MAINTAINER= ports@FreeBSD.ORG
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://bmrc.berkeley.edu/projects/mpeg/mpeg_play.html
WRKSRC= ${WRKDIR}/mpeg_play
USE_IMAKE= yes
-MAN1= mpeg_play.1
-pre-patch:
- cp ${WRKSRC}/Imakefile.proto ${WRKSRC}/Imakefile
- cp ${WRKSRC}/mpeg_play.1 ${WRKSRC}/mpeg_play.man
+pre-configure:
+ ${MV} -f ${WRKSRC}/Imakefile.proto ${WRKSRC}/Imakefile
+ ${MV} -f ${WRKSRC}/mpeg_play.1 ${WRKSRC}/mpeg_play.man
-.include <bsd.port.mk>
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/mpeg_play/files/md5 b/graphics/mpeg_play/files/md5
index 33b7468df55..84fd1358de6 100644
--- a/graphics/mpeg_play/files/md5
+++ b/graphics/mpeg_play/files/md5
@@ -1 +1,3 @@
+$NetBSD: md5,v 1.2 1998/10/07 02:13:10 tv Exp $
+
MD5 (mpeg_play-2.4-src.tar.gz) = 4e56f1d436639e79c3d0f49857510361
diff --git a/graphics/mpeg_play/patches/patch-aa b/graphics/mpeg_play/patches/patch-aa
index 46a447230e0..97b7b6c916b 100644
--- a/graphics/mpeg_play/patches/patch-aa
+++ b/graphics/mpeg_play/patches/patch-aa
@@ -1,5 +1,7 @@
---- ./Imakefile.org Tue Feb 6 23:37:51 1996
-+++ ./Imakefile Wed Feb 7 00:05:59 1996
+$NetBSD: patch-aa,v 1.2 1998/10/07 02:13:10 tv Exp $
+
+--- ./Imakefile.proto.orig Tue Feb 6 23:37:51 1996
++++ ./Imakefile.proto Wed Feb 7 00:05:59 1996
@@ -1,5 +1,5 @@
/* See Makefile.proto for flags to define */
- DESTDIR = /usr/pkg/video
diff --git a/graphics/mpeg_play/patches/patch-ab b/graphics/mpeg_play/patches/patch-ab
new file mode 100644
index 00000000000..5cbc6f6420b
--- /dev/null
+++ b/graphics/mpeg_play/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 1998/10/07 02:13:10 tv Exp $
+
+--- video.h.orig Tue Oct 6 22:06:33 1998
++++ video.h Tue Oct 6 22:06:40 1998
+@@ -388,6 +388,15 @@
+ extern unsigned int cacheMiss[8][8];
+ #endif
+
++#ifdef __NetBSD__
++#include <machine/endian.h>
++#if BYTE_ORDER == LITTLE_ENDIAN
++#define LITTLE_ENDIAN_ARCHITECTURE 1
++#else
++#define BIG_ENDIAN_ARCHITECTURE 1
++#endif
++#endif
++
+ #if !defined(__MIPSEL__) && (defined(MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) || defined(__mipsel) || defined(__mipsel__))
+ #define __MIPSEL__ 1
+ #endif
diff --git a/graphics/mpeg_play/pkg/PLIST b/graphics/mpeg_play/pkg/PLIST
index 8fdacec89a8..e7c83c796c4 100644
--- a/graphics/mpeg_play/pkg/PLIST
+++ b/graphics/mpeg_play/pkg/PLIST
@@ -1 +1,3 @@
+@comment $NetBSD: PLIST,v 1.2 1998/10/07 02:13:11 tv Exp $
bin/mpeg_play
+man/cat1/mpeg_play.0