aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-openimageio/Makefile
blob: f28cd932f5641ce86da0e4c73280e0648aafeea3 (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
# 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

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"