aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mpeg2play
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-08-12 14:56:30 +0800
committercharnier <charnier@FreeBSD.org>1997-08-12 14:56:30 +0800
commit17fb2b95ba811a88212b50c5f8c2233646b24b49 (patch)
tree6f708b420cc07e6cdde27eece93969e96f31aae3 /graphics/mpeg2play
parent22a5741a0f93d76ebbe80d016da82d5546775adb (diff)
downloadfreebsd-ports-gnome-17fb2b95ba811a88212b50c5f8c2233646b24b49.tar.gz
freebsd-ports-gnome-17fb2b95ba811a88212b50c5f8c2233646b24b49.tar.zst
freebsd-ports-gnome-17fb2b95ba811a88212b50c5f8c2233646b24b49.zip
Update MASTER_SITES. Now requires Motif.
Diffstat (limited to 'graphics/mpeg2play')
-rw-r--r--graphics/mpeg2play/Makefile12
-rw-r--r--graphics/mpeg2play/distinfo2
-rw-r--r--graphics/mpeg2play/files/patch-aa29
-rw-r--r--graphics/mpeg2play/pkg-plist1
4 files changed, 19 insertions, 25 deletions
diff --git a/graphics/mpeg2play/Makefile b/graphics/mpeg2play/Makefile
index a402195e4e56..36620bfe620e 100644
--- a/graphics/mpeg2play/Makefile
+++ b/graphics/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/graphics/mpeg2play/distinfo b/graphics/mpeg2play/distinfo
index 6586ec27bfc6..1a2c55bb970d 100644
--- a/graphics/mpeg2play/distinfo
+++ b/graphics/mpeg2play/distinfo
@@ -1 +1 @@
-MD5 (mpeg2play_v1.1b.tar.gz) = aa48c7a8d17db0c8601e7b1a4ef9fc48
+MD5 (mpeg2play-1.1b.tar.gz) = a93dcca1c04ed308382d1a3eb621f248
diff --git a/graphics/mpeg2play/files/patch-aa b/graphics/mpeg2play/files/patch-aa
index e554f46db990..8b1efae8a44e 100644
--- a/graphics/mpeg2play/files/patch-aa
+++ b/graphics/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/graphics/mpeg2play/pkg-plist b/graphics/mpeg2play/pkg-plist
index b9519e7d2184..18c6e7a21a98 100644
--- a/graphics/mpeg2play/pkg-plist
+++ b/graphics/mpeg2play/pkg-plist
@@ -1 +1,2 @@
bin/mpeg2play
+lib/X11/app-defaults/Mpeg2play