2021-07-30 23:48:48 +00:00
|
|
|
PORTNAME= mdal
|
2022-11-28 11:49:23 +00:00
|
|
|
DISTVERSION= 1.0.0
|
2021-07-30 23:48:48 +00:00
|
|
|
CATEGORIES= math geography
|
|
|
|
|
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
|
|
COMMENT= Mesh data abstration library
|
2022-09-07 21:06:12 +00:00
|
|
|
WWW= https://www.mdal.xyz/
|
2021-07-30 23:48:48 +00:00
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/gtest/gtest.h:devel/googletest
|
|
|
|
LIB_DEPENDS= libpdal_base.so:math/pdal \
|
|
|
|
libnetcdf.so:science/netcdf \
|
2021-08-01 09:45:55 +00:00
|
|
|
libsqlite3.so:databases/sqlite3 \
|
|
|
|
libgdal.so:graphics/gdal \
|
|
|
|
libhdf5.so:science/hdf5 \
|
2022-06-16 15:06:54 +00:00
|
|
|
libsz.so:science/libaec
|
2021-07-30 23:48:48 +00:00
|
|
|
|
2021-09-03 13:01:58 +00:00
|
|
|
USES= cmake gnome localbase
|
2021-08-01 09:45:55 +00:00
|
|
|
USE_GNOME= libxml2
|
2021-07-30 23:48:48 +00:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
PLIST_FILES= bin/mdal_translate \
|
|
|
|
bin/mdalinfo \
|
|
|
|
include/mdal.h \
|
|
|
|
lib/libmdal.so \
|
|
|
|
lib/libmdal_a.a
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= lutraconsulting
|
|
|
|
GH_PROJECT= MDAL
|
|
|
|
GH_TAGNAME= release-${DISTVERSION}
|
|
|
|
|
2021-08-01 09:45:55 +00:00
|
|
|
CMAKE_ARGS= -DSQLITE3_INCLUDE_DIRS="${LOCALBASE}/include" \
|
|
|
|
-DSQLITE3_LIBRARY="${LOCALBASE}/lib/libsqlite3.so"
|
|
|
|
|
2021-07-30 23:48:48 +00:00
|
|
|
.include <bsd.port.mk>
|