mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
60 lines
2.0 KiB
Tcl
60 lines
2.0 KiB
Tcl
# -*- 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
|
|
PortGroup active_variants 1.1
|
|
PortGroup boost 1.0
|
|
PortGroup cmake 1.1
|
|
PortGroup github 1.0
|
|
|
|
github.setup ledger ledger 3.4.1 v
|
|
github.tarball_from archive
|
|
revision 0
|
|
|
|
homepage https://ledger-cli.org/
|
|
categories finance
|
|
|
|
description A command-line, double-entry accounting tool.
|
|
long_description Ledger is a powerful, double-entry accounting system that \
|
|
is accessed from the UNIX command-line.
|
|
license BSD
|
|
maintainers nomaintainer
|
|
|
|
checksums rmd160 8f06738a4f8d70057a3a3ba12bd2fc147e86ca59 \
|
|
sha256 1cf012cdc8445cab0efc445064ef9b2d3f46ed0165dae803c40fe3d2b23fdaad \
|
|
size 817104
|
|
|
|
set py_ver 3.14
|
|
set py_ver_nodot [string map {. {}} ${py_ver}]
|
|
|
|
depends_lib-append port:python${py_ver_nodot} \
|
|
port:utfcpp \
|
|
port:libedit \
|
|
port:gmp \
|
|
port:mpfr \
|
|
port:gettext
|
|
|
|
boost.version 1.81
|
|
|
|
require_active_variants [boost::depends_portname] python${py_ver_nodot}
|
|
|
|
compiler.cxx_standard 2011
|
|
|
|
configure.args-append \
|
|
-DBUILD_DOCS=OFF \
|
|
-DEDIT_LIB=${prefix}/lib/libedit.dylib \
|
|
-DEDIT_PATH=${prefix}/include \
|
|
-DGMP_LIB=${prefix}/lib/libgmp.dylib \
|
|
-DGMP_PATH=${prefix}/include \
|
|
-DMPFR_LIB=${prefix}/lib/libmpfr.dylib \
|
|
-DMPFR_PATH=${prefix}/include \
|
|
-DPython_EXECUTABLE=${prefix}/bin/python${py_ver} \
|
|
-DUSE_DOXYGEN=OFF \
|
|
-DUSE_PYTHON=ON
|
|
|
|
variant gpgme description {Add support for encrypted journals} {
|
|
depends_lib-append port:gpgme
|
|
configure.args-append -DUSE_GPGME=ON
|
|
}
|
|
|
|
test.run yes
|