summaryrefslogtreecommitdiff
path: root/graphics/jhead/Makefile
diff options
context:
space:
mode:
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"