2013-11-16 20:26:33 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= opencollada
|
2016-07-29 14:35:37 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2018-07-22 12:15:30 +02:00
|
|
|
DISTVERSION= 1.6.63
|
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
2018-07-30 00:18:44 +02:00
|
|
|
PORTREVISION= 1
|
2013-11-16 20:26:33 +01:00
|
|
|
CATEGORIES= graphics devel
|
|
|
|
|
2017-01-22 23:27:54 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-11-16 20:26:33 +01:00
|
|
|
COMMENT= Library for reading and writing COLLADA files
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
|
2018-06-11 03:44:15 +02:00
|
|
|
BROKEN_sparc64= cannot build: runaway process
|
2013-11-16 20:26:33 +01:00
|
|
|
|
2018-06-11 03:44:15 +02:00
|
|
|
LIB_DEPENDS= libpcre.so:devel/pcre
|
2016-07-29 14:35:37 +02:00
|
|
|
|
2018-06-11 03:44:15 +02:00
|
|
|
USES= cmake:outsource compiler:c++11-lib dos2unix iconv pkgconfig
|
2018-02-18 16:56:44 +01:00
|
|
|
|
2013-11-16 20:26:33 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= KhronosGroup
|
|
|
|
GH_PROJECT= OpenCOLLADA
|
|
|
|
|
|
|
|
USE_GNOME= libxml2
|
2013-11-17 19:23:23 +01:00
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/opencollada
|
2018-06-11 03:44:15 +02:00
|
|
|
CFLAGS+= -I/${LOCALBASE}/include -Wno-narrowing
|
2018-07-22 12:15:30 +02:00
|
|
|
CMAKE_ON= USE_SHARED
|
|
|
|
CMAKE_OFF= USE_STATIC
|
2018-02-18 16:56:44 +01:00
|
|
|
|
2013-11-16 20:26:33 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$${OPENCOLLADA_INST_LIBRARY}/cmake|${PREFIX}/share/cmake/Modules|' \
|
|
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|