# New ports collection makefile for:	exifprobe
# Date created:		2004-07-21
# Whom:			Michael Johnson <ahze@ahze.net>
#
# $FreeBSD: branches/RELEASE_8_4_0/graphics/exifprobe/Makefile 306826 2012-11-01 22:52:24Z amdmi3 $
#

PORTNAME=	exifprobe
DISTVERSION=	2.0.1
CATEGORIES=	graphics
MASTER_SITES=	http://mirror.amdmi3.ru/distfiles/

MAINTAINER=	amdmi3@FreeBSD.org
COMMENT=	Probes JPEG or TIFF images and reports contents and structure

MAN1=		exifgrep.1 exifprobe.1
PLIST_FILES=	bin/exifgrep bin/exifprobe

post-patch:
	@${REINPLACE_CMD} -e 's|cc|${CC}|; s|-DC|${CFLAGS} -DC|' \
		${WRKSRC}/${MAKEFILE}

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/exifgrep ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/exifprobe ${PREFIX}/bin
.for i in ${MAN1}
	@${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
.endfor

.include <bsd.port.mk>
