1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/graphics/exifprobe/Makefile
Piotr Kubaj 6ded79e7bc graphics/exifprobe: fix threaded build
--- readfile.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DCOLOR -O -c readfile.c -o readfile.o
readfile.c:30:23: error: byteorder.h: No such file or directory
*** [readfile.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/exifprobe/work/exifprobe-2.0.1
Creating byteorder.h: #define NATIVE_BYTEORDER_BIGENDIAN
2020-11-17 20:14:34 +00:00

30 lines
803 B
Makefile

# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
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
MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/exifgrep \
bin/exifprobe \
man/man1/exifgrep.1.gz \
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}${MAN1PREFIX}/man/man1/
${INSTALL_MAN} ${WRKSRC}/exifprobe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>