1 | # -*- 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 |
---|
2 | # $Id: Portfile 118811 2014-04-11 07:18:47Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup pure 1.0 |
---|
6 | |
---|
7 | pure.setup reduce 0.4 |
---|
8 | categories devel math |
---|
9 | platforms darwin |
---|
10 | maintainers ryandesign |
---|
11 | license BSD |
---|
12 | |
---|
13 | description a Pure interface to the Reduce computer algebra system |
---|
14 | |
---|
15 | long_description ${name} provides ${description}. |
---|
16 | |
---|
17 | set pure_reduce_distfile ${distfiles} |
---|
18 | set reduce_distfile reduce-algebra-csl-r2204.tar.bz2 |
---|
19 | distfiles-append ${reduce_distfile} |
---|
20 | |
---|
21 | checksums ${pure_reduce_distfile} \ |
---|
22 | rmd160 2e7409c8d17d3a28b125541c4222bfa2ff6cc3e2 \ |
---|
23 | sha256 4977a0181230791feafa551052ee3e7d41fbefbebf820411662b605e86eb02bb \ |
---|
24 | ${reduce_distfile} \ |
---|
25 | rmd160 41e745d45e65de90dc238e76d9e0f2fd5b062ee3 \ |
---|
26 | sha256 7ab5914e314e6143b05191e1c1bbc526b94869711cf3a5e1ca571ed737aa6671 |
---|
27 | |
---|
28 | depends_build-append port:pkgconfig |
---|
29 | |
---|
30 | depends_lib-append port:gmp |
---|
31 | |
---|
32 | extract.only ${pure_reduce_distfile} |
---|
33 | |
---|
34 | post-extract { |
---|
35 | system -W ${worksrcpath} "tar xjf ${distpath}/${reduce_distfile}" |
---|
36 | } |
---|
37 | |
---|
38 | build.args CC="${configure.cc}" |
---|