2021-01-15 12:05:17 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2021/01/15 12:05:17 landry Exp $
|
2019-03-14 18:33:08 +00:00
|
|
|
|
|
|
|
COMMENT = mesh data abstration library
|
|
|
|
|
|
|
|
GH_ACCOUNT= lutraconsulting
|
|
|
|
GH_PROJECT = MDAL
|
2021-01-15 12:05:17 +00:00
|
|
|
GH_TAGNAME = 0.8.0
|
2019-03-14 18:33:08 +00:00
|
|
|
|
2020-12-02 12:05:56 +00:00
|
|
|
PKGNAME = ${GH_PROJECT:L}-${GH_TAGNAME:S/release-//}
|
2019-03-14 18:33:08 +00:00
|
|
|
|
2021-01-15 12:05:17 +00:00
|
|
|
SHARED_LIBS = mdal 5.0
|
2019-03-14 18:33:08 +00:00
|
|
|
|
|
|
|
CATEGORIES = geo devel textproc
|
|
|
|
|
|
|
|
HOMEPAGE = http://www.mdal.xyz/
|
|
|
|
|
|
|
|
MAINTAINER = Landry Breuil <landry@openbsd.org>
|
|
|
|
|
|
|
|
# BSD
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2019-03-14 18:33:08 +00:00
|
|
|
|
|
|
|
MODULES = devel/cmake
|
|
|
|
|
|
|
|
# uses std=gnu++11
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
|
|
|
|
# needs a version of netcdf with nc_inq_varids
|
|
|
|
LIB_DEPENDS = math/netcdf>=4 \
|
|
|
|
geo/gdal
|
|
|
|
|
|
|
|
BUILD_DEPENDS = devel/gtest
|
|
|
|
|
2020-06-20 10:17:59 +00:00
|
|
|
WANTLIB += ${COMPILER_LIBCXX} c gdal hdf5 m netcdf sqlite3 xml2 z
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
rm ${WRKSRC}/cmake/FindSQLite3.cmake
|
2019-03-14 18:33:08 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|