blob: a53457aa80e4cae8512a66595d2e4dc579a9a92f (
plain)
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
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.17 2022/10/29 15:26:55 tnn Exp $
DISTNAME= timescaledb-2.8.1
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"
|