source: trunk/dports/math/calc/Portfile @ 57166

Last change on this file since 57166 was 57166, checked in by raimue@…, 10 years ago

math/calc:
Update to latest stable, 2.12.3.3. Fixes the build on Snow Leopard.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 57166 2009-09-07 00:17:45Z raimue@macports.org $
2
3PortSystem 1.0
4name             calc
5version          2.12.3.3
6categories       math
7maintainers      nomaintainer
8description      Arbitrary precision calculator
9long_description \
10        Calc is an interactive calculator which provides for easy \
11        large numeric calculations, but which also can be easily \
12        programmed for difficult or long calculations. It can \
13        accept a command line argument, in which case it executes \
14        that single command and exits. Otherwise, it enters \
15        interactive mode. There are a great number of pre-defined \
16        functions. The calculator can calculate transcendental \
17        functions, and accept and display numbers in real or \
18        exponential format. The calculator also knows about \
19        complex numbers.
20homepage         http://www.isthe.com/chongo/tech/comp/calc/
21platforms        darwin
22master_sites     sourceforge
23checksums        md5     2b6b511bba836653a444094622e65041 \
24                 sha1    1bd946c36e9bedea9166996951aae36f7ad872ae \
25                 rmd160  75aacf7b572533da4430ecd2b6493fd31b15f210
26use_bzip2        yes
27
28depends_lib      port:readline \
29                 port:ncurses
30
31patchfiles       patch-Makefile.diff
32post-patch {
33        reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile
34        reinplace "s|___DESTROOT___|${destroot}|" ${worksrcpath}/Makefile
35        reinplace "s|___CC___|${configure.cc}|" ${worksrcpath}/Makefile
36        reinplace "s|___MACOSX_DEPLOYMENT_TARGET___|${macosx_deployment_target}|" ${worksrcpath}/Makefile
37}
38
39use_configure    no
40use_parallel_build no
41
42test.run         yes
43test.target      check
44
45destroot.destdir
Note: See TracBrowser for help on using the repository browser.