openbsd-ports/graphics/openexr/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

2011-05-02 14:54:06 -04:00
# $OpenBSD: Makefile,v 1.18 2011/05/02 18:54:06 jasper 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
2010-11-09 13:22:26 -05:00
PKGNAME-main= OpenEXR-$V
REVISION-main = 1
PKGNAME-tools= OpenEXR-tools-$V
REVISION-tools = 0
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'
2006-11-24 18:09:54 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=openexr/}
MULTI_PACKAGES= -main -tools -doc
2010-11-09 13:22:26 -05:00
WANTLIB-main= m z stdc++ Half Iex Imath IlmThread
2010-11-17 03:05:12 -05:00
LIB_DEPENDS-main= graphics/ilmbase
2010-11-17 03:05:12 -05:00
WANTLIB-tools= ${WANTLIB-main} c m pthread stdc++ IlmImf>=4
LIB_DEPENDS-tools= ${LIB_DEPENDS-main} graphics/openexr
2006-11-24 18:09:54 -05:00
PKG_ARCH-doc= *
# Regress unhappy with separate build
#SEPARATE_BUILD= simple
CONFIGURE_STYLE= gnu
USE_GMAKE= Yes
USE_LIBTOOL= Yes
DOCDIR= ${PREFIX}/share/doc/OpenEXR
2011-05-02 14:54:06 -04:00
FAKE_FLAGS+= docdir=${DOCDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCDIR}
.include <bsd.port.mk>