summaryrefslogtreecommitdiff
path: root/graphics/kealib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kealib/Makefile')
-rw-r--r--graphics/kealib/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/kealib/Makefile b/graphics/kealib/Makefile
new file mode 100644
index 000000000000..d38492513347
--- /dev/null
+++ b/graphics/kealib/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= kealib
+PORTVERSION= 1.6.2
+CATEGORIES= graphics
+MASTER_SITES= https://github.com/ubarsc/kealib/releases/download/kealib-${PORTVERSION}/
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= HDF5 Based Raster File Format
+WWW= https://kealib.org/ \
+ https://github.com/ubarsc/kealib
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+LIB_DEPENDS= libhdf5.so:science/hdf5
+
+USES= cmake
+
+CMAKE_OFF= HDF5_PREFER_PARALLEL \
+ HDF5_USE_STATIC_LIBRARIES \
+ LIBKEA_WITH_GDAL
+CMAKE_ON= BUILD_SHARED_LIBS
+
+PLIST_SUB= PORTVERSION=${PORTVERSION}
+
+.include <bsd.port.mk>