From owner-freebsd-ports Mon Feb 12 5:50:12 2001 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 D88C037B491 for ; Mon, 12 Feb 2001 05:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1CDo1C82385; Mon, 12 Feb 2001 05:50:01 -0800 (PST) (envelope-from gnats) Received: from grisu.evk-koeln.de (grisu.evk-koeln.de [194.77.188.194]) by hub.freebsd.org (Postfix) with ESMTP id 863DB37B401 for ; Mon, 12 Feb 2001 05:41:52 -0800 (PST) Received: from sauerbruch.evk-koeln.de([139.64.201.254]) (8326 bytes) by grisu.evk-koeln.de via sendmail with P:esmtp/R:inet_hosts/T:smtp (sender: ) id for ; Mon, 12 Feb 2001 14:41:54 +0100 (CET) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Mar-14) Received: (from root@localhost) by sauerbruch.evk-koeln.de (8.11.2/8.11.2) id f1CDfmD10510; Mon, 12 Feb 2001 14:41:48 +0100 (CET) (envelope-from voss) Message-Id: <200102121341.f1CDfmD10510@sauerbruch.evk-koeln.de> Date: Mon, 12 Feb 2001 14:41:48 +0100 (CET) From: holger@eit.uni-kl.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/25035: Update port: graphics/avifile Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25035 >Category: ports >Synopsis: Update/new port: graphics/avifile,graphics/win32-codecs >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: Mon Feb 12 05:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Holger Lamm >Release: FreeBSD 4.2-RELEASE i386 >Organization: >Environment: >Description: Separated the codec part to its own port (graphics/win32-codecs) as the same files are used by similar ports, too. Fix consists of two parts: - diff for avifile - shar for graphics/win32-codecs >How-To-Repeat: >Fix: diff -Nur graphics/avifile/Makefile devel/avifile/Makefile --- graphics/avifile/Makefile Sun Jan 28 22:30:40 2001 +++ graphics/avifile/Makefile Mon Feb 12 13:47:29 2001 @@ -7,23 +7,17 @@ PORTNAME= avifile PORTVERSION= 0.53.4 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \ http://divx.euro.ru/ \ http://www.toon.eu.org/divx/ DISTFILES= avifile-${PORTVERSION}.tar.gz \ - binaries-${CODEC_VERSION}.zip \ - wmvds32.ax.gz -EXTRACT_ONLY= avifile-${PORTVERSION}.tar.gz MAINTAINER= holger@eit.uni-kl.de LIB_DEPENDS= SDL-1.1.2:${PORTSDIR}/devel/sdl-devel -BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip - -RESTRICTED= Unsure of codec\'s license -RESTRICTED_FILES= binaries-${CODEC_VERSION}.zip \ - wmvds32.ax.gz +RUN_DEPENDS= ${CODEC_DETECTION_FILE}:${CODEC_PORT} ONLY_FOR_ARCHS= i386 USE_QT2= yes @@ -33,7 +27,6 @@ USE_AUTOCONF= yes USE_LIBTOOL= yes -GNU_CONFIGURE= yes CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ MOC="${MOC}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" @@ -43,7 +36,10 @@ --enable-release PLIST_SUB= LIB_VERSION="${LIB_VERSION}" -CODEC_VERSION= 010122 +#CODEC_PORT= ${PORTSDIR}/graphics/win32-codecs +CODEC_PORT= ../../graphics/win32-codecs +CODEC_DETECTION_FILE!= ${MAKE} -V CODEC_DETECTION_FILE -f ${CODEC_PORT}/Makefile + LIB_VERSION= 0 # Adhoc fix. First part. # qt is there but configure is not finding it @@ -57,11 +53,6 @@ .include -post-extract: - @${LOCALBASE}/bin/unzip ${DISTDIR}/binaries-${CODEC_VERSION}.zip \ - -d ${WRKDIR}/codecs - @${GZCAT} ${DISTDIR}/wmvds32.ax.gz > ${WRKDIR}/codecs/wmvds32.ax - # Libtool fix code kindly provided by Mr. Maxim Sobolev post-configure: @${PERL} -pi -e \ @@ -74,10 +65,7 @@ .endfor post-install: - @${MKDIR} ${PREFIX}/lib/win32 - @${INSTALL_DATA} ${WRKDIR}/codecs/* ${PREFIX}/lib/win32 @/usr/bin/fmt < ${PKGMESSAGE} - @${INSTALL_DATA} ${WRKSRC}/lib/libaviplay.la ${PREFIX}/lib @${LN} -sf libaviplay.so.${LIB_VERSION} ${PREFIX}/lib/libaviplay.so # Adhoc fix. Second part. # Install the missed applications. diff -Nur graphics/avifile/distinfo devel/avifile/distinfo --- graphics/avifile/distinfo Sun Jan 28 22:30:40 2001 +++ graphics/avifile/distinfo Fri Feb 9 15:35:18 2001 @@ -1,3 +1 @@ MD5 (avifile-0.53.4.tar.gz) = 9f5dc386314ccc2748af0200d87f356f -MD5 (binaries-010122.zip) = ffc44e68b581994613931a9e47500446 -MD5 (wmvds32.ax.gz) = 886493bf1d0fa9ea088755c3fbddcfd7 diff -Nur graphics/avifile/pkg-plist devel/avifile/pkg-plist --- graphics/avifile/pkg-plist Fri Jan 26 21:20:20 2001 +++ graphics/avifile/pkg-plist Mon Feb 12 13:46:15 2001 @@ -55,27 +55,5 @@ share/avifile/about.ppm share/avifile/test.png @dirrm share/avifile -lib/win32/ativcr2.dll -lib/win32/divx_c32.ax -lib/win32/divxa32.acm -lib/win32/divxc32.dll -lib/win32/divxc32f.dll -lib/win32/acelpdec.ax -lib/win32/iccvid.dll -lib/win32/imc32.acm -lib/win32/ir32_32.dll -lib/win32/ir41_32.dll -lib/win32/ir41_qc.dll -lib/win32/ir50_32.dll -lib/win32/ir50_qc.dll -lib/win32/ir50_qcx.dll -lib/win32/m3jpeg32.dll -lib/win32/mpg4c32.dll -lib/win32/msadp32.acm -lib/win32/msms001.vwp -lib/win32/voxmsdec.ax -lib/win32/wmvds32.ax -@dirrm lib/win32 -lib/libaviplay.la lib/libaviplay.so lib/libaviplay.so.%%LIB_VERSION%% # 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: # # win32-codecs # win32-codecs/Makefile # win32-codecs/pkg-descr # win32-codecs/pkg-plist # win32-codecs/distinfo # win32-codecs/pkg-comment # echo c - win32-codecs mkdir -p win32-codecs > /dev/null 2>&1 echo x - win32-codecs/Makefile sed 's/^X//' >win32-codecs/Makefile << 'END-of-win32-codecs/Makefile' X# New ports collection makefile for: win32-codecs X# Date created: 12 February 2001 X# Whom: Mario Sergio Fujikawa Ferreira X# X# $FreeBSD$ X# X XPORTNAME= win32-codecs XPORTVERSION= ${CODEC_VERSION} XCATEGORIES= graphics audio XMASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \ X http://divx.euro.ru/ \ X http://www.toon.eu.org/divx/ XDISTFILES= binaries-${CODEC_VERSION}.zip \ X wmvds32.ax.gz XEXTRACT_ONLY= binaries-${CODEC_VERSION}.zip X XMAINTAINER= holger@eit.uni-kl.de X XRESTRICTED= Unsure of codec\'s license X XONLY_FOR_ARCHS= i386 XUSE_ZIP= yes XNO_BUILD= yes XNO_WRKSUBDIR= yes X XCODEC_VERSION= 010122 X# Used by other ports to detect if this is installed XCODEC_DETECTION_FILE= ${LOCALBASE}/lib/win32/wmvds32.ax X Xpost-extract: X @${GZCAT} ${DISTDIR}/wmvds32.ax.gz > ${WRKDIR}/wmvds32.ax X Xdo-install: X @${MKDIR} ${PREFIX}/lib/win32 X @${CHMOD} 0555 ${PREFIX}/lib/win32 X @${INSTALL_DATA} ${WRKDIR}/* ${PREFIX}/lib/win32 X X.include END-of-win32-codecs/Makefile echo x - win32-codecs/pkg-descr sed 's/^X//' >win32-codecs/pkg-descr << 'END-of-win32-codecs/pkg-descr' XA huge compilation of Win32 codecs: X XVideo: X- Win32 VfW DLLs: X Indeo Video 3.2, 4.1 X Microsoft MPEG-4 v1 & v2 beta X Microsoft MPEG-4 v3 ( also known as DivX ;-) ) X Cinepak Video X ATI VCR-2 X I263 X- Win32 DirectShow filters, decompression-only support: X Microsoft MPEG-4 v3 ( this decoder is slower than VfW one, X but offers wider range of picture control features ) X Windows Media Video 7 X Indeo Video 5.0 X Motion JPEG ( using Morgan Multimedia shareware codec ) X- Open-source plugins: X Motion JPEG ( using libjpeg, very slow ) X XAudio: X- Win32 ACM DLLs, decompression-only support: X Windows Media Audio ( also known as DivX ;-) Audio ) X MS ADPCM X Intel Music Codec X- Open-source plugins, decompression-only support: X PCM X AC3 X IMA ADPCM X MPEG Layer-1,2,3 ( compression into MP3 is also supported ) X MSN Audio X GSM 6.1 Audio X- Win32 DirectShow filters, untested decompression-only support: X Voxware Metasound X ACELP.net X XWWW: http://divx.euro.ru/ END-of-win32-codecs/pkg-descr echo x - win32-codecs/pkg-plist sed 's/^X//' >win32-codecs/pkg-plist << 'END-of-win32-codecs/pkg-plist' Xlib/win32/ativcr2.dll Xlib/win32/divx_c32.ax Xlib/win32/divxa32.acm Xlib/win32/divxc32.dll Xlib/win32/divxc32f.dll Xlib/win32/acelpdec.ax Xlib/win32/iccvid.dll Xlib/win32/imc32.acm Xlib/win32/ir32_32.dll Xlib/win32/ir41_32.dll Xlib/win32/ir41_qc.dll Xlib/win32/ir50_32.dll Xlib/win32/ir50_qc.dll Xlib/win32/ir50_qcx.dll Xlib/win32/m3jpeg32.dll Xlib/win32/mpg4c32.dll Xlib/win32/msadp32.acm Xlib/win32/msms001.vwp Xlib/win32/voxmsdec.ax Xlib/win32/wmvds32.ax X@dirrm lib/win32 END-of-win32-codecs/pkg-plist echo x - win32-codecs/distinfo sed 's/^X//' >win32-codecs/distinfo << 'END-of-win32-codecs/distinfo' XMD5 (binaries-010122.zip) = ffc44e68b581994613931a9e47500446 XMD5 (wmvds32.ax.gz) = 886493bf1d0fa9ea088755c3fbddcfd7 END-of-win32-codecs/distinfo echo x - win32-codecs/pkg-comment sed 's/^X//' >win32-codecs/pkg-comment << 'END-of-win32-codecs/pkg-comment' XHuge compilation of Win32 binary codecs, including MPEG-4(DivX ;-)) END-of-win32-codecs/pkg-comment exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message