diff --git a/graphics/Makefile b/graphics/Makefile index ce8dffec22c9..37147601e6de 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -120,6 +120,7 @@ SUBDIR += jbigkit SUBDIR += jgraph SUBDIR += jgv + SUBDIR += jhead SUBDIR += jpeg SUBDIR += jpeg2ps-a4 SUBDIR += jpeg2ps-letter diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile new file mode 100644 index 000000000000..5fdc4f4b9dd6 --- /dev/null +++ b/graphics/jhead/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: jhead +# Date created: 01 Dec 2001 +# Whom: Jamie Hermans +# +# $FreeBSD$ +# + +PORTNAME= jhead +PORTVERSION= 1.5 +CATEGORIES= graphics +MASTER_SITES= http://www.sentex.net/~mwandel/jhead/ +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= jhead + +MAINTAINER= jamie@hermans.ca + +USE_ZIP= yes + +NO_WRKSUBDIR= yes +MAKEFILE= ${FILESDIR}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/usage.html ${DOCSDIR} +.endif + +.include diff --git a/graphics/jhead/distinfo b/graphics/jhead/distinfo new file mode 100644 index 000000000000..53d6d9d0245a --- /dev/null +++ b/graphics/jhead/distinfo @@ -0,0 +1 @@ +MD5 (jhead.zip) = 4baed69ea14629f49ff4935915be6b12 diff --git a/graphics/jhead/files/Makefile b/graphics/jhead/files/Makefile new file mode 100644 index 000000000000..cc9f11785303 --- /dev/null +++ b/graphics/jhead/files/Makefile @@ -0,0 +1,17 @@ +#-------------------------------- +# jhead makefile for FreeBSD +# $FreeBSD$ +#-------------------------------- + +OBJ=. +SRC=. + +all: jhead + +objs = $(OBJ)/jhead.o $(OBJ)/exif.o + +$(OBJ)/%.o:$(SRC)/%.c + cc ${CFLAGS} -Wall -c $< -o $@ + +jhead: $(objs) jhead.h + cc -o jhead $(objs) -lm diff --git a/graphics/jhead/pkg-comment b/graphics/jhead/pkg-comment new file mode 100644 index 000000000000..b31c0295659e --- /dev/null +++ b/graphics/jhead/pkg-comment @@ -0,0 +1 @@ +Exif Jpeg camera setting parser and thumbnail remover diff --git a/graphics/jhead/pkg-descr b/graphics/jhead/pkg-descr new file mode 100644 index 000000000000..dad5f318c465 --- /dev/null +++ b/graphics/jhead/pkg-descr @@ -0,0 +1,21 @@ +'jhead' is a program to parse through the little file system in the Exif +headers and extract digital camera settings. + +Information that 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) + 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 + +WWW: http://www.sentex.net/~mwandel/jhead/ + +- Jamie +jamie@hermans.ca diff --git a/graphics/jhead/pkg-plist b/graphics/jhead/pkg-plist new file mode 100644 index 000000000000..70677f6dee8d --- /dev/null +++ b/graphics/jhead/pkg-plist @@ -0,0 +1,3 @@ +bin/jhead +%%PORTDOCS%%share/doc/jhead/usage.html +%%PORTDOCS%%@dirrm share/doc/jhead