View | Details | Raw Unified | Return to bug 58439
Collapse All | Expand All

(-)/tmp/fujiplay/Makefile (-7 / +1 lines)
Lines 19-30 Link Here
19
19
20
PORTSDOC=	README fujiplay.lsm mx700-commands.html
20
PORTSDOC=	README fujiplay.lsm mx700-commands.html
21
21
22
.include <bsd.port.pre.mk>
23
24
.if ${OSVERSION} >= 501000
25
BROKEN=		"Does not compile"
26
.endif
27
28
do-install:
22
do-install:
29
	(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${PREFIX}/bin)
23
	(cd ${WRKDIR}; ${INSTALL_PROGRAM} fujiplay yycc2ppm ${PREFIX}/bin)
30
.if !defined(NOPORTDOCS)
24
.if !defined(NOPORTDOCS)
Lines 34-37 Link Here
34
.endfor
28
.endfor
35
.endif
29
.endif
36
30
37
.include <bsd.port.post.mk>
31
.include <bsd.port.mk>
(-)/tmp/fujiplay/files/patch-fujiplay.c (+74 lines)
Line 0 Link Here
1
--- fujiplay.c.orig	Thu Oct 23 17:04:58 2003
2
+++ fujiplay.c	Thu Oct 23 17:09:08 2003
3
@@ -759,40 +759,38 @@
4
 	return 1;
5
 }
6
 
7
-const char *Usage = "\
8
-Usage: fujiplay [OPTIONS] PICTURES...          (download)
9
-                          charge NUMBER        (recharge the flash)
10
-                          shoot                (take picture)
11
-                          preview              (preview to standard output)
12
-                          upload FILES...
13
-                          delete FILES...
14
-                          setid STRING         (set camera ID)
15
-                          setflash MODE        (0=Off, 1=On, 2=Strobe, 3=Auto)
16
-                          setdate gmt|local|YYYYMMDDHHMMSS
17
-Options:
18
-  -B NUMBER	Set baudrate (115200, 57600, 38400, 19200, 9600 or 0)
19
-  -D DEVICE	Select another device file (default is /dev/fujifilm)
20
-  -L		List command set
21
-  -7		DS-7 compatibility mode (experimental)
22
-  -d		Delete pictures after successful download
23
-  -f		Force (overwrite existing files)
24
-  -p		Assume picture numbers instead of frame numbers
25
-  -h		Display this help message
26
-  -v		Version information
27
-Pictures:
28
-  all		All pictures
29
-  last		Last picture
30
-  4		Only picture 4
31
-  2-10		Pictures between 2 and 10
32
-Files:
33
-  DSCxxxxx.JPG	Files to delete or to upload into the camera
34
-";
35
+const char *Usage =
36
+"Usage: fujiplay [OPTIONS] PICTURES...          (download)\n"\
37
+"                          charge NUMBER        (recharge the flash)\n"\
38
+"                          shoot                (take picture)\n"\
39
+"                          preview              (preview to standard output)\n"\
40
+"                          upload FILES...\n"\
41
+"                          delete FILES...\n"\
42
+"                          setid STRING         (set camera ID)\n"\
43
+"                          setflash MODE        (0=Off, 1=On, 2=Strobe, 3=Auto)\n"\
44
+"                          setdate gmt|local|YYYYMMDDHHMMSS\n"\
45
+"Options:\n"\
46
+"  -B NUMBER	Set baudrate (115200, 57600, 38400, 19200, 9600 or 0)\n"\
47
+"  -D DEVICE	Select another device file (default is /dev/fujifilm)\n"\
48
+"  -L		List command set\n"\
49
+"  -7		DS-7 compatibility mode (experimental)\n"\
50
+"  -d		Delete pictures after successful download\n"\
51
+"  -f		Force (overwrite existing files)\n"\
52
+"  -p		Assume picture numbers instead of frame numbers\n"\
53
+"  -h		Display this help message\n"\
54
+"  -v		Version information\n"\
55
+"Pictures:\n"\
56
+"  all		All pictures\n"\
57
+"  last		Last picture\n"\
58
+"  4		Only picture 4\n"\
59
+"  2-10		Pictures between 2 and 10\n"\
60
+"Files:\n"\
61
+"  DSCxxxxx.JPG	Files to delete or to upload into the camera\n";
62
 
63
-const char *Copyright = "\
64
-Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $
65
-Written by Thierry Bousch <bousch@topo.math.u-psud.fr>
66
-Public domain. Absolutely no warranty.
67
-";
68
+const char *Copyright =
69
+"Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $\n"\
70
+"Written by Thierry Bousch <bousch@topo.math.u-psud.fr>\n"\
71
+"Public domain. Absolutely no warranty.\n";
72
 
73
 static void sigint_handler (int sig)
74
 {

Return to bug 58439