Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

2
graphics/bktr2jpeg/DESCR Normal file
View File

@@ -0,0 +1,2 @@
Grabs images from /dev/bktr and saves them as jpeg files.
That makes a console based, simple webcam program.

View File

@@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.13 2012/10/06 14:10:41 asau Exp $
#
DISTNAME= bktr2jpeg-1.0
PKGREVISION= 3
CATEGORIES= graphics
MASTER_SITES= http://core.de/~coto/projects/bktr2jpeg/
MAINTAINER= coto@core.de
HOMEPAGE= http://core.de/~coto/projects/bktr2jpeg/
COMMENT= Write jpeg image captured from /dev/bktr to file
ONLY_FOR_PLATFORM= NetBSD-*-* DragonFly-*-* FreeBSD-*-*
MAKE_FLAGS+= INSTALL=${INSTALL_PROGRAM:Q}
INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX}
INSTALLATION_DIRS= bin
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

2
graphics/bktr2jpeg/PLIST Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/29 00:13:14 wiz Exp $
bin/bktr2jpeg

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.3 2006/04/21 08:26:18 joerg Exp $
SHA1 (bktr2jpeg-1.0.tar.gz) = 77c23db1826936fc1dc920ea7a3c8ae5800655a1
RMD160 (bktr2jpeg-1.0.tar.gz) = 99593aeaf12c56c07cee74a8f24a0d3f65b9f765
Size (bktr2jpeg-1.0.tar.gz) = 4716 bytes
SHA1 (patch-aa) = 822c9035b160432821e8b2d2b68d9b1c0456eea2
SHA1 (patch-ab) = 625b8c132f25b27ab7a0824b2ede94c6bca63737

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-aa,v 1.1.1.1 2002/09/29 00:13:14 wiz Exp $
--- Makefile.orig Wed Sep 25 01:13:27 2002
+++ Makefile
@@ -1,6 +1,6 @@
appname = bktr2jpeg
-prefix = /usr/pkg
+prefix = ${PREFIX}
exec_prefix = ${prefix}
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-ab,v 1.1 2006/04/21 08:26:18 joerg Exp $
--- bktr2jpeg.c.orig 2002-09-24 23:01:01.000000000 +0000
+++ bktr2jpeg.c
@@ -65,12 +65,13 @@ extern "C"
#ifdef __NetBSD__
#include <dev/ic/bt8xx.h>
-#endif /* NetBSD */
-
-#ifdef __FreeBSD__
+#elif defined(__FreeBSD__)
#include <machine/ioctl_meteor.h>
#include <machine/ioctl_bt848.h>
-#endif /* __FreeBSD__ */
+#elif defined(__DragonFly__)
+#include <dev/video/meteor/ioctl_meteor.h>
+#include <dev/video/bktr/ioctl_bt848.h>
+#endif
/* which device */
#define VIDEO_DEV "/dev/bktr"