Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $OpenBSD: Makefile,v 1.27 2017/04/10 11:46:21 sthen Exp $
  2. COMMENT-main= high dynamic range image format
  3. COMMENT-tools= image viewing tools for OpenEXR
  4. COMMENT-doc= developer documentation for OpenEXR
  5. V= 2.2.0
  6. REVISION= 0
  7. DISTNAME= openexr-$V
  8. PKGNAME-main= OpenEXR-$V
  9. PKGNAME-tools= OpenEXR-tools-$V
  10. PKGNAME-doc= OpenEXR-doc-$V
  11. SHARED_LIBS += IlmImf 5.0 # 22.0
  12. SHARED_LIBS += IlmImfUtil 0.0 # 22.0
  13. CATEGORIES= graphics
  14. HOMEPAGE= http://www.openexr.com/
  15. # Modified BSD license
  16. # `name of ILM not to be used for advertizing without written agreement'
  17. PERMIT_PACKAGE_CDROM= Yes
  18. MASTER_SITES= ${MASTER_SITE_SAVANNAH:=openexr/}
  19. MULTI_PACKAGES= -main -tools -doc
  20. WANTLIB-main= m z ${LIBCXX} Half Iex IexMath Imath IlmThread pthread
  21. LIB_DEPENDS-main= graphics/ilmbase
  22. WANTLIB-tools= ${WANTLIB-main} c m pthread ${LIBCXX} IlmImf>=4
  23. LIB_DEPENDS-tools= ${LIB_DEPENDS-main} graphics/openexr
  24. PKG_ARCH-doc= *
  25. # Test unhappy with separate build
  26. #SEPARATE_BUILD= Yes
  27. CONFIGURE_STYLE= gnu
  28. CONFIGURE_ARGS+= --disable-namespaceversioning
  29. DOCDIR= ${PREFIX}/share/doc/OpenEXR
  30. FAKE_FLAGS+= docdir=${DOCDIR}
  31. post-install:
  32. ${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCDIR}
  33. .include <bsd.port.mk>