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

Last change on this file since 23201 was 23201, checked in by markd@…, 13 years ago

Closes #11093. Adds readline support and updates to 2.12.1.8.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 23201 2007-03-27 04:55:52Z markd@macports.org $
2
3PortSystem 1.0
4name             calc
5version          2.12.1.8
6categories       math
7maintainers      nomaintainer@macports.org
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        sha1 4ff5f8adb638565814319513e8acdf98191cb580
24
25depends_lib      port:readline \
26                 port:ncurses
27
28patchfiles       patch-Makefile
29post-patch {
30        reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile
31        reinplace "s|___DESTROOT___|${destroot}|" ${worksrcpath}/Makefile
32}
33
34use_configure    no
35
36test.run         yes
37test.target      check
38
39destroot.destdir
Note: See TracBrowser for help on using the repository browser.