Update mpeg_play for NetBSD and enable.
This commit is contained in:
parent
2ad709d6db
commit
1c472621fd
6 changed files with 38 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
20
graphics/mpeg_play/patches/patch-ab
Normal file
20
graphics/mpeg_play/patches/patch-ab
Normal file
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue