freebsd-ports/graphics/opencollada/Makefile
Mathieu Arnold 02415c68f5 Update ports in the games category to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 15:17:32 +00:00

30 lines
693 B
Makefile

# $FreeBSD$
PORTNAME= opencollada
PORTVERSION= 1.2.2.20140528
PORTREVISION= 2
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= 345a2a7
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>