Files

44 lines
1.4 KiB
Tcl
Raw Permalink Normal View History

2023-10-23 17:04:50 +08: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
name libdbi
2023-10-23 17:04:50 +08:00
version 0.9.0
categories databases devel
2011-10-16 05:39:11 +00:00
license LGPL-2.1+
2023-10-23 17:04:50 +08:00
maintainers {umich.edu:mta @mtalexander} openmaintainer
description Database independent abstraction layer for C
2023-10-23 17:04:50 +08:00
long_description {*}${description}
homepage https://libdbi.sourceforge.net
master_sites sourceforge
2023-10-23 17:04:50 +08:00
checksums rmd160 29cbfa6dd31f9b9dc4919db8d594e94942c2b310 \
sha256 dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503 \
size 1194284
2023-10-23 17:04:50 +08:00
configure.args-append \
--disable-docs
platform darwin arm {
2023-10-23 17:04:50 +08:00
depends_build-append \
port:automake
post-patch {
# Use newer config.guess and config.sub to support Apple Silicon.
set automake_dirs [glob -directory ${prefix}/share automake-*]
set automake_dir [lindex [lsort -command vercmp $automake_dirs] end]
copy -force ${automake_dir}/config.guess ${automake_dir}/config.sub \
${worksrcpath}
}
}
variant docs description "Build the documentation" {
2023-10-23 17:04:50 +08:00
configure.args-delete --disable-docs
2023-10-23 17:04:50 +08:00
depends_build port:openjade
}
variant debug description "Build with debugger symbols" {
2023-10-23 17:04:50 +08:00
build.target debug
}