summaryrefslogtreecommitdiff
path: root/graphics/camediaplay
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-05-20 06:28:56 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-05-20 06:28:56 +0000
commit425f4552d97f848175155ba2b2afe0f1c3d290f5 (patch)
treeb4538575a662ca626a86d184c5c1fa4d47fca072 /graphics/camediaplay
parentAdd snooper. (diff)
Camediaplay is a data downloading tool (via serial) for Sanyo digital
camera engine. PR: 3520 Submitted by: itojun@itojun.org
Notes
Notes: svn path=/head/; revision=6506
Diffstat (limited to 'graphics/camediaplay')
-rw-r--r--graphics/camediaplay/Makefile29
-rw-r--r--graphics/camediaplay/distinfo1
-rw-r--r--graphics/camediaplay/pkg-comment1
-rw-r--r--graphics/camediaplay/pkg-descr72
-rw-r--r--graphics/camediaplay/pkg-message2
-rw-r--r--graphics/camediaplay/pkg-plist5
6 files changed, 110 insertions, 0 deletions
diff --git a/graphics/camediaplay/Makefile b/graphics/camediaplay/Makefile
new file mode 100644
index 000000000000..b2bdedb85c8c
--- /dev/null
+++ b/graphics/camediaplay/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: camediaplay
+# Date created: 2 May 1997
+# Whom: Jun-ichiro itojun Itoh <itojun@itojun.org>
+#
+# $Id$
+#
+
+DISTNAME= camediaplay-970418
+CATEGORIES= graphics
+MASTER_SITES= ftp://ftp.csl.sony.co.jp/pub/C-400L/unix/
+
+MAINTAINER= itojun@itojun.org
+
+WRKSRC= ${WRKDIR}/camediaplay/build
+HAS_CONFIGURE= yes
+
+RESTRICTED= "Beta test period, redistribution prohibited"
+
+DOC= README.english README.japanese PROTOCOL
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/camediaplay
+ for i in ${DOC}; do \
+ ${INSTALL_DATA} ${WRKSRC}/../$$i \
+ ${PREFIX}/share/doc/camediaplay; \
+ done
+ ${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>
diff --git a/graphics/camediaplay/distinfo b/graphics/camediaplay/distinfo
new file mode 100644
index 000000000000..10765a7b7cdd
--- /dev/null
+++ b/graphics/camediaplay/distinfo
@@ -0,0 +1 @@
+MD5 (camediaplay-970418.tar.gz) = 46f370c6cff7de9220f536dac6a46de2
diff --git a/graphics/camediaplay/pkg-comment b/graphics/camediaplay/pkg-comment
new file mode 100644
index 000000000000..72cad4a72463
--- /dev/null
+++ b/graphics/camediaplay/pkg-comment
@@ -0,0 +1 @@
+digital camera downloading tool for Sanyo protocol (Epson/Sanyo/Olympus/Agfa)
diff --git a/graphics/camediaplay/pkg-descr b/graphics/camediaplay/pkg-descr
new file mode 100644
index 000000000000..e1a36529b53e
--- /dev/null
+++ b/graphics/camediaplay/pkg-descr
@@ -0,0 +1,72 @@
+camediaplay
+ Camediaplay is a data downloading tool (via serial) for Sanyo
+ digital camera engine.
+ It is known to work with:
+ - Olympus C-400/400L/800L/410L, D-200L/300L
+ - Epson CP-100
+ - Sanyo VPC-G1
+ It should work with:
+ - Sanyo DSC-V1
+ - Agfa ePhoto307
+ - Epson CP-200/500?
+
+USAGE
+ camediaplay [options] port query # of picts
+ camediaplay [options] -o port >foo.jpg extract jpg to stdout
+ camediaplay [options] -g port extract jpg to file
+ camediaplay [options] -S port get settings of camera
+
+ common options:
+ -b# Baudrate. (default: 19200bps)
+ -d Dump mode. Transaction longer than 30 bytes
+ will be truncated.
+ -d# Dump mode. You can specify threshold for truncation.
+ -u Don't use uucp locking. (questionable option)
+ -v Verbose mode.
+ -D Debug mode.
+ port Serial port. Can be full path (/dev/tty00),
+ or just device name (tty00).
+
+ options in -o/-g mode:
+ -a Specify that you would like to download all the picts.
+ -s# Specify picture # to start download.
+ -e# Specify picture # to finish download.
+ -n# Specify that you would like to download just 1 pict,
+ that is numbered with #.
+ -t Get thumbnail instead of full-sized picts.
+
+ options in -g mode:
+ -Nxxx Specify the output filename, in sprintf() format.
+ Default is: "pic%05d.jpg".
+ (Be careful about escaping shell meta characters!)
+ -i Don't overwrite existing files.
+ If the file to be written is already there,
+ simply exit with error.
+
+ NOTICE: -o mode won't work with multiple pictures specified.
+
+EXAMPLE USAGE
+ % camediaplay cuaa0
+ get the number of picts.
+ % camediaplay -n10 -o cuaa0 > foo.jpg
+ get full-sized picture #10 to foo.jpg through stdout.
+ % camediaplay -n10 -t -o cuaa0 > foo.jpg
+ get thumbnail picture #10 to foo.jpg through stdout.
+ % camediaplay -a -g cuaa0
+ get all full-sized pictures into "pic00001.jpg", "pic00002.jpg"
+ and so forth.
+ % camediaplay -s2 -e4 -g cuaa0
+ get full-sized pictures from #2 to #4 into "pic00001.jpg",
+ "pic00002.jpg" and so forth.
+ % camediaplay -s2 -e4 -Npict%02d.jpg -g cuaa0
+ get full-sized pictures from #2 to #4 into "pict01.jpg",
+ "pict02.jpg" and so forth.
+
+REPORTING BUGS
+ Please use one of the following methods:
+ - via http://www.itojun.org/cgi-bin/gnats-send-pr
+ - via e-mail to: itojun@itojun.org
+
+AUTHOR
+ Copyright(c) 1997 by Jun-ichiro Itoh. All rights reserved.
+ Jun-ichiro itojun Itoh <itojun@itojun.org>
diff --git a/graphics/camediaplay/pkg-message b/graphics/camediaplay/pkg-message
new file mode 100644
index 000000000000..96214d837345
--- /dev/null
+++ b/graphics/camediaplay/pkg-message
@@ -0,0 +1,2 @@
+camediaplay has been installed.
+Documents can be found at: /usr/local/share/doc/camediaplay
diff --git a/graphics/camediaplay/pkg-plist b/graphics/camediaplay/pkg-plist
new file mode 100644
index 000000000000..ef673abc33a3
--- /dev/null
+++ b/graphics/camediaplay/pkg-plist
@@ -0,0 +1,5 @@
+bin/camediaplay
+share/doc/camediaplay/README.english
+share/doc/camediaplay/README.japanese
+share/doc/camediaplay/PROTOCOL
+@dirrm share/doc/camediaplay