openbsd-ports/graphics/openimageio/Makefile
pascal 1258c37e66 OpenImageIO is a library for reading and writing images, and a bunch
of related classes, utilities, and applications.  There is a
particular emphasis on formats and functionality used in professional,
large-scale animation and visual effects work for film.  OpenImageIO
is used extensively in animation and VFX studios all over the world,
and is also incorporated into several commercial products.

ok ajacoutot@
2012-05-09 12:42:06 +00:00

52 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/05/09 12:42:06 pascal Exp $
SHARED_ONLY = Yes
COMMENT = library for reading and writing images
MAJ = 1.0
V = ${MAJ}.4
REV = 513d0dd
DISTNAME = OpenImageIO-oiio-Release-${V}-0-g${REV}
PKGNAME = openimageio-${V}
SHARED_LIBS += OpenImageIO 0.0 # 1.0
CATEGORIES = graphics devel
HOMEPAGE = http://sites.google.com/site/openimageio/
MAINTAINER = Pascal Stumpf <Pascal.Stumpf@cubes.de>
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += GL GLEW GLU Half ICE Iex IlmImf IlmThread Imath QtGui
WANTLIB += QtOpenGL SM X11 Xext boost_filesystem-mt boost_python-mt
WANTLIB += boost_regex-mt boost_system-mt boost_thread-mt c jpeg
WANTLIB += m openjpeg png pthread ${MODPY_WANTLIB} stdc++ tiff webp z
MASTER_SITES = https://github.com/OpenImageIO/oiio/tarball/RB-${MAJ}/
MODULES = devel/cmake \
lang/python \
x11/qt4
LIB_DEPENDS = devel/boost \
graphics/openjpeg \
graphics/tiff \
graphics/libwebp \
graphics/glew \
graphics/ilmbase \
graphics/openexr
CONFIGURE_ARGS += -DPYLIB_INSTALL_DIR="lib/python${MODPY_VERSION}/site-packages"
CFLAGS += -pthread
WRKDIST = ${WRKDIR}/OpenImageIO-oiio-${REV}
WRKSRC = ${WRKDIST}/src
.include <bsd.port.mk>