1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/cad/netgen/Makefile
2024-06-15 11:38:02 -05:00

52 lines
1.2 KiB
Makefile

PORTNAME= netgen
PORTVERSION= 6.2.2404
DISTVERSIONPREFIX= v
CATEGORIES= cad
MAINTAINER= stephen@FreeBSD.org
COMMENT= Automatic 3D tetrahedral mesh generator
WWW= https://ngsolve.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_i386= compiler errors
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
git:devel/git
USES= cmake python tcl tk gl xorg
USE_GITHUB= yes
GH_ACCOUNT= NGSolve
GH_TUPLE= NGSolve:pybind11:v2.11.1:pybind11/external_dependencies/pybind11
USE_GL= gl glu
USE_XORG= x11 xmu xi
USE_LDCONFIG= yes
CFLAGS+= -I${LOCALBASE}/include -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix
CXXFLAGS+= -I${LOCALBASE}/include -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix
LDFLAGS+= -lexecinfo
CMAKE_OFF= USE_NATIVE_ARCH
CMAKE_ARGS+= -DUSE_OCC=OFF
CONFLICTS_INSTALL= libvisual pybind11 # bin/netgen include/pybind11/attr.h lib/libvisual.so
OPTIONS_DEFINE= JPEG MPEG CGNS
JPEG_DESC= Enable snapshots using jpeg
MPEG_DESC= Enable recording with FFmpeg
CGNS_DESC= Enable CGNS file read/write support
JPEG_CMAKE_BOOL= USE_JPEG
JPEG_USES= jpeg
MPEG_CMAKE_BOOL= USE_MPEG
MPEG_LIB_DEPENDS= libavcodec.so:multimedia/libav
CGNS_CMAKE_BOOL= USE_CGNS
CGNS_LIB_DEPENDS= libcgns.so:science/cgnslib
.include <bsd.port.mk>