mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
8c4ba89297
This update contains many bug fixes.
30 lines
677 B
Makefile
30 lines
677 B
Makefile
# $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:${PORTSDIR}/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
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$${OPENCOLLADA_INST_LIBRARY}/cmake|${PREFIX}/share/cmake/Modules|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|