summaryrefslogtreecommitdiff
path: root/graphics/opencollada/Makefile
blob: d33083e1b875c8a0a36aee6ab327899335e30237 (plain)
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
30
31
# $FreeBSD$

PORTNAME=	opencollada
PORTVERSION=	1.2.2.20150519
CATEGORIES=	graphics devel

MAINTAINER=	mva@FreeBSD.org
COMMENT=	Library for reading and writing COLLADA files

LICENSE=	MIT

LIB_DEPENDS=	libpcre.so:devel/pcre

USE_GITHUB=	yes
GH_ACCOUNT=	KhronosGroup
GH_PROJECT=	OpenCOLLADA
GH_TAGNAME=	a59a438

USE_GNOME=	libxml2
USE_LDCONFIG=	${PREFIX}/lib/opencollada
USES=		cmake:outsource compiler iconv pkgconfig
CFLAGS+=	-I/${LOCALBASE}/include
CMAKE_ARGS+=	-DUSE_SHARED:BOOL=ON -DUSE_STATIC:BOOL=OFF

BROKEN_sparc64=	cannot build: runaway process

post-patch:
	@${REINPLACE_CMD} -e 's|$${OPENCOLLADA_INST_LIBRARY}/cmake|${PREFIX}/share/cmake/Modules|' \
		${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>