summaryrefslogtreecommitdiff
path: root/graphics/jhead/Makefile
blob: 616cf77624d485100daa9b89609d5ee08560b2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.8 2002/10/09 18:45:16 wiz Exp $
#

DISTNAME=	jhead-1.8
CATEGORIES=	graphics
MASTER_SITES=	http://www.sentex.net/~mwandel/jhead/

MAINTAINER=	veego@netbsd.org
HOMEPAGE=	http://www.sentex.net/~mwandel/jhead/
COMMENT=	Extract EXIF header from JPEG image

LIBS=		-lm -L${BUILDLINK_PREFIX.jpeg}/lib -Wl,-R${BUILDLINK_PREFIX.jpeg}/lib -ljpeg

USE_BUILDLINK2=	yes

do-build:
	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/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"