Files

63 lines
2.3 KiB
Tcl
Raw Permalink Normal View History

2020-05-24 02:58:22 -04:00
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
2022-02-07 12:31:04 -05:00
PortGroup cmake 1.1
PortGroup github 1.0
PortGroup legacysupport 1.0
PortGroup openssl 1.0
2020-05-24 02:58:22 -04:00
2026-06-17 11:41:18 -04:00
github.setup cwida duckdb 1.5.4 v
2023-10-11 07:46:08 -04:00
github.tarball_from archive
2024-05-22 11:20:25 -04:00
revision 0
2020-05-24 02:58:22 -04:00
2020-11-01 18:41:53 -05:00
homepage https://www.duckdb.org
2020-05-24 02:58:22 -04:00
2022-02-07 12:31:04 -05:00
description \
DuckDB is an embeddable SQL OLAP Database Management System
2020-05-24 02:58:22 -04:00
2022-02-07 12:31:04 -05:00
long_description \
DuckDB is an embedded database designed to execute analytical SQL queries \
fast while embedded in another process. It is designed to be easy to \
install and easy to use. DuckDB has no external dependencies. DuckDB has \
bindings for C/C++, Python and R. DuckDB is developed by the Database \
Architectures group of the CWI.
2020-05-24 02:58:22 -04:00
categories databases
license MIT
2022-02-07 12:31:04 -05:00
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
2020-05-24 02:58:22 -04:00
2026-06-17 11:41:18 -04:00
checksums rmd160 a8a87d9c9d3e10431da39e98e158508d205446e7 \
sha256 99c36e4bf415f295e19ed67401adb72e075e63e6a0dc3a14312c986e29781fd0 \
size 101078007
2023-10-11 07:46:08 -04:00
2026-03-23 12:42:52 -04:00
patchfiles-append no-ccache.patch \
no-clangd-cache.patch
2021-04-21 00:16:21 -04:00
2026-03-09 17:14:44 -04:00
set python_version 314
set python_branch \
[string index ${python_version} 0].[string range ${python_version} 1 end]
2022-02-07 12:31:04 -05:00
configure.args-append \
2025-02-23 22:14:45 +09:00
-DBUILD_EXTENSIONS='autocomplete\;icu\;parquet\;json' \
-DENABLE_EXTENSION_AUTOLOADING=1 \
-DENABLE_EXTENSION_AUTOINSTALL=1 \
2024-04-17 14:28:31 -04:00
-DOVERRIDE_GIT_DESCRIBE=v${version} \
-DPython3_EXECUTABLE=${prefix}/bin/python${python_branch}
2020-05-24 02:58:22 -04:00
compiler.cxx_standard 2011
2020-05-24 02:58:22 -04:00
depends_build-append \
port:pkgconfig \
2024-04-17 14:28:31 -04:00
port:python${python_version} \
2022-02-07 12:31:04 -05:00
port:zstd
2023-06-15 16:52:27 +08:00
if {[string match *gcc* ${configure.compiler}]} {
# Without the following setting, the build fails miserably at linking with every possible symbol undefined.
# Undefined symbols: __ZNK6duckdb5Value14GetValueUnsafeItEET_v, __ZN6duckdb11LogicalType3MAPES0_S0_ etc.
configure.args-append \
-DEXTENSION_STATIC_BUILD=TRUE
configure.ldflags-append \
-latomic
}