Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New port: calc 2.11.9.3, featurific arbitrary precision calculator
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@5834 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
1 parent
88b44c1
commit fb578d0
Showing
2 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,36 @@ | |||
# $Id: Portfile,v 1.1 2004/03/16 10:00:39 toby Exp $ | |||
|
|||
PortSystem 1.0 | |||
name calc | |||
version 2.11.9.3 | |||
categories math | |||
maintainers toby@opendarwin.org | |||
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/ | |||
platforms darwin | |||
master_sites sourceforge | |||
checksums md5 3c431b681b572bf156a57d21f53eb7c0 | |||
|
|||
patchfiles patch-Makefile | |||
post-patch { | |||
reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile | |||
reinplace "s|___DESTROOT___|${destroot}|" ${worksrcpath}/Makefile | |||
} | |||
|
|||
configure {} | |||
|
|||
test.run yes | |||
test.target check | |||
|
|||
destroot.destdir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,48 @@ | |||
--- Makefile.old Tue Mar 16 04:24:10 2004 | |||
+++ Makefile Tue Mar 16 04:26:51 2004 | |||
@@ -594,7 +594,7 @@ | |||
|
|||
#INCDIR= /usr/local/include | |||
#INCDIR= /dev/env/DJDIR/include | |||
-INCDIR= /usr/include | |||
+INCDIR= ___PREFIX___/include | |||
|
|||
# Where to install calc realted things | |||
# | |||
@@ -621,15 +621,15 @@ | |||
# | |||
#BINDIR= /usr/local/bin | |||
#BINDIR= /dev/env/DJDIR/bin | |||
-BINDIR= /usr/bin | |||
+BINDIR= ___PREFIX___/bin | |||
|
|||
#LIBDIR= /usr/local/lib | |||
#LIBDIR= /dev/env/DJDIR/lib | |||
-LIBDIR= /usr/lib | |||
+LIBDIR= ___PREFIX___/lib | |||
|
|||
#CALC_SHAREDIR= /usr/local/lib/calc | |||
#CALC_SHAREDIR= /dev/env/DJDIR/share/calc | |||
-CALC_SHAREDIR= /usr/share/calc | |||
+CALC_SHAREDIR= ___PREFIX___/share/calc | |||
|
|||
#CALC_INCDIR= /usr/local/include/calc | |||
#CALC_INCDIR= /dev/env/DJDIR/include/calc | |||
@@ -692,7 +692,7 @@ | |||
# | |||
# If in doubt, use T= | |||
# | |||
-T= | |||
+T=___DESTROOT___ | |||
|
|||
# where man pages are installed | |||
# | |||
@@ -703,7 +703,7 @@ | |||
#MANDIR= | |||
#MANDIR= /usr/local/man/man1 | |||
#MANDIR= /usr/man/man1 | |||
-MANDIR= /usr/share/man/man1 | |||
+MANDIR= ___PREFIX___/share/man/man1 | |||
#MANDIR= /dev/env/DJDIR/man/man1 | |||
#MANDIR= /usr/man/u_man/man1 | |||
#MANDIR= /usr/contrib/man/man1 |