freebsd-ports/graphics/exrtools/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

31 lines
673 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= exrtools
PORTVERSION= 0.4
PORTREVISION= 12
CATEGORIES= graphics
MASTER_SITES= http://scanline.ca/exrtools/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Utilities for manipulating with HDR images in OpenEXR format
LICENSE= GPLv2
LIB_DEPENDS= libIlmImf.so:graphics/OpenEXR \
libpng.so:graphics/png
GNU_CONFIGURE= yes
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>