aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-openimageio/Makefile
blob: d85a899f762364720e496143d734bb9b3a904082 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Shane Ambler
# $FreeBSD$

PORTNAME=   openimageio
PORTREVISION=   1
CATEGORIES= graphics multimedia python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

COMMENT=    OpenImageIO python bindings

LICENSE=    BSD

LIB_DEPENDS=    OpenImageIO:${PORTSDIR}/graphics/openimageio \
        boost_python:${PORTSDIR}/devel/boost-python-libs

MASTERDIR=  ${.CURDIR}/../openimageio

BROKEN=     Does not patch

USE_PYTHON= 2.6+

OIIO_PYBIND=    yes

EXTRA_PATCHES=  ${FILESDIR}/extra-patch-CMakeLists.txt

do-install:
    ${INSTALL_LIB} ${BUILD_WRKSRC}/python/OpenImageIO.so ${PYTHON_SITELIBDIR}/

.include "${MASTERDIR}/Makefile"