ports/122161: Update port: multimedia/mpeg_encode Fix for new distfile
Jason Bacon
bacon at smithers.neuro.mcw.edu
Thu Mar 27 16:10:01 UTC 2008
>Number: 122161
>Category: ports
>Synopsis: Update port: multimedia/mpeg_encode Fix for new distfile
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 27 16:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Jason Bacon
>Release: FreeBSD 6.1-RELEASE-p17 i386
>Organization:
MCW
>Environment:
System: FreeBSD smithers.neuro.mcw.edu 6.1-RELEASE-p17 FreeBSD 6.1-RELEASE-p17 #0: Mon Jul 2 15:25:34 CDT 2007 bacon at pcbsd:/usr/obj/usr/src/sys/MCWPCBSD i386
>Description:
Multimedia/mpeg_encode is currently marked BROKEN due to a checksum
mismatch for mpeg_encode-1.5b-src.tar.gz. This patch updates the
framework to work with the new distfile. Several other ports
depend on multimedia/mpeg_encode.
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/multimedia/mpeg_encode/Makefile mpeg_encode/Makefile
--- /usr/ports/multimedia/mpeg_encode/Makefile 2008-02-28 08:42:23.000000000 -0600
+++ mpeg_encode/Makefile 2008-03-27 10:42:52.000000000 -0500
@@ -1,5 +1,5 @@
# New ports collection makefile for: mpeg_encode
-# Date created:
+# Date created: unknown
# Whom: erich at FreeBSD.org
#
# $FreeBSD: ports/multimedia/mpeg_encode/Makefile,v 1.22 2008/02/28 14:42:23 erwin Exp $
@@ -15,8 +15,6 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= UCB's MPEG-I video stream encoder
-BROKEN= Checksum mismatch
-
MAN1= mpeg_encode.1
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -25,6 +23,10 @@
@(${GREP} -R -l "malloc.h" ${WRKSRC}/* | \
${XARGS} ${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/")
+do-configure:
+ (cd ${WRKSRC} && ${MAKE} depend)
+ (cd ${WRKSRC}/jpeg && ./configure)
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${PREFIX}/man/man1
diff -ruN /usr/ports/multimedia/mpeg_encode/distinfo mpeg_encode/distinfo
--- /usr/ports/multimedia/mpeg_encode/distinfo 2005-11-25 10:19:35.000000000 -0600
+++ mpeg_encode/distinfo 2008-03-27 10:15:53.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (mpeg_encode-1.5b-src.tar.gz) = ff125fb82118efc7c852f0d26d5552c6
-SHA256 (mpeg_encode-1.5b-src.tar.gz) = dd8db42f88393bb0ff0d738defa271729a8aa9b8de24ed13bc6bd27014f2daf5
-SIZE (mpeg_encode-1.5b-src.tar.gz) = 2028724
+MD5 (mpeg_encode-1.5b-src.tar.gz) = c6318504a7b2978a95fd266213ec79aa
+SHA256 (mpeg_encode-1.5b-src.tar.gz) = 87a654c707ae57a48b8b065eb24fbe91226c2c61809d8f729f33a2110efa7e9b
+SIZE (mpeg_encode-1.5b-src.tar.gz) = 1820823
diff -ruN /usr/ports/multimedia/mpeg_encode/files/patch-ad mpeg_encode/files/patch-ad
--- /usr/ports/multimedia/mpeg_encode/files/patch-ad 2000-10-28 08:05:25.000000000 -0500
+++ mpeg_encode/files/patch-ad 1969-12-31 18:00:00.000000000 -0600
@@ -1,15 +0,0 @@
---- jpeg/Makefile.orig Fri Aug 4 18:27:00 1995
-+++ jpeg/Makefile Fri Oct 20 19:05:22 2000
-@@ -21,10 +21,10 @@
- manext = 1
-
- # The name of your C compiler:
--CC= gcc
-+CC?= gcc
-
- # You may need to adjust these cc options:
--CFLAGS= -O -I$(srcdir)
-+CFLAGS+= -I$(srcdir)
- # Generally, we recommend defining any configuration symbols in jconfig.h,
- # NOT via -D switches here.
- # However, any special defines for ansi2knr.c may be included here:
diff -ruN /usr/ports/multimedia/mpeg_encode/pkg-plist mpeg_encode/pkg-plist
--- /usr/ports/multimedia/mpeg_encode/pkg-plist 2001-12-23 20:15:42.000000000 -0600
+++ mpeg_encode/pkg-plist 2008-03-27 10:39:37.000000000 -0500
@@ -1,4 +1,4 @@
bin/mpeg_encode
-%%PORTDOCS%%share/doc/mpeg_encode/users-guide.ps
-%%PORTDOCS%%share/doc/mpeg_encode/template.param
-%%PORTDOCS%%@dirrm share/doc/mpeg_encode
+%%PORTDOCS%%%%DOCSDIR%%/template.param
+%%PORTDOCS%%%%DOCSDIR%%/users-guide.ps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list