7e5c80f085
Optimize continuous aggregate query performance and storage The following query clauses and functions can now be used in a continuous aggregate: FILTER, DISTINCT, ORDER BY as well as Ordered-Set Aggregate and Hypothetical-Set Aggregate Optimize now() query planning time Improve COPY insert performance Improve performance of UPDATE/DELETE on PG14 by excluding chunks
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2022/07/18 15:50:03 tnn Exp $
|
|
|
|
DISTNAME= timescaledb-2.7.0
|
|
PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME}
|
|
CATEGORIES= databases
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=timescale/}
|
|
GITHUB_PROJECT= timescaledb
|
|
|
|
MAINTAINER= otis@NetBSD.org
|
|
HOMEPAGE= https://github.com/timescale/timescaledb
|
|
COMMENT= The timescaledb extension for PostgreSQL
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server
|
|
|
|
USE_CMAKE= yes
|
|
CMAKE_ARGS+= -DUSE_OPENSSL=ON
|
|
CMAKE_ARGS+= -DREGRESS_CHECKS=OFF
|
|
|
|
PGSQL_VERSIONS_ACCEPTED= 14 13 12
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.timescaledb
|
|
PKG_SUPPORTED_OPTIONS+= timescale-license
|
|
PKG_SUGGESTED_OPTIONS+= timescale-license
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= tsl
|
|
.if !empty(PKG_OPTIONS:Mtimescale-license)
|
|
LICENSE+= AND timescale-license
|
|
CMAKE_ARGS+= -DAPACHE_ONLY=OFF
|
|
RESTRICTED= No clear permission granted to distribute
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
PLIST.tsl= yes
|
|
.else
|
|
CMAKE_ARGS+= -DAPACHE_ONLY=ON
|
|
.endif
|
|
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|