-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Portfile
54 lines (39 loc) · 1.89 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- 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 github 1.0
github.setup lcn2 calc 2.15.0.7 v
revision 0
categories math
platforms darwin
maintainers {pmetzger @pmetzger} openmaintainer
license LGPL-2.1
description Arbitrary precision calculator
long_description Calc is an interactive calculator which provides for easy \
large numeric calculations, but which also can be easily \
programmed for difficult or long calculations. It can \
accept a command line argument, in which case it executes \
that single command and exits. Otherwise, it enters \
interactive mode. There are a great number of pre-defined \
functions. The calculator can calculate transcendental \
functions, and accept and display numbers in real or \
exponential format. The calculator also knows about \
complex numbers.
homepage http://www.isthe.com/chongo/tech/comp/calc/
github.tarball_from releases
use_bzip2 yes
checksums rmd160 363475ab0f0144ed740785265ee66561a78faf73 \
sha256 4db9f7c5f7a205f0b106cdab2aabf932d03f0458c5e60a0801050d680b0e04d3 \
size 1031258
depends_lib port:ncurses port:readline
patchfiles patch-Makefile.local.diff
post-patch {
reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile.local
}
use_configure no
use_parallel_build no
variant universal {}
build.args-append CC=${configure.cc} \
DARWIN_ARCH="[get_canonical_archflags]"
test.run yes
test.target check
destroot.destdir T=${destroot}