[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / vtk

File: [cvs.NetBSD.org] / pkgsrc / graphics / vtk / Makefile (download)

Revision 1.27, Wed Nov 23 16:18:49 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.26: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.27 2022/11/23 16:18:49 adam Exp $

DISTNAME=	VTK-9.0.3
PKGNAME=	${DISTNAME:tl}
PKGREVISION=	8
CATEGORIES=	graphics
MASTER_SITES=	https://www.vtk.org/files/release/${PKGVERSION_NOREV:R}/

MAINTAINER=	prlw1@cam.ac.uk
HOMEPAGE=	https://vtk.org/
COMMENT=	Visualization toolkit
LICENSE=	modified-bsd

BUILD_DEPENDS=	ninja-build-[0-9]*:../../devel/ninja-build

USE_CMAKE=	yes
USE_LANGUAGES=	c c++11

CONFIGURE_DIRS=	build
CMAKE_ARG_PATH=	..
CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+=	-DVTK_LEGACY_REMOVE=ON
CMAKE_ARGS+=	-DVTK_USE_MPI=OFF
CMAKE_ARGS+=	-DVTK_USE_CUDA=OFF
CMAKE_ARGS+=	-DVTK_ENABLE_LOGGING=OFF
CMAKE_ARGS+=	-DVTK_BUILD_ALL_MODULES=OFF
CMAKE_ARGS+=	-DVTK_ENABLE_REMOTE_MODULES=OFF
CMAKE_ARGS+=	-DVTK_ENABLE_KITS=OFF
CMAKE_ARGS+=	-DVTK_USE_EXTERNAL=ON
CMAKE_ARGS+=	-DVTK_USE_TK=OFF
CMAKE_ARGS+=	-DVTK_ENABLE_WRAPPING=OFF
CMAKE_ARGS+=	-DVTK_WRAP_PYTHON=OFF
CMAKE_ARGS+=	-DVTK_WRAP_JAVA=OFF
CMAKE_ARGS+=	-DVTK_FORBID_DOWNLOADS=ON
# https://discourse.vtk.org/t/9-0-0-rc1-contextopengl2-not-built/2933
CMAKE_ARGS+=	-DVTK_MODULE_ENABLE_VTK_RenderingContextOpenGL2=YES

MAKE_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/build/lib

PLIST_VARS+=	cocoa opengl

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Darwin"
PLIST.cocoa=	yes
.else
PLIST.opengl=	yes
.endif

post-extract:
	${MKDIR} ${WRKSRC}/build

.include "options.mk"

.include "../../archivers/lz4/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/hdf5/buildlink3.mk"
#.include "../../devel/loguru/buildlink3.mk"
.include "../../devel/netcdf-cxx/buildlink3.mk"
.include "../../geography/proj/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gl2ps/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../math/double-conversion/buildlink3.mk"
.include "../../math/eigen3/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../multimedia/libtheora/buildlink3.mk"
.include "../../print/libharu/buildlink3.mk"
.include "../../textproc/PEGTL/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../textproc/jsoncpp/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/pugixml/buildlink3.mk"
.include "../../textproc/utf8-cpp/buildlink3.mk"
.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"