openbsd-ports/graphics/openexr/Makefile
2013-03-21 08:45:11 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2013/03/21 08:45:19 ajacoutot Exp $
COMMENT-main= high dynamic range image format
COMMENT-tools= image viewing tools for OpenEXR
COMMENT-doc= developer documentation for OpenEXR
V= 1.6.1
DISTNAME= openexr-$V
PKGNAME-main= OpenEXR-$V
REVISION-main = 2
PKGNAME-tools= OpenEXR-tools-$V
REVISION-tools = 1
PKGNAME-doc= OpenEXR-doc-$V
SHARED_LIBS= IlmImf 4.0 # .6.0
CATEGORIES= graphics
HOMEPAGE= http://www.openexr.com/
# Modified BSD license
# `name of ILM not to be used for advertizing without written agreement'
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=openexr/}
MULTI_PACKAGES= -main -tools -doc
WANTLIB-main= m z stdc++ Half Iex Imath IlmThread pthread
LIB_DEPENDS-main= graphics/ilmbase
WANTLIB-tools= ${WANTLIB-main} c m pthread stdc++ IlmImf>=4
LIB_DEPENDS-tools= ${LIB_DEPENDS-main} graphics/openexr
PKG_ARCH-doc= *
# Test unhappy with separate build
#SEPARATE_BUILD= Yes
CONFIGURE_STYLE= gnu
USE_GMAKE= Yes
DOCDIR= ${PREFIX}/share/doc/OpenEXR
FAKE_FLAGS+= docdir=${DOCDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCDIR}
.include <bsd.port.mk>