summaryrefslogtreecommitdiff
path: root/graphics/jhead/Makefile
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2002-08-04 21:54:50 +0000
committerjdolecek <jdolecek>2002-08-04 21:54:50 +0000
commit9a2877d86b7e4d128441464404a4db6cd9fb3cdc (patch)
treebcb800b2a92349c9648839edd5201be92128cb24 /graphics/jhead/Makefile
parent76854f04b3d12525116006eb0b702fa562da6aeb (diff)
downloadpkgsrc-9a2877d86b7e4d128441464404a4db6cd9fb3cdc.tar.gz
update to jhead-1.8.
changes: - Ignore undefined bits of "flash used" tag, as cannon sets them nonzero, causing jhead to indicate flash used when it wasn't with some Canon models. - Automatic rotation using jpegtran & clear rotation element - Option to put a file in as comments (as opposed to edit file) This adresses pkg/17816 by Eric Jacoboni
Diffstat (limited to 'graphics/jhead/Makefile')
-rw-r--r--graphics/jhead/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile
index 2a8f42d82a0..f82a5c30fd6 100644
--- a/graphics/jhead/Makefile
+++ b/graphics/jhead/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2002/02/10 22:47:47 veego Exp $
+# $NetBSD: Makefile,v 1.6 2002/08/04 21:54:50 jdolecek Exp $
#
-DISTNAME= jhead-1.6
+DISTNAME= jhead-1.8
CATEGORIES= graphics
MASTER_SITES= http://www.sentex.net/~mwandel/jhead/
@@ -9,16 +9,16 @@ MAINTAINER= veego@netbsd.org
HOMEPAGE= http://www.sentex.net/~mwandel/jhead/
COMMENT= Extract EXIF header from JPEG image
-WRKSRC= ${WRKDIR}/${DISTNAME:S/-//}
-
-LIBS= -lm
+LIBS= -lm -L${LOCALBASE}/lib -ljpeg
do-build:
- cd ${WRKSRC} && ${CC} ${CFLAGS} ${LIBS} -o jhead jhead.c exif.c
+ cd ${WRKSRC} && \
+ ${CC} ${CFLAGS} -o jhead jhead.c exif.c jpgfile.c ${LIBS}
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 "../../graphics/jpeg/buildlink.mk"
.include "../../mk/bsd.pkg.mk"