summaryrefslogtreecommitdiff
path: root/databases/arrow-glib/Makefile
blob: b0cbaa68bac2c92db97233a89e4f08020f2d155b (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
PORTNAME=	arrow
PORTVERSION=	19.0.1
CATEGORIES=	databases
MASTER_SITES=	APACHE/arrow/arrow-${PORTVERSION}/
PKGNAMESUFFIX=	-glib
DISTNAME=	apache-arrow-${PORTVERSION}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	C API wrapper library for Arrow C++
WWW=		https://arrow.apache.org/ \
		https://github.com/apache/arrow/tree/master/c_glib

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/../LICENSE.txt

BUILD_DEPENDS=	arrow>=${PORTVERSION}<${PORTVERSION}_99:databases/arrow
LIB_DEPENDS=	libarrow.so:databases/arrow

USES=		compiler:c++17-lang gnome meson pkgconfig python:build
USE_GNOME=	introspection

BINARY_ALIAS=	python3=${PYTHON_CMD}
MESON_ARGS=	--default-library=both \
		-Darrow_cpp_build_dir='' \
		-Darrow_cpp_build_type='release' \
		-Ddoc=false \
		-Dgtk_doc=false \
		-Dsource_reference='main' \
		-Dvapi=false
WRKSRC_SUBDIR=	c_glib

PLIST_SUB=	SHLIB_MAJOR=${PORTVERSION:R:R}0${PORTVERSION:R:E} \
		SHLIB_MINOR=${PORTVERSION:E}

.include <bsd.port.mk>