blob: eaffb8b1fa52b179f07c9ca38e7e51affcf5ea8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= csxcad
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.2-109
DISTVERSIONSUFFIX= -gcd9decb
PORTREVISION= 9
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ library to describe geometrical objects
WWW= https://github.com/thliebig/CSXCAD
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= cgal>0:math/cgal
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libfparser-4.5.so:math/fparser \
libgmp.so:math/gmp \
libhdf5.so:science/hdf5 \
libmpfr.so:math/mpfr \
libpng16.so:graphics/png \
libsz.so:science/libaec \
libtiff.so:graphics/tiff \
libtinyxml.so:textproc/tinyxml \
libvtkCommonCore-${VTK_VER}.so:math/vtk${VTK_VER:R}
USES= cmake jpeg pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= thliebig
GH_PROJECT= ${PORTNAME:tu}
CMAKE_ARGS= -DFPARSER_ROOT_DIR=${LOCALBASE} \
-DVTK_DIR=${LOCALBASE}/lib/cmake/vtk-${VTK_VER}
.include <../../math/vtk9/Makefile.version>
.include <bsd.port.mk>
|