# -*- 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 gunits version 2.22 revision 1 checksums rmd160 db0fb54bf428c910c11db06a0d30cad509140f9d \ sha256 5d13e1207721fe7726d906ba1d92dc0eddaa9fc26759ed22e3b8d1a793125848 \ size 1309451 categories math license GPL-3+ maintainers nomaintainer description Unit conversion and calculation long_description GNU units converts quantities expressed in various \ scales to their equivalents in other scales. homepage https://www.gnu.org/software/units/ master_sites gnu:units distname units-${version} set python_version 3.11 set python_ver_no_dot [string map {. {}} ${python_version}] depends_lib port:py${python_ver_no_dot}-requests \ port:python${python_ver_no_dot} \ port:readline patchfiles Makefile.in.patch configure.args ac_cv_path_PYTHON=${prefix}/bin/python${python_version} \ --program-prefix=g \ --sharedstatedir=${prefix}/var/lib post-destroot { # gunits_cur wants to be able to update this file. file attributes ${destroot}${prefix}/var/lib/units/currency.units -permissions a+w }