summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-04-12 21:26:21 +0000
committerzuntum <zuntum>2001-04-12 21:26:21 +0000
commit13e69352299aa76b41f9ba84aaca216608ea70a4 (patch)
treec8549fbcd7b83f6dc029380e65b38d35b9fd3317 /graphics
parentcb9f58e404d1e94ea74aa8f62088b1b88c60d356 (diff)
downloadpkgsrc-13e69352299aa76b41f9ba84aaca216608ea70a4.tar.gz
Initial import of avifile-0.53.5
An MPEG-4 (aka DivX) player built around the Windows binaries, but does not need Wine. There is also a xmps plugin you can build (manually). NOTE: aviplay (player originally included in the package) does not work and thus the package does not build it. I'll send mail about tiny, but working player to netbsd-users@netbsd.org soon.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/avifile/Makefile47
-rw-r--r--graphics/avifile/files/md54
-rw-r--r--graphics/avifile/files/patch-sum18
-rw-r--r--graphics/avifile/patches/patch-aa44
-rw-r--r--graphics/avifile/patches/patch-ab13
-rw-r--r--graphics/avifile/patches/patch-ac15
-rw-r--r--graphics/avifile/patches/patch-ad22
-rw-r--r--graphics/avifile/patches/patch-ae15
-rw-r--r--graphics/avifile/patches/patch-af13
-rw-r--r--graphics/avifile/patches/patch-ag13
-rw-r--r--graphics/avifile/patches/patch-ai13
-rw-r--r--graphics/avifile/patches/patch-aj13
-rw-r--r--graphics/avifile/patches/patch-ak31
-rw-r--r--graphics/avifile/patches/patch-al39
-rw-r--r--graphics/avifile/patches/patch-am13
-rw-r--r--graphics/avifile/patches/patch-an14
-rw-r--r--graphics/avifile/patches/patch-ao13
-rw-r--r--graphics/avifile/patches/patch-ap11
-rw-r--r--graphics/avifile/patches/patch-aq12
-rw-r--r--graphics/avifile/pkg/DESCR3
-rw-r--r--graphics/avifile/pkg/MESSAGE5
-rw-r--r--graphics/avifile/pkg/PLIST60
22 files changed, 431 insertions, 0 deletions
diff --git a/graphics/avifile/Makefile b/graphics/avifile/Makefile
new file mode 100644
index 00000000000..d984319abbb
--- /dev/null
+++ b/graphics/avifile/Makefile
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+DISTNAME= avifile-0.53.5
+CATEGORIES= graphics
+MASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \
+ http://divx.euro.ru/ \
+ http://www.toon.eu.org/divx/
+
+MAINTAINER= zuntum@netbsd.org,jmcneill@invisible.yi.org
+HOMEPAGE= http://divx.euro.ru/
+COMMENT= MPEG-4 (DivX) video player
+
+DEPENDS+= win32-codecs>=010122:../../graphics/win32-codecs
+DEPENDS+= SDL>=1.1.2:../../devel/SDL
+#DEPENDS+= qt2-libs>=2.1.0:../../x11/qt2-libs
+#DEPENDS+= qt2-designer>=2.1.0:../../x11/qt2-designer
+DEPENDS+= pth>=1.3.7:../../devel/pth
+BUILD_DEPENDS+= unzip-*:../../archivers/unzip
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_AUTOCONF= yes
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+HAS_CONFIGURE= yes
+CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}" \
+ MOC="${MOC}" \
+ UIC="${UIC}" \
+# CPPFLAGS="-I${LOCALBASE}/include"
+# LIBS="-Wl,-R${X11BASE}/qt2/lib -L${X11BASE}/qt2/lib"
+CONFIGURE_ARGS+= --prefix=${PREFIX} --with-win32-path=${LOCALBASE}/lib/win32 \
+ --enable-sdl --without-qt
+
+# --enable-timing
+# --with-qt-dir=${X11BASE}/qt2 \
+# --with-qt-includes=${X11BASE}/qt2/include \
+# --with-qt-libraries=${X11BASE}/qt2/lib \
+
+#CONFIGURE_ARGS+= --enable-loader-out # Verbose Win32 DLL loading
+
+SDL_CONFIG?= ${LOCALBASE}/bin/sdl-config
+MOC?= ${X11BASE}/qt2/bin/moc
+UIC?= ${X11BASE}/qt2/bin/uic
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/avifile/files/md5 b/graphics/avifile/files/md5
new file mode 100644
index 00000000000..4f533a23448
--- /dev/null
+++ b/graphics/avifile/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 2001/04/12 21:26:29 zuntum Exp $
+
+SHA1 (avifile-0.53.5.tar.gz) = bc9d27c65ab4f8df9006c6037d539ff71adb0ad7
+SHA1 (binaries-010122.zip) = 2e23951a738da355095220df54f37453e9ad3fd8
diff --git a/graphics/avifile/files/patch-sum b/graphics/avifile/files/patch-sum
new file mode 100644
index 00000000000..020bdb906d2
--- /dev/null
+++ b/graphics/avifile/files/patch-sum
@@ -0,0 +1,18 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/04/12 21:26:29 zuntum Exp $
+
+SHA1 (patch-aa) = 0643ad61c29fb2d9aa24dc52baf1a30ce1ed0765
+SHA1 (patch-ab) = f6ce2519d56cde66cf88d5180c87ee2453c155e7
+SHA1 (patch-ac) = add3437da5e5724269d2dc10c0d10e1bc6c022cd
+SHA1 (patch-ad) = 21ceab52fd184ee856780e5f38405a67a471ed07
+SHA1 (patch-ae) = 36b45ff4f4e350195bf0731c64fb52449ed23c41
+SHA1 (patch-af) = 48cb4d9cf0c45fd8c60d5cabd0ce71d8100f880a
+SHA1 (patch-ag) = 49a96eb69108e1bc3bc1a7f69db4a86cf3be1935
+SHA1 (patch-ai) = fb735fb071ad6bddce0520f55f266e8c05b1ef34
+SHA1 (patch-aj) = 9fac29acf89aa99f546581ecb7b800029643297f
+SHA1 (patch-ak) = f16d6fd4192f74d2f2eb67bc41672e41c6cfba48
+SHA1 (patch-al) = 218f2f2da4ad82ccced63ad00873f186f9924201
+SHA1 (patch-am) = 8c9ffd2dc38ed38058102afa0af13258f89415d4
+SHA1 (patch-an) = 3e9857a9e52fce6f51d7cdf99db82b48fc4cbfe9
+SHA1 (patch-ao) = 01e418460da9ffa59b0d1799845049a8aa4bf7c9
+SHA1 (patch-ap) = 9ee5f5e1aae764e10068d65529af85e7d08b6dc0
+SHA1 (patch-aq) = 457bda578eb94bbfc2105eb38b029e4be0070ab8
diff --git a/graphics/avifile/patches/patch-aa b/graphics/avifile/patches/patch-aa
new file mode 100644
index 00000000000..015258d49c0
--- /dev/null
+++ b/graphics/avifile/patches/patch-aa
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/aviplay/audio.cpp.orig Fri Dec 15 07:53:05 2000
++++ lib/aviplay/audio.cpp
+@@ -28,7 +28,11 @@
+ #include <pthread.h>
+
+
+-#include <sys/soundcard.h>
++#ifdef __NetBSD__
++#include <soundcard.h>
++#else
++ #include <sys/soundcard.h>
++#endif
+
+ #include "aviplay_impl.h"
+ #include "audio.h"
+@@ -112,7 +116,7 @@
+ int audio_queue::write(int fd)//writes some data
+ {
+ int startpos, size, tmp;
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ const int AUDIO_BUFFER_SIZE=2048;
+ #else
+ const int AUDIO_BUFFER_SIZE=8192;
+@@ -372,7 +376,7 @@
+ audio_fd=-1;
+ try
+ {
+- audio_fd=open("/dev/dsp",O_RDWR|O_NDELAY);
++ audio_fd=open("/dev/audio",O_RDWR|O_NDELAY);
+ if(audio_fd<=0)
+ throw FATAL("Can't open audio device");
+ if(audio_fd>0)
+@@ -388,7 +392,7 @@
+ catch(FatalError&)
+ {
+ if(audio_fd>0)::close(audio_fd);
+- audio_fd=open("/dev/dsp", O_RDWR);
++ audio_fd=open("/dev/audio", O_RDWR);
+ }
+ if(audio_fd<=0)
+ throw FATAL("Can't open audio device");
diff --git a/graphics/avifile/patches/patch-ab b/graphics/avifile/patches/patch-ab
new file mode 100644
index 00000000000..f9dc9bd9c13
--- /dev/null
+++ b/graphics/avifile/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/avifile/File64.h.orig Sun Nov 26 18:43:55 2000
++++ lib/avifile/File64.h
+@@ -3,7 +3,7 @@
+
+ typedef long long __int64;
+ //typedef int HANDLE;
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define lseek64 lseek
+ //#else
+ //extern "C" __int64 lseek64(int fd, __int64 offset, int);
diff --git a/graphics/avifile/patches/patch-ac b/graphics/avifile/patches/patch-ac
new file mode 100644
index 00000000000..bac1bc5cfd9
--- /dev/null
+++ b/graphics/avifile/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/avifile/AVIReadHandler2.cpp.orig Wed Jan 10 19:01:12 2001
++++ lib/avifile/AVIReadHandler2.cpp
+@@ -27,6 +27,10 @@
+ typedef long long __int64;
+ //#define STREAMING_DEBUG
+
++#if defined(__NetBSD__)
++#define lseek64 lseek
++#endif
++
+ // HACK!!!!
+
+ extern pthread_mutex_t g_diskcs;
diff --git a/graphics/avifile/patches/patch-ad b/graphics/avifile/patches/patch-ad
new file mode 100644
index 00000000000..7f4ea92d0f6
--- /dev/null
+++ b/graphics/avifile/patches/patch-ad
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/avifile/FastReadStream.cpp.orig Sun Nov 26 18:43:55 2000
++++ lib/avifile/FastReadStream.cpp
+@@ -6,7 +6,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <sys/types.h>
+-#ifndef __FreeBSD__
++#if !defined(__FreeBSD__) && !defined(__NetBSD__)
+ #include <features.h>
+ #endif
+ #include <unistd.h>
+@@ -16,7 +16,7 @@
+ #include <stdlib.h>
+ #endif
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define lseek64 lseek
+ #else
+ extern "C" __int64 lseek64(int fd, __int64 offset, int);
diff --git a/graphics/avifile/patches/patch-ae b/graphics/avifile/patches/patch-ae
new file mode 100644
index 00000000000..445e4c90012
--- /dev/null
+++ b/graphics/avifile/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/avifile/Cache.cpp.orig Tue Oct 10 20:31:37 2000
++++ lib/avifile/Cache.cpp
+@@ -3,6 +3,10 @@
+ #include <except.h>
+ #define BUFFERING 100
+
++#ifdef __NetBSD__
++#define lseek64 lseek
++#endif
++
+ class mem_counter
+ {
+ int size;
diff --git a/graphics/avifile/patches/patch-af b/graphics/avifile/patches/patch-af
new file mode 100644
index 00000000000..30510cd4ccc
--- /dev/null
+++ b/graphics/avifile/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/avifile/AviWrite.cpp.orig Fri Dec 1 12:13:53 2000
++++ lib/avifile/AviWrite.cpp
+@@ -12,7 +12,7 @@
+
+ #include "AviWrite.h"
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define lseek64 lseek
+ #define O_LARGEFILE 0
+ #endif
diff --git a/graphics/avifile/patches/patch-ag b/graphics/avifile/patches/patch-ag
new file mode 100644
index 00000000000..7889be9696f
--- /dev/null
+++ b/graphics/avifile/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- player/Makefile.in.orig Thu Feb 8 04:19:59 2001
++++ player/Makefile.in
+@@ -207,7 +207,7 @@
+
+ MOC = @MOC@
+ UIC = @UIC@
+-LDFLAGS = @LIBS@ @X_LDFLAGS@ -lX11 -lXext @QT_LDFLAGS@ @QT_NAME@ @SDL_LIBS@
++LDFLAGS = @LIBS@ @X_LDFLAGS@ -lX11 -lXext @QT_LDFLAGS@ @QT_NAME@ @SDL_LIBS@ -li386
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../include/config.h
+ CONFIG_CLEAN_FILES =
diff --git a/graphics/avifile/patches/patch-ai b/graphics/avifile/patches/patch-ai
new file mode 100644
index 00000000000..5bb22d944a7
--- /dev/null
+++ b/graphics/avifile/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/aviplay/Makefile.in.orig Wed Jan 10 19:02:43 2001
++++ lib/aviplay/Makefile.in
+@@ -210,7 +210,7 @@
+
+ DEFS = @DEFS@ -I. -I$(srcdir) -I../../include
+ CPPFLAGS = @CPPFLAGS@
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -li386
+ libaviplay_la_LDFLAGS =
+ libaviplay_la_LIBADD =
+ libaviplay_la_OBJECTS = audio.lo aviplay.lo aviutil.lo
diff --git a/graphics/avifile/patches/patch-aj b/graphics/avifile/patches/patch-aj
new file mode 100644
index 00000000000..94ad7c3075b
--- /dev/null
+++ b/graphics/avifile/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/Makefile.in.orig Wed Jan 10 19:02:33 2001
++++ lib/Makefile.in
+@@ -202,7 +202,7 @@
+ libaviplay_la_LIBADD = loader/libloader.la videocodec/libvideocodec.la avifile/libavi_io.la aviplay/libaviplay.la audiodecoder/libaudiodec.la audioencoder/libaudioenc.la audiodecoder/mpeg/libmpeg.la audioencoder/lame3.70/libmp3lame.la videocodec/DirectShow/libds_videocodec.la
+
+
+-LDFLAGS = @SDL_LIBS@ @AC3_LIBS@ @AC3_LDADD@
++LDFLAGS = @SDL_LIBS@ @AC3_LIBS@ @AC3_LDADD@ -li386
+
+ LIBS = @SDL_LIBS@ @AVILIBDEPLIB@
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/graphics/avifile/patches/patch-ak b/graphics/avifile/patches/patch-ak
new file mode 100644
index 00000000000..8367fa23f31
--- /dev/null
+++ b/graphics/avifile/patches/patch-ak
@@ -0,0 +1,31 @@
+$NetBSD: patch-ak,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/videocodec/Module.cpp.orig Sun Dec 17 01:07:43 2000
++++ lib/videocodec/Module.cpp
+@@ -4,7 +4,7 @@
+ #include <registry.h>
+ #include <except.h>
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/time.h>
+ #endif
+ #define __MODULE__ "Win32 loader"
+@@ -138,7 +138,7 @@
+ int result;
+ DRVR* module=(DRVR*)handle;
+ char qw[200];
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ /* XXX
+ * disable Thread Context Switch in Windows Dll Calls.
+ * Because Thread Switched Win32 Dll Calls <-> another threads
+@@ -155,7 +155,7 @@
+ REST_ALL;
+ __asm__ __volatile__ ("fsave (%0)\n\t": :"r"(&qw));
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ setitimer(ITIMER_PROF,&itoval,NULL);
+ #endif
+ return result;
diff --git a/graphics/avifile/patches/patch-al b/graphics/avifile/patches/patch-al
new file mode 100644
index 00000000000..487a8f73ff2
--- /dev/null
+++ b/graphics/avifile/patches/patch-al
@@ -0,0 +1,39 @@
+$NetBSD: patch-al,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/loader/driver.c.orig Mon Dec 18 02:07:13 2000
++++ lib/loader/driver.c
+@@ -13,7 +13,7 @@
+ #include <wine/vfw.h>
+ #include <registry.h>
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/time.h>
+ #endif
+
+@@ -38,7 +38,7 @@
+ {
+ DRVR* module=(DRVR*)hDriver;
+ int result;
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ struct itimerval itoval;
+ struct itimerval itval;
+ #endif
+@@ -48,14 +48,14 @@
+ if(module==0)return -1;
+ if(module->hDriverModule==0)return -1;
+ if(module->DriverProc==0)return -1;
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ memset(&itval,0,sizeof(struct itimerval));
+ setitimer(ITIMER_PROF ,&itval,&itoval);
+ #endif
+ STORE_ALL;
+ result=module->DriverProc(module->dwDriverID,1,message,lParam1,lParam2);
+ REST_ALL;
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ setitimer(ITIMER_PROF,&itoval,NULL);
+ #endif
+ #ifdef DETAILED_OUT
diff --git a/graphics/avifile/patches/patch-am b/graphics/avifile/patches/patch-am
new file mode 100644
index 00000000000..c77ae2af968
--- /dev/null
+++ b/graphics/avifile/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/loader/win32.c.orig Wed Jan 31 21:23:25 2001
++++ lib/loader/win32.c
+@@ -696,7 +696,7 @@
+ cachedsi.wProcessorLevel = 5; /* pentium */
+ cachedsi.wProcessorRevision = 0x0101;
+
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ cachedsi.dwProcessorType = PROCESSOR_INTEL_PENTIUM;
+ cachedsi.wProcessorLevel= 5;
+ PF[PF_COMPARE_EXCHANGE_DOUBLE] = TRUE;
diff --git a/graphics/avifile/patches/patch-an b/graphics/avifile/patches/patch-an
new file mode 100644
index 00000000000..2080d33f656
--- /dev/null
+++ b/graphics/avifile/patches/patch-an
@@ -0,0 +1,14 @@
+$NetBSD: patch-an,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- player/main.cpp.orig Thu Dec 14 03:37:50 2000
++++ player/main.cpp
+@@ -16,6 +16,9 @@
+ #ifdef __FreeBSD__
+ #include <floatingpoint.h>
+ #endif
++#ifdef __NetBSD__
++#include <machine/ieeefp.h>
++#endif
+ #include "mywidget.h"
+ #include <default.h>
+ #include <version.h>
diff --git a/graphics/avifile/patches/patch-ao b/graphics/avifile/patches/patch-ao
new file mode 100644
index 00000000000..7e5b610908b
--- /dev/null
+++ b/graphics/avifile/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- player/renderer.cpp.orig Wed Feb 7 18:21:11 2001
++++ player/renderer.cpp
+@@ -9,7 +9,7 @@
+
+ #include <unistd.h>
+ #define QT_CLEAN_NAMESPACE
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <machine/param.h>
+ #include <sys/types.h>
+ #endif
diff --git a/graphics/avifile/patches/patch-ap b/graphics/avifile/patches/patch-ap
new file mode 100644
index 00000000000..40407858c99
--- /dev/null
+++ b/graphics/avifile/patches/patch-ap
@@ -0,0 +1,11 @@
+$NetBSD: patch-ap,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/loader/Makefile.am.orig Fri Jan 26 17:06:42 2001
++++ lib/loader/Makefile.am
+@@ -7,6 +7,3 @@
+ -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf -fno-omit-frame-pointer -fno-inline
+
+ LIBS=
+-
+-stubs.lo: stubs.s
+- $(CC) -c ./stubs.s -o stubs.lo
diff --git a/graphics/avifile/patches/patch-aq b/graphics/avifile/patches/patch-aq
new file mode 100644
index 00000000000..cda92623159
--- /dev/null
+++ b/graphics/avifile/patches/patch-aq
@@ -0,0 +1,12 @@
+$NetBSD: patch-aq,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+
+--- lib/videocodec/Makefile.am.orig Wed Jan 10 19:00:05 2001
++++ lib/videocodec/Makefile.am
+@@ -4,7 +4,5 @@
+ ldt_keeper.cpp image.cpp
+ libvideocodec_la_LIBADD=codeckeeper.lo
+ CXXFLAGS=-I../../include
+-codeckeeper.lo: codeckeeper.cpp
+- $(CXX) $(CXXFLAGS) $(DEFINES) -O0 -fPIC -c codeckeeper.cpp -o codeckeeper.lo
+
+ LIBS=
diff --git a/graphics/avifile/pkg/DESCR b/graphics/avifile/pkg/DESCR
new file mode 100644
index 00000000000..afc3e64bb62
--- /dev/null
+++ b/graphics/avifile/pkg/DESCR
@@ -0,0 +1,3 @@
+An MPEG-4 (aka DivX) player built around the Windows binaries,
+but does not need Wine.
+There is also a xmps plugin you can build (manually).
diff --git a/graphics/avifile/pkg/MESSAGE b/graphics/avifile/pkg/MESSAGE
new file mode 100644
index 00000000000..bad38f68ee1
--- /dev/null
+++ b/graphics/avifile/pkg/MESSAGE
@@ -0,0 +1,5 @@
+
+This package requires a kernel built with
+the directive:
+
+options USER_LDT
diff --git a/graphics/avifile/pkg/PLIST b/graphics/avifile/pkg/PLIST
new file mode 100644
index 00000000000..adca83698ba
--- /dev/null
+++ b/graphics/avifile/pkg/PLIST
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/12 21:26:21 zuntum Exp $
+bin/avifile-config
+include/avifile/audiodecoder.h
+include/avifile/audioencoder.h
+include/avifile/avifile.h
+include/avifile/avifmt.h
+include/avifile/aviplay.h
+include/avifile/aviutil.h
+include/avifile/com.h
+include/avifile/config.h
+include/avifile/default.h
+include/avifile/except.h
+include/avifile/image.h
+include/avifile/infotypes.h
+include/avifile/loader.h
+include/avifile/registry.h
+include/avifile/version.h
+include/avifile/videodecoder.h
+include/avifile/videoencoder.h
+include/avifile/wine/basetsd.h
+include/avifile/wine/config.h
+include/avifile/wine/debugtools.h
+include/avifile/wine/driver.h
+include/avifile/wine/elfdll.h
+include/avifile/wine/heap.h
+include/avifile/wine/ldt.h
+include/avifile/wine/mmreg.h
+include/avifile/wine/module.h
+include/avifile/wine/msacm.h
+include/avifile/wine/msacmdrv.h
+include/avifile/wine/ntdef.h
+include/avifile/wine/pe_image.h
+include/avifile/wine/poppack.h
+include/avifile/wine/pshpack1.h
+include/avifile/wine/pshpack2.h
+include/avifile/wine/pshpack4.h
+include/avifile/wine/pshpack8.h
+include/avifile/wine/vfw.h
+include/avifile/wine/winbase.h
+include/avifile/wine/windef.h
+include/avifile/wine/windows.h
+include/avifile/wine/winerror.h
+include/avifile/wine/winestring.h
+include/avifile/wine/winnt.h
+include/avifile/wine/winreg.h
+include/avifile/wine/winuser.h
+lib/libaviplay.a
+lib/libaviplay.la
+lib/libaviplay.so
+lib/libaviplay.so.0
+lib/libaviplay.so.0.0
+share/avifile/about.ppm
+share/avifile/open.ppm
+share/avifile/pause.ppm
+share/avifile/play.ppm
+share/avifile/stop.ppm
+share/avifile/test.png
+@dirrm share/avifile
+@dirrm include/avifile/wine
+@dirrm include/avifile