summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/jhead/Makefile27
-rw-r--r--graphics/jhead/distinfo4
-rw-r--r--graphics/jhead/pkg/DESCR15
-rw-r--r--graphics/jhead/pkg/PLIST4
4 files changed, 50 insertions, 0 deletions
diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile
new file mode 100644
index 00000000000..600bc3dec5b
--- /dev/null
+++ b/graphics/jhead/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/09/02 15:35:37 veego Exp $
+#
+
+DISTNAME= jhead
+PKGNAME= jhead-1.3
+CATEGORIES= graphics
+MASTER_SITES= http://www.sentex.net/~mwandel/jhead/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= veego@netbsd.org
+HOMEPAGE= http://www.sentex.net/~mwandel/jhead/
+COMMENT= Extract EXIF header from JPEG image
+
+DIST_SUBDIR= ${DISTNAME}
+NO_WRKSUBDIR= YES
+
+LIBS= -lm
+
+do-build:
+ cd ${WRKSRC} && ${CC} ${CFLAGS} ${LIBS} -o jhead jhead.c exif.c
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/jhead
+ ${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/usage.html ${PREFIX}/share/doc/html/jhead
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/jhead/distinfo b/graphics/jhead/distinfo
new file mode 100644
index 00000000000..f3e75f9996d
--- /dev/null
+++ b/graphics/jhead/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/09/02 15:35:37 veego Exp $
+
+SHA1 (jhead/jhead.zip) = 6cea04ea736623c5a58b16240f5a08ba5e6c6b33
+Size (jhead/jhead.zip) = 27186 bytes
diff --git a/graphics/jhead/pkg/DESCR b/graphics/jhead/pkg/DESCR
new file mode 100644
index 00000000000..a16f3a3bcb8
--- /dev/null
+++ b/graphics/jhead/pkg/DESCR
@@ -0,0 +1,15 @@
+Program for extracting Digicam setting information from Exif Jpeg headers
+used by most Digital Cameras.
+Things the 'jhead' program can extract from an Exif file:
+ - Integral low-res Exif thumbnail
+ - Shutter speed
+ - Camera F-stop number
+ - Flash used (yes/no)
+ - Focus distance (some digital cameras store this element - very
+ interesting)
+ - Focal length (most zoom cameras store their zoomed-to focal length)
+ - Equivalent 35mm focal length (Calculated from focal length, CCD size,
+ and CCD resolution)
+ - Image resolution
+ - Time and date picture was taken
+ - Camera make and model
diff --git a/graphics/jhead/pkg/PLIST b/graphics/jhead/pkg/PLIST
new file mode 100644
index 00000000000..396689c8b36
--- /dev/null
+++ b/graphics/jhead/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/02 15:35:37 veego Exp $
+bin/jhead
+share/doc/html/jhead/usage.html
+@dirrm share/doc/html/jhead