freebsd-ports/graphics/exrtools/Makefile

36 lines
855 B
Makefile
Raw Normal View History

2013-04-23 09:59:07 +02:00
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= exrtools
PORTVERSION= 0.4
PORTREVISION= 15
CATEGORIES= graphics
MASTER_SITES= http://scanline.ca/exrtools/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Utilities for manipulating with HDR images in OpenEXR format
2011-12-27 16:14:23 +01:00
LICENSE= GPLv2
LIB_DEPENDS= libImath.so:graphics/ilmbase \
libpng.so:graphics/png \
libIlmImf.so:graphics/openexr
BROKEN_armv6= fails to configure: checking for /nxb-bin/usr/bin/cc... no
BROKEN_armv7= fails to configure: checking for /nxb-bin/usr/bin/cc... no
GNU_CONFIGURE= yes
2015-06-22 20:33:20 +02:00
USES= gmake jpeg pkgconfig
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \
${WRKSRC}/src/exrnormalize.c \
${WRKSRC}/src/exrpptm.c \
${WRKSRC}/src/exrstats.c
.include <bsd.port.mk>