aboutsummaryrefslogblamecommitdiff
path: root/graphics/exrtools/Makefile
blob: e92fb4d05b3cefa57b57ec31fbde37b47cc2c867 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                


                        
                  
                        
                                              
                            
 
                                  

                                                                            

                     
                                              
                                        
                                             
 
                                                                          
 
                   
 




                                                         

                      
# Created by: Emanuel Haupt <ehaupt@critical.ch>

PORTNAME=	exrtools
PORTVERSION=	0.4
PORTREVISION=	24
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=	libImath.so:graphics/ilmbase \
		libpng.so:graphics/png \
		libIlmImf.so:graphics/openexr

USES=		compiler:c++11-lang gmake jpeg localbase:ldflags pkgconfig

GNU_CONFIGURE=	yes

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>