blob: 1be048965e6a6679007dec35f8ba3156d809ab60 (
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
DISTVERSIONPREFIX= v
DISTVERSION= 1.6.68
CATEGORIES= graphics devel
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library for reading and writing COLLADA files
LICENSE= MIT
BROKEN_sparc64= cannot build: runaway process
LIB_DEPENDS= libpcre.so:devel/pcre
USES= cmake:outsource compiler:c++11-lib dos2unix iconv localbase gnome pkgconfig
USE_GNOME= libxml2
USE_GITHUB= yes
GH_ACCOUNT= KhronosGroup
GH_PROJECT= OpenCOLLADA
CFLAGS+= -Wno-narrowing
CMAKE_ON= USE_LIBXML USE_SHARED USE_STATIC
USE_LDCONFIG= ${PREFIX}/lib/opencollada
post-patch:
@${REINPLACE_CMD} -e 's|$${OPENCOLLADA_INST_LIBRARY}/cmake|${PREFIX}/share/cmake/Modules|' ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
|