aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-04-17 16:25:42 +0800
committerume <ume@FreeBSD.org>2005-04-17 16:25:42 +0800
commit304324cc8a9f121064a37da4f52262b225579c1b (patch)
tree81668271eaf946cafa1421b3d0b98addc5a936d0
parentf3687576bccbfe8b46805e7c8cb1346129386b88 (diff)
downloadfreebsd-ports-gnome-304324cc8a9f121064a37da4f52262b225579c1b.tar.gz
freebsd-ports-gnome-304324cc8a9f121064a37da4f52262b225579c1b.tar.zst
freebsd-ports-gnome-304324cc8a9f121064a37da4f52262b225579c1b.zip
New port - a graphics program that lets you capture image
with USB camera using spca5xx chips. PR: ports/79085 Submitted by: Yoshihiko Sarumaru <mistral_at_imasy.or.jp>
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/spcaview/Makefile45
-rw-r--r--graphics/spcaview/distinfo4
-rw-r--r--graphics/spcaview/pkg-descr24
4 files changed, 74 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 9c6a44ec83e4..00dbe50da5bf 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -498,6 +498,7 @@
SUBDIR += sng
SUBDIR += snx101util
SUBDIR += sodipodi
+ SUBDIR += spcaview
SUBDIR += springgraph
SUBDIR += stamp
SUBDIR += svg2png
diff --git a/graphics/spcaview/Makefile b/graphics/spcaview/Makefile
new file mode 100644
index 000000000000..0ae4af8c1cff
--- /dev/null
+++ b/graphics/spcaview/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: spca5xx
+# Date created: 21 March 2005
+# Whom: Yoshihiko Sarumaru <mistral@imasy.or.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= spca5xx
+PORTVERSION= 20050206
+CATEGORIES= graphics
+MASTER_SITES= http://mxhaard.free.fr/spca50x/Download/
+
+PATCH_SITES= http://www2.starcat.ne.jp/~takam/bsd/
+PATCHFILES= spca5xx-bsd-0.3b.patch.gz
+PATCH_DIST_STRIP= -p3
+
+MAINTAINER= mistral@imasy.or.jp
+COMMENT= USB Cameras based SPCA5xx Utilities
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/drivers/usb
+
+.if defined(WITHOUT_X11)
+COMPONENTS= spca5shot
+.else
+USE_GNOME= imlib gtk12
+COMPONENTS= spca5shot spca5view
+.endif
+
+MAN1= ${COMPONENTS:S/$/.1/}
+MANCOMPRESSED= yes
+PLIST_FILES= ${COMPONENTS:S/^/bin\//}
+
+MAKE_ARGS+= MANDIR=${MANPREFIX}/man/man
+
+do-build:
+.for component in ${COMPONENTS}
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile.${component} ${MAKE_ARGS} ${ALL_TARGET})
+.endfor
+
+do-install:
+.for component in ${COMPONENTS}
+ @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile.${component} ${MAKE_ARGS} ${INSTALL_TARGET})
+.endfor
+
+.include <bsd.port.mk>
diff --git a/graphics/spcaview/distinfo b/graphics/spcaview/distinfo
new file mode 100644
index 000000000000..47ef99752c20
--- /dev/null
+++ b/graphics/spcaview/distinfo
@@ -0,0 +1,4 @@
+MD5 (spca5xx-20050206.tar.gz) = 309b55f83238147ce2d0ff82961f1ce9
+SIZE (spca5xx-20050206.tar.gz) = 147019
+MD5 (spca5xx-bsd-0.3b.patch.gz) = 50f08ce2e320c61f5675e1c9b25fb6a7
+SIZE (spca5xx-bsd-0.3b.patch.gz) = 25917
diff --git a/graphics/spcaview/pkg-descr b/graphics/spcaview/pkg-descr
new file mode 100644
index 000000000000..60576b77978b
--- /dev/null
+++ b/graphics/spcaview/pkg-descr
@@ -0,0 +1,24 @@
+USB Cameras based SPCA5xx Utilities for NetBSD
+-----------------------------------------------
+1. What is it?
+ They are patches from SPCA5xx chipset linux driver to be worked on *BSD,
+ There is included two userland programs as follow;
+ spca5shot ... simple image capture program.
+ spca5view ... sequential image viewer program.
+
+2. Supported USB cameras
+ Vendor Device Product Name
+ ------ ------ ------------
+ 0x041e 0x403a Creative webcam nx pro
+ 0x04fc 0x0561 FlexiCam B100
+ 0x0572 0x0041 Creative webcam notebook PD1170
+ 0x060b 0xa001 Maxell CompactPC Camera PM3
+ 0x0733 0x0401 Intel CS330
+ 0x0ac8 0x301b LOAS MCM-H06SL
+ 0x0ac8 0x301b sanwa CMS-V11
+ 0x0c45 0x6025 LOAS MCM-S02SL ( 352x288 not worked )
+ 0x0c45 0x6025 VGA WEB CAMERA "WEB CAM." ( 352x288 not worked )
+ 0x0c45 0x6029 Raccoon AM-ST3
+ 0xabcd 0xcdee SIGMA-APO Petcam
+
+WWW: http://www2.starcat.ne.jp/~takam/bsd/NetBSD.html#spca561