2009-02-16 10:28:57 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2009/02/16 15:28:58 sthen Exp $
|
2005-01-31 03:16:27 -05:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT-main= high dynamic range image format
|
|
|
|
COMMENT-tools= image viewing tools for OpenEXR
|
|
|
|
COMMENT-doc= developer documentation for OpenEXR
|
2008-04-11 07:16:20 -04:00
|
|
|
|
|
|
|
V= 1.6.1
|
|
|
|
DISTNAME= openexr-$V
|
2008-04-11 16:38:13 -04:00
|
|
|
PKGNAME-main= OpenEXR-$Vp0
|
2008-04-11 07:16:20 -04:00
|
|
|
PKGNAME-tools= OpenEXR-tools-$V
|
|
|
|
PKGNAME-doc= OpenEXR-doc-$V
|
|
|
|
SHARED_LIBS= IlmImf 4.0 # .6.0
|
2005-01-31 03:16:27 -05:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
2008-04-11 07:16:20 -04:00
|
|
|
HOMEPAGE= http://www.openexr.com/
|
|
|
|
|
|
|
|
# Modified BSD license
|
2005-01-31 03:16:27 -05:00
|
|
|
# `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
|
|
|
|
|
2009-02-16 10:28:57 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=openexr/}
|
2008-04-11 07:16:20 -04:00
|
|
|
|
|
|
|
MULTI_PACKAGES= -main -tools -doc
|
|
|
|
|
2008-04-11 16:38:13 -04:00
|
|
|
WANTLIB-main= m z stdc++
|
2008-04-11 07:16:20 -04:00
|
|
|
LIB_DEPENDS-main= Half,Iex,Imath,IlmThread::graphics/ilmbase
|
|
|
|
|
|
|
|
WANTLIB-tools= ${WANTLIB-main} c m pthread stdc++
|
|
|
|
LIB_DEPENDS-tools= ${LIB_DEPENDS-main} \
|
|
|
|
IlmImf.>=4::graphics/openexr
|
2006-11-24 18:09:54 -05:00
|
|
|
PKG_ARCH-doc= *
|
2005-01-31 03:16:27 -05:00
|
|
|
|
|
|
|
# Regress unhappy with separate build
|
|
|
|
#SEPARATE_BUILD= simple
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2006-11-13 06:20:24 -05:00
|
|
|
USE_X11= Yes
|
2005-01-31 03:16:27 -05:00
|
|
|
|
2008-04-11 07:16:20 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/OpenEXR
|
2005-01-31 03:16:27 -05:00
|
|
|
|
|
|
|
post-install:
|
2008-04-11 07:16:20 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCDIR}
|
2008-04-11 16:38:13 -04:00
|
|
|
|
2005-01-31 03:16:27 -05:00
|
|
|
.include <bsd.port.mk>
|