aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jhead/Makefile
blob: 4ea1e523758bdbd9f5ad7fb651643f4854dec68f (plain) (blame)
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
28
29
30
# New ports collection makefile for:   jhead
# Date created:                01 Dec 2001
# Whom:                        Jamie Hermans <jamie@hermans.ca>
#
# $FreeBSD$
#

PORTNAME=   jhead
PORTVERSION=    2.2
CATEGORIES= graphics
MASTER_SITES=   http://www.sentex.net/~mwandel/jhead/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Exif Jpeg camera setting parser and thumbnail remover

PORTDOCS=   usage.html
PLIST_FILES=    bin/jhead

do-build:
    cd ${WRKSRC} && ${CC} ${CFLAGS} exif.c jhead.c jpgfile.c makernote.c \
        -o jhead -lm

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/usage.html ${DOCSDIR}
.endif

.include <bsd.port.mk>