# -*- 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 cmake 1.1 name mathex version 0.3-b revision 0 categories math license LGPL-2.1+ maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer platforms darwin description C++ library to parse/evaluate mathematical expressions long_description ${name} is a ${description}. homepage http://sscilib.sourceforge.net master_sites sourceforge:sscilib use_zip yes checksums rmd160 6e7e6e2c9f8e416fc2a2b6fb27720d74ffa0009f \ sha256 8b3ac4e7620e7ffe04deaae9562a37e1e1a375cf589eec06ee3e7a04ea5c9fcc \ size 31441 worksrcdir ${name} post-extract { # CMakeLists.txt is taken from https://src.fedoraproject.org/rpms/mathex/raw/master/f/CMakeLists.txt copy ${filespath}/CMakeLists.txt ${worksrcpath}/ } post-destroot { xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 ${worksrcpath}/lesser.txt ${destroot}${prefix}/share/doc/${name} xinstall -m 0644 ${worksrcpath}/license.txt ${destroot}${prefix}/share/doc/${name}/LICENSE.txt } livecheck.regex {/mathex-(\d+(?:\.\d+)*(-b)*)}