summaryrefslogtreecommitdiff
path: root/graphics/jhead/Makefile
blob: 2faa33e59a62c14abb5d04149b62a0ef51796ed3 (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
27
# $NetBSD: Makefile,v 1.2 2001/09/09 20:36:30 agc 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}
WRKSRC=		${WRKDIR}

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"