12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- # $OpenBSD: Makefile,v 1.27 2017/04/10 11:46:21 sthen Exp $
- COMMENT-main= high dynamic range image format
- COMMENT-tools= image viewing tools for OpenEXR
- COMMENT-doc= developer documentation for OpenEXR
- V= 2.2.0
- REVISION= 0
- DISTNAME= openexr-$V
- PKGNAME-main= OpenEXR-$V
- PKGNAME-tools= OpenEXR-tools-$V
- PKGNAME-doc= OpenEXR-doc-$V
- SHARED_LIBS += IlmImf 5.0 # 22.0
- SHARED_LIBS += IlmImfUtil 0.0 # 22.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 ${LIBCXX} Half Iex IexMath Imath IlmThread pthread
- LIB_DEPENDS-main= graphics/ilmbase
- WANTLIB-tools= ${WANTLIB-main} c m pthread ${LIBCXX} IlmImf>=4
- LIB_DEPENDS-tools= ${LIB_DEPENDS-main} graphics/openexr
- PKG_ARCH-doc= *
- # Test unhappy with separate build
- #SEPARATE_BUILD= Yes
- CONFIGURE_STYLE= gnu
- CONFIGURE_ARGS+= --disable-namespaceversioning
- DOCDIR= ${PREFIX}/share/doc/OpenEXR
- FAKE_FLAGS+= docdir=${DOCDIR}
- post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCDIR}
- .include <bsd.port.mk>
|