summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-08-12 06:56:30 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-08-12 06:56:30 +0000
commita071303f4b9c6c4ffbceb54da0a3106c20aa4181 (patch)
treee995c8d22a8c94c3179d50e4b7db5f0be7896c98 /multimedia
parentUpdate to use the 5 "official" patches from the author. (diff)
Update MASTER_SITES. Now requires Motif.
Notes
Notes: svn path=/head/; revision=7543
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpeg2play/Makefile12
-rw-r--r--multimedia/mpeg2play/distinfo2
-rw-r--r--multimedia/mpeg2play/files/patch-aa29
-rw-r--r--multimedia/mpeg2play/pkg-plist1
4 files changed, 19 insertions, 25 deletions
diff --git a/multimedia/mpeg2play/Makefile b/multimedia/mpeg2play/Makefile
index a402195e4e56..36620bfe620e 100644
--- a/multimedia/mpeg2play/Makefile
+++ b/multimedia/mpeg2play/Makefile
@@ -3,21 +3,25 @@
# Date created: June 21, 1996
# Whom: "Philippe Charnier" <charnier@lirmm.fr>
#
-# $Id: Makefile,v 1.1.1.1 1996/07/10 05:38:41 asami Exp $
+# $Id: Makefile,v 1.2 1996/11/18 11:28:32 asami Exp $
#
DISTNAME= mpeg2play-1.1b
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.netcom.com/pub/cf/cfogg/mpeg2/
-DISTFILES= mpeg2play_v1.1b.tar.gz
+MASTER_SITES= ftp://ftp.funet.fi/pub/graphics/packages/mpeg/mpeg2play/
+DISTFILES= mpeg2play-1.1b.tar.gz
MAINTAINER= charnier@lirmm.fr
USE_X11= yes
-WRKSRC= ${WRKDIR}/mpeg2play
+USE_IMAKE= yes
+REQUIRES_MOTIF= yes
+ALL_TARGET= mpeg2play
do-install:
${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${WRKSRC}/mpeg2play ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/Mpeg2play ${PREFIX}/lib/X11/app-defaults
+
.include <bsd.port.mk>
diff --git a/multimedia/mpeg2play/distinfo b/multimedia/mpeg2play/distinfo
index 6586ec27bfc6..1a2c55bb970d 100644
--- a/multimedia/mpeg2play/distinfo
+++ b/multimedia/mpeg2play/distinfo
@@ -1 +1 @@
-MD5 (mpeg2play_v1.1b.tar.gz) = aa48c7a8d17db0c8601e7b1a4ef9fc48
+MD5 (mpeg2play-1.1b.tar.gz) = a93dcca1c04ed308382d1a3eb621f248
diff --git a/multimedia/mpeg2play/files/patch-aa b/multimedia/mpeg2play/files/patch-aa
index e554f46db990..8b1efae8a44e 100644
--- a/multimedia/mpeg2play/files/patch-aa
+++ b/multimedia/mpeg2play/files/patch-aa
@@ -1,22 +1,11 @@
---- Makefile 1996/06/18 18:52:34 1.1
-+++ Makefile 1996/06/18 20:40:21
-@@ -44,8 +44,8 @@
- # set INCLUDEDIR to -I followed by the appropriate include file path and
- # set LIBRARYDIR to -L followed by the appropriate library path and
+--- mpeg2play.c 1997/08/11 18:58:37 1.1
++++ mpeg2play.c 1997/08/11 19:07:22
+@@ -335,7 +335,7 @@
+ XmStringGetLtoR(((XmFileSelectionBoxCallbackStruct *)call_data)->value,
+ XmSTRING_DEFAULT_CHARSET, &filename);
--#INCLUDEDIR = -I/usr/include
--#LIBRARYDIR = -L/usr/lib
-+INCLUDEDIR = -I${X11BASE}/include
-+LIBRARYDIR = -L${X11BASE}/lib
+- position = tell(base.infile);
++ position = lseek(base.infile, 0L, SEEK_CUR);
+ fprintf(stderr, "pos: %d\n", position);
+ fprintf(stderr, "output: %s\n", filename);
- # select one of the following CC CFLAGS settings
-
-@@ -53,7 +53,7 @@
- # GNU gcc
- #
- CC = gcc
--CFLAGS = -O2 $(USE_DISP) $(USE_SHMEM) $(USE_TIME) $(INCLUDEDIR)
-+CFLAGS = -O2 -m486 $(USE_DISP) $(USE_SHMEM) $(USE_TIME) $(INCLUDEDIR)
-
- #
- # SPARCworks acc
diff --git a/multimedia/mpeg2play/pkg-plist b/multimedia/mpeg2play/pkg-plist
index b9519e7d2184..18c6e7a21a98 100644
--- a/multimedia/mpeg2play/pkg-plist
+++ b/multimedia/mpeg2play/pkg-plist
@@ -1 +1,2 @@
bin/mpeg2play
+lib/X11/app-defaults/Mpeg2play