aboutsummaryrefslogtreecommitdiff
path: root/graphics/exifprobe/Makefile
blob: 19da04f0299165ad634841edf5ec8ed83ef2d308 (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
PORTNAME=	exifprobe
DISTVERSION=	2.0.1
CATEGORIES=	graphics
MASTER_SITES=	https://mirror.amdmi3.ru/distfiles/

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

MAKE_JOBS_UNSAFE=	yes

PLIST_FILES=	bin/exifgrep \
		bin/exifprobe \
		share/man/man1/exifgrep.1.gz \
		share/man/man1/exifprobe.1.gz

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

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/exifgrep ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_PROGRAM} ${WRKSRC}/exifprobe ${STAGEDIR}${PREFIX}/bin/
	${INSTALL_MAN} ${WRKSRC}/exifgrep.1 ${STAGEDIR}${PREFIX}/share/man/man1/
	${INSTALL_MAN} ${WRKSRC}/exifprobe.1 ${STAGEDIR}${PREFIX}/share/man/man1/

.include <bsd.port.mk>