# Created by: Pedro Giffuni <pfg@FreeBSD.org>
# $FreeBSD: head/graphics/py-pivy/Makefile 462307 2018-02-19 11:10:43Z antoine $

PORTNAME=	pivy
PORTVERSION=	0.5.0
PORTREVISION=	1
CATEGORIES=	graphics python
MASTER_SITES=	https://bitbucket.org/Coin3D/pivy/get/
DISTNAME=	8eab90908f2a

MAINTAINER=	pfg@FreeBSD.org
COMMENT=	Python binding for Coin

LICENSE=	MIT

BUILD_DEPENDS=	swig3.0:devel/swig30
LIB_DEPENDS=	libSoQt.so:x11-toolkits/soqt

BROKEN_powerpc64=	fails to link: coin_wrap.o: relocation truncated to fit: R_PPC64_TOC16_DS

USES=		zip python:2.7
USE_PYTHON=	autoplist distutils
BINARY_ALIAS=	swig=swig3.0

WRKSRC=		${WRKDIR}/Coin3D-pivy-${DISTNAME}

.include <bsd.port.mk>
