[23201] trunk/dports/math/calc
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 26 21:55:52 PDT 2007
Revision: 23201
http://trac.macosforge.org/projects/macports/changeset/23201
Author: markd at macports.org
Date: 2007-03-26 21:55:52 -0700 (Mon, 26 Mar 2007)
Log Message:
-----------
Closes #11093. Adds readline support and updates to 2.12.1.8.
Modified Paths:
--------------
trunk/dports/math/calc/Portfile
trunk/dports/math/calc/files/patch-Makefile
Modified: trunk/dports/math/calc/Portfile
===================================================================
--- trunk/dports/math/calc/Portfile 2007-03-27 04:55:45 UTC (rev 23200)
+++ trunk/dports/math/calc/Portfile 2007-03-27 04:55:52 UTC (rev 23201)
@@ -2,7 +2,7 @@
PortSystem 1.0
name calc
-version 2.12.1.5
+version 2.12.1.8
categories math
maintainers nomaintainer at macports.org
description Arbitrary precision calculator
@@ -20,8 +20,11 @@
homepage http://www.isthe.com/chongo/tech/comp/calc/
platforms darwin
master_sites sourceforge
-checksums sha1 7a25ee74a6096413b36281e7ab120ae8103b75db
+checksums sha1 4ff5f8adb638565814319513e8acdf98191cb580
+depends_lib port:readline \
+ port:ncurses
+
patchfiles patch-Makefile
post-patch {
reinplace "s|___PREFIX___|${prefix}|" ${worksrcpath}/Makefile
Modified: trunk/dports/math/calc/files/patch-Makefile
===================================================================
--- trunk/dports/math/calc/files/patch-Makefile 2007-03-27 04:55:45 UTC (rev 23200)
+++ trunk/dports/math/calc/files/patch-Makefile 2007-03-27 04:55:52 UTC (rev 23201)
@@ -1,6 +1,6 @@
---- Makefile.orig Thu Jul 29 01:18:56 2004
-+++ Makefile Tue Sep 7 17:08:51 2004
-@@ -572,7 +572,7 @@
+--- Makefile.orig 2007-02-07 01:35:20.000000000 +0100
++++ Makefile 2007-02-18 17:35:50.000000000 +0100
+@@ -571,7 +571,7 @@
#INCDIR= /usr/local/include
#INCDIR= /dev/env/DJDIR/include
@@ -9,7 +9,7 @@
# Where to install calc realted things
#
-@@ -599,15 +599,15 @@
+@@ -598,15 +598,15 @@
#
#BINDIR= /usr/local/bin
#BINDIR= /dev/env/DJDIR/bin
@@ -28,7 +28,7 @@
#CALC_INCDIR= /usr/local/include/calc
#CALC_INCDIR= /dev/env/DJDIR/include/calc
-@@ -670,7 +670,7 @@
+@@ -669,7 +669,7 @@
#
# If in doubt, use T=
#
@@ -37,7 +37,7 @@
# where man pages are installed
#
-@@ -681,7 +681,7 @@
+@@ -680,7 +680,7 @@
#MANDIR=
#MANDIR= /usr/local/man/man1
#MANDIR= /usr/man/man1
@@ -46,3 +46,32 @@
#MANDIR= /dev/env/DJDIR/man/man1
#MANDIR= /usr/man/u_man/man1
#MANDIR= /usr/contrib/man/man1
+@@ -785,22 +785,22 @@
+ #
+ # If in doubt, set USE_READLINE, READLINE_LIB and READLINE_INCLUDE to nothing.
+ #
+-USE_READLINE=
+-#USE_READLINE= -DUSE_READLINE
++#USE_READLINE=
++USE_READLINE= -DUSE_READLINE
+ #
+-READLINE_LIB=
++#READLINE_LIB=
+ #READLINE_LIB= -lreadline -lhistory -lncurses
+ #READLINE_LIB= -L/usr/gnu/lib -lreadline -lhistory -lncurses
+-#READLINE_LIB= -L/usr/local/lib -lreadline -lhistory -lncurses
++READLINE_LIB= -L___PREFIX___/lib -lreadline -lhistory -lncurses
+ #
+ # For Apple OS X: install fink from http://fink.sourceforge.net
+ # and then do a 'fink install readline' and then use:
+ #
+ #READLINE_LIB= -L/sw/lib -lreadline -lhistory -lncurses
+ #
+-READLINE_INCLUDE=
++#READLINE_INCLUDE=
+ #READLINE_INCLUDE= -I/usr/gnu/include
+-#READLINE_INCLUDE= -I/usr/local/include
++READLINE_INCLUDE= -I___PREFIX___/include
+
+ # If $PAGER is not set, use this program to display a help file
+ #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070326/efb8957b/attachment.html
More information about the macports-changes
mailing list