From owner-freebsd-ports Thu Apr 4 15:10:24 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 374A137B420 for ; Thu, 4 Apr 2002 15:10:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g34NA2580656; Thu, 4 Apr 2002 15:10:02 -0800 (PST) (envelope-from gnats) Received: from lofi.dyndns.org (pD9003302.dip.t-dialin.net [217.0.51.2]) by hub.freebsd.org (Postfix) with ESMTP id 47E6B37B41E for ; Thu, 4 Apr 2002 15:06:04 -0800 (PST) Received: (from lofi@localhost) by lofi.dyndns.org id g34N63U16721; Fri, 5 Apr 2002 01:06:03 +0200 (CEST) Message-Id: <200204042306.g34N63U16721@lofi.dyndns.org> Date: Fri, 5 Apr 2002 01:06:03 +0200 (CEST) From: Michael Nottebrock Reply-To: Michael Nottebrock To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36769: New port: graphics/xvid Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 36769 >Category: ports >Synopsis: New port: graphics/xvid >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 04 15:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Michael Nottebrock >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: >Description: xvid is an opensource videocodec, based on opendivx. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xvid # xvid/Makefile # xvid/pkg-comment # xvid/pkg-descr # xvid/distinfo # xvid/files # xvid/files/patch-aa # xvid/files/patch-Makefile # xvid/pkg-plist # echo c - xvid mkdir -p xvid > /dev/null 2>&1 echo x - xvid/Makefile sed 's/^X//' >xvid/Makefile << 'END-of-xvid/Makefile' X# New ports collection makefile for: xvid X# Date created: 04 April 2002 X# Whom: Michael Nottebrock X# X# $FreeBSD$ X# X XPORTNAME= xvid XPORTVERSION= 20020317 XCATEGORIES= graphics XMASTER_SITES= http://www.xvid.org/ \ X http://lofi.dyndns.org/ X XDISTNAME= xvid_snapshot_17_03_2002 X XMAINTAINER= lofi@lofi.dyndns.org X XBUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm X XUSE_GMAKE= yes XINSTALLS_SHLIB= yes X XWRKSRC= ${WRKDIR}/xvid-17_03_02/xvidcore/build/generic X Xdo-install: X @ ${INSTALL} ${WRKSRC}/libxvidcore.so ${PREFIX}/lib/libxvidcore.so.0 X @ ${INSTALL} ${WRKSRC}/libcore.a ${PREFIX}/lib/libcore.a X @ ${LN} -s ${PREFIX}/lib/libxvidcore.so.0 ${PREFIX}/lib/libxvidcore.so X @ ${INSTALL} ${WRKSRC}/../../src/xvid.h ${PREFIX}/include X X.include END-of-xvid/Makefile echo x - xvid/pkg-comment sed 's/^X//' >xvid/pkg-comment << 'END-of-xvid/pkg-comment' XAn opensource MPEG-4 codec, based on OpenDivx END-of-xvid/pkg-comment echo x - xvid/pkg-descr sed 's/^X//' >xvid/pkg-descr << 'END-of-xvid/pkg-descr' XAn opensource MPEG-4 codec, based on OpenDivx X XWWW: http://www.xvid.org X X- Michael Nottebrock Xmichaelnottebrock@gmx.net END-of-xvid/pkg-descr echo x - xvid/distinfo sed 's/^X//' >xvid/distinfo << 'END-of-xvid/distinfo' XMD5 (xvid_snapshot_17_03_2002.tar.gz) = ddde37affa1bf9de7bdadfe9d071e08e END-of-xvid/distinfo echo c - xvid/files mkdir -p xvid/files > /dev/null 2>&1 echo x - xvid/files/patch-aa sed 's/^X//' >xvid/files/patch-aa << 'END-of-xvid/files/patch-aa' X--- ../../src/divx4.c.old Wed Mar 27 11:22:48 2002 X+++ ../../src/divx4.c Wed Mar 27 11:23:02 2002 X@@ -40,7 +40,7 @@ X *************************************************************************/ X X X-#include X+#include X #include // memset X X #include "xvid.h" END-of-xvid/files/patch-aa echo x - xvid/files/patch-Makefile sed 's/^X//' >xvid/files/patch-Makefile << 'END-of-xvid/files/patch-Makefile' X--- Makefile.old Wed Mar 27 14:28:45 2002 X+++ Makefile Wed Mar 27 14:29:47 2002 X@@ -33,7 +33,7 @@ X # CFLAGS += -march=pentium -mcpu=pentium X # CFLAGS += -march=pentiumpro -mcpu=pentiumpro X X- CFLAGS += -Wall -O3 -funroll-loops -ffast-math -march=pentiumpro -mcpu=pentiumpro X+ CFLAGS += -Wall -O3 -funroll-loops -ffast-math X CFLAGS += -fstrict-aliasing -fomit-frame-pointer X endif X END-of-xvid/files/patch-Makefile echo x - xvid/pkg-plist sed 's/^X//' >xvid/pkg-plist << 'END-of-xvid/pkg-plist' Xlib/libcore.a Xlib/libxvidcore.so Xlib/libxvidcore.so.0 Xinclude/xvid.h END-of-xvid/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message