09f9633cb6
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
34 lines
746 B
Makefile
34 lines
746 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= opencollada
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.6.63
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics devel
|
|
|
|
MAINTAINER= ports@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 pkgconfig
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= KhronosGroup
|
|
GH_PROJECT= OpenCOLLADA
|
|
|
|
USE_GNOME= libxml2
|
|
USE_LDCONFIG= ${PREFIX}/lib/opencollada
|
|
CFLAGS+= -I/${LOCALBASE}/include -Wno-narrowing
|
|
CMAKE_ON= USE_SHARED
|
|
CMAKE_OFF= USE_STATIC
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$${OPENCOLLADA_INST_LIBRARY}/cmake|${PREFIX}/share/cmake/Modules|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|