mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
33 lines
730 B
Makefile
33 lines
730 B
Makefile
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= exrtools
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 9
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://scanline.ca/exrtools/ \
|
|
CRITICAL
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Utilities for manipulating with HDR images in OpenEXR format
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
|
|
libpng15.so:${PORTSDIR}/graphics/png \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= pkgconfig gmake
|
|
|
|
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>
|