source: trunk/dports/math/muparser/Portfile

Last change on this file was 76762, checked in by jmr@…, 6 years ago

muparser: fix universal and build_arch support (#23377)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 76762 2011-03-08 09:26:12Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                muparser
6version             1.32
7categories          math devel
8platforms           darwin
9maintainers         mww
10description         extensible high performance math parser library in C++
11long_description    muParser is an extensible high performance math parser \
12                    library written in C++. It is based on transforming an \
13                    expression into a bytecode and precalculating constant \
14                    parts of it.
15
16homepage            http://muparser.sourceforge.net/
17master_sites        sourceforge
18distname            ${name}_v132
19checksums           md5     9eda5ba73cae7dce09daa6bef6b7c49b \
20                    sha1    ff9e7be4408cafbbd6d9256095eaf8ebb12611b1 \
21                    rmd160  a8c03084db33f0a62b9d927799134fc35c7a4d87
22
23livecheck.regex     "<title>muparser Version (.*) released.*</title>"
24
25patchfiles          Makefile.in.diff
26post-configure {
27    if {[variant_isset universal]} {
28        reinplace "s/@ARCHFLAGS@/${configure.universal_cxxflags}/" \
29            ${worksrcpath}/Makefile
30    } else {
31        reinplace "s/@ARCHFLAGS@/${configure.cxx_archflags}/" \
32            ${worksrcpath}/Makefile
33    }
34}
35
36use_parallel_build  no
Note: See TracBrowser for help on using the repository browser.