[32052] trunk/dports/math/mathomatic
mww at macports.org
mww at macports.org
Fri Dec 14 08:29:34 PST 2007
Revision: 32052
http://trac.macosforge.org/projects/macports/changeset/32052
Author: mww at macports.org
Date: 2007-12-14 08:29:32 -0800 (Fri, 14 Dec 2007)
Log Message:
-----------
version 12.8.2; use simple ./configure script for getting options into the build process -- this makes a standard universal build possible
Modified Paths:
--------------
trunk/dports/math/mathomatic/Portfile
Added Paths:
-----------
trunk/dports/math/mathomatic/files/
trunk/dports/math/mathomatic/files/configure
trunk/dports/math/mathomatic/files/patch-makefile
Modified: trunk/dports/math/mathomatic/Portfile
===================================================================
--- trunk/dports/math/mathomatic/Portfile 2007-12-14 16:05:19 UTC (rev 32051)
+++ trunk/dports/math/mathomatic/Portfile 2007-12-14 16:29:32 UTC (rev 32052)
@@ -3,7 +3,7 @@
PortSystem 1.0
name mathomatic
-version 12.8.1
+version 12.8.2
categories math
platforms darwin
maintainers mww
@@ -15,23 +15,22 @@
homepage http://mathomatic.orgserve.de/math/
master_sites http://www.panix.com/~gesslein/
-checksums sha1 dc1ab70f33e2dc696b5bed177254dfa243befe58
+checksums sha1 0f6e8720e3de1924cdfc488269931523633baacf
use_bzip2 yes
+patchfiles patch-makefile
depends_lib port:readline
-use_configure no
+post-extract {
+ xinstall -m 755 ${filespath}/configure ${worksrcpath}
+}
-build.env READLINE=1 CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
+configure.pre_args ${prefix}
test.run yes
destroot.destdir prefix=${destroot}${prefix} mandir=${destroot}${prefix}/share/man docdir=${destroot}${prefix}/share/doc
-platform darwin 8 {
- build.args CC=/usr/bin/gcc-4.0
-}
-
livecheck.check regex
livecheck.url http://www.panix.com/~gesslein/?M=D
livecheck.regex ${name}-(\[0-9\\.\]+\[0-9\])\.
Added: trunk/dports/math/mathomatic/files/configure
===================================================================
--- trunk/dports/math/mathomatic/files/configure (rev 0)
+++ trunk/dports/math/mathomatic/files/configure 2007-12-14 16:29:32 UTC (rev 32052)
@@ -0,0 +1,7 @@
+#!/bin/sh
+echo "CC=${CC:-cc}" > flags
+echo "CFLAGS=${CFLAGS}" >> flags
+echo "CPPFLAGS=${CPPFLAGS}" >> flags
+echo "LDFLAGS=${LDFLAGS}" >> flags
+echo "INSTALL=${INSTALL:-install}" >> flags
+echo "READLINE=1" >> flags
Added: trunk/dports/math/mathomatic/files/patch-makefile
===================================================================
--- trunk/dports/math/mathomatic/files/patch-makefile (rev 0)
+++ trunk/dports/math/mathomatic/files/patch-makefile 2007-12-14 16:29:32 UTC (rev 32052)
@@ -0,0 +1,9 @@
+--- makefile 2007-11-30 16:09:53.000000000 +0100
++++ makefile 2007-12-14 17:19:40.000000000 +0100
+@@ -1,5 +1,6 @@
+ # Makefile for compiling, testing, and installing Mathomatic under any UNIX like OS.
+ # Currently uses gcc only options in CFLAGS, just remove them for other C compilers.
++include flags
+
+ VERSION = `cat VERSION`
+ CFLAGS += -Wuninitialized -Wshadow -Wformat -Wparentheses -Wcast-align # gcc specific flags
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071214/dbeb1936/attachment.html
More information about the macports-changes
mailing list