[83914] trunk/dports/math/mathomatic
mww at macports.org
mww at macports.org
Mon Sep 12 11:53:27 PDT 2011
Revision: 83914
http://trac.macports.org/changeset/83914
Author: mww at macports.org
Date: 2011-09-12 11:53:27 -0700 (Mon, 12 Sep 2011)
Log Message:
-----------
version 15.6.3
Modified Paths:
--------------
trunk/dports/math/mathomatic/Portfile
trunk/dports/math/mathomatic/files/patch-makefile.diff
Modified: trunk/dports/math/mathomatic/Portfile
===================================================================
--- trunk/dports/math/mathomatic/Portfile 2011-09-12 18:52:22 UTC (rev 83913)
+++ trunk/dports/math/mathomatic/Portfile 2011-09-12 18:53:27 UTC (rev 83914)
@@ -3,7 +3,7 @@
PortSystem 1.0
name mathomatic
-version 15.0.4
+version 15.6.3
categories math
platforms darwin
maintainers mww
@@ -16,14 +16,15 @@
homepage http://mathomatic.orgserve.de/math/
master_sites http://www.panix.com/~gesslein/
-checksums md5 efc6e171fcab87d471638fe89db38e7a \
- sha1 8b6a5f9d8ce327cea7af9a2fa2eb86595dc62071 \
- rmd160 d5e925b5cad633cd8797367c4db1463051f3f7cc
+checksums md5 afe923c5164b2d8746ef8dc87b868ba0 \
+ sha1 1a61ae5ea83c7c2d3ba3fe657414f61758c62332 \
+ rmd160 9e8f506181781282d4f220ee2d6e3e235107a633
use_bzip2 yes
-patchfiles patch-makefile.diff
depends_lib port:readline
+patchfiles patch-makefile.diff
+
post-extract {
xinstall -m 755 ${filespath}/configure ${worksrcpath}
}
Modified: trunk/dports/math/mathomatic/files/patch-makefile.diff
===================================================================
--- trunk/dports/math/mathomatic/files/patch-makefile.diff 2011-09-12 18:52:22 UTC (rev 83913)
+++ trunk/dports/math/mathomatic/files/patch-makefile.diff 2011-09-12 18:53:27 UTC (rev 83914)
@@ -1,19 +1,27 @@
---- work/mathomatic-15.0.4/makefile 2010-01-15 06:05:59.000000000 +0100
-+++ makefile 2010-01-19 16:22:14.000000000 +0100
-@@ -2,6 +2,7 @@
+--- makefile 2011-08-04 14:19:01.000000000 +0200
++++ makefile 2011-09-12 20:51:17.000000000 +0200
+@@ -1,3 +1,4 @@
++include flags
+ # Makefile for compiling, testing, and installing Mathomatic.
+ # Requires the GNU make utility, in BSD Unix this is called "gmake".
# Remove the -DUNIX define in CFLAGS when not using Mathomatic for desktop UNIX/Linux.
- # This makefile does not compile and install the Prime Number Tools in the "primes" directory.
- # This makefile does create and install all documentation.
-+include flags
+@@ -17,19 +18,15 @@
+ # This makefile does create and install most of the Mathomatic documentation.
- VERSION = `cat VERSION`
+ SHELL = /bin/sh # from "http://www.gnu.org/prep/standards/", do not change
+-CC ?= gcc # C compiler to use; this statement doesn't work usually, instead using cc.
+ M4 ?= m4 # Change this to gm4 in Unix or a non-GNU system.
+ INSTALL ?= install # installer utility to use
+ INSTALL_PROGRAM ?= $(INSTALL) -Cv # command to install executable program files; compare to see any differences, first.
+ INSTALL_DATA ?= $(INSTALL) -m 0644 # command to install data files
-@@ -10,7 +11,7 @@
+-CC_OPTIMIZE ?= -O3 # Default C compiler optimization flags that are safe.
+ # Be sure and run tests to see if Mathomatic works and runs faster, if you uncomment the following line:
+ #CC_OPTIMIZE += -fno-signaling-nans -fno-trapping-math -fomit-frame-pointer # Possible additional optimizations, not tested.
- CFLAGS += -Wall -Wshadow -Wno-char-subscripts # gcc specific flags; can be removed
- #CFLAGS += -fomit-frame-pointer # Uncomment this line to optimize further with gcc.
--CFLAGS += -O -DUNIX -DVERSION=\"$(VERSION)\"
-+CFLAGS += -DUNIX -DVERSION=\"$(VERSION)\"
- CFLAGS += -D__C99FEATURES__ # for a successful compile under Solaris
- LDLIBS += -lm # libraries to link
+ VERSION = `cat VERSION`
+-OPTFLAGS ?= $(CC_OPTIMIZE) -Wall -Wshadow -Wno-char-subscripts # optional gcc specific flags
+-CFLAGS ?= $(OPTFLAGS)
+ CFLAGS += -DUNIX -DVERSION=\"$(VERSION)\"
+ LDLIBS += -lm # libraries to link with to create the Mathomatic executable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110912/f2138e88/attachment.html>
More information about the macports-changes
mailing list