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

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

clean up portfiles:

  • replace "portversion" with "version"
  • replace "portname" with "name"
  • replace "configure {}" with "use_configure no"
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 23053 2007-03-23 20:35:47Z pipping@macports.org $
2
3PortSystem 1.0
4name             calc
5version          2.12.1.5
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 7a25ee74a6096413b36281e7ab120ae8103b75db
24
25patchfiles       patch-Makefile
26post-patch {
27        reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile
28        reinplace "s|___DESTROOT___|${destroot}|" ${worksrcpath}/Makefile
29}
30
31use_configure    no
32
33test.run         yes
34test.target      check
35
36destroot.destdir
Note: See TracBrowser for help on using the repository browser.