[63033] trunk/dports/math
macsforever2000 at macports.org
macsforever2000 at macports.org
Sat Jan 23 21:03:23 PST 2010
Revision: 63033
http://trac.macports.org/changeset/63033
Author: macsforever2000 at macports.org
Date: 2010-01-23 21:03:20 -0800 (Sat, 23 Jan 2010)
Log Message:
-----------
Added new port. (#21641)
Added Paths:
-----------
trunk/dports/math/meschach/
trunk/dports/math/meschach/Portfile
trunk/dports/math/meschach/files/
trunk/dports/math/meschach/files/meschach.diff
Added: trunk/dports/math/meschach/Portfile
===================================================================
--- trunk/dports/math/meschach/Portfile (rev 0)
+++ trunk/dports/math/meschach/Portfile 2010-01-24 05:03:20 UTC (rev 63033)
@@ -0,0 +1,51 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+
+name meschach
+version 1.2b
+categories math
+maintainers bromo.med.uc.edu:howarth
+description Calculations on matrices and vectors
+long_description Meschach is a library of routines written in C for matrix \
+ computations. These include operations for basic numerical \
+ linear algebra, routines for matrix factorisations, solving \
+ least squares problems, computing eigenvalues, eigenvectors \
+ and singular values, sparse matrix computations including both \
+ direct and iterative methods.
+homepage http://www.cs.uiowa.edu/~dstewart/meschach/
+platforms darwin
+master_sites http://ftp.de.debian.org/debian/pool/main/m/meschach
+patch_sites http://ftp.de.debian.org/debian/pool/main/m/meschach
+distfiles meschach_${version}.orig.tar.gz
+checksums ${name}_${version}.orig.tar.gz \
+ md5 faf05a52c1a8a44a5716c6a2d681999f \
+ sha1 9cd3c102234b06a59a24f73db5cb76673614d413 \
+ rmd160 bbd1d09a2b5cddd5695038f9f8477af1d0c1b0d6 \
+ meschach_1.2b-13.diff.gz \
+ md5 bdc7289be71d235afc92b5707f6732d2 \
+ sha1 da298acd0a90c9d5c78c08095800e8e725aaf378 \
+ rm160 7455d201f0d5ac70e091f27f4f1a5ed15d0b59fd
+patchfiles meschach_1.2b-13.diff.gz meschach.diff
+set branch 1.2
+set major 1
+patch.pre_args -p1
+post-patch {
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/makefile.in
+ reinplace "s|-O3|-O3 -D_REENTRANT -fno-common|g" ${worksrcpath}/makefile.in
+ reinplace "s|@VERSION@|${branch}|g" ${worksrcpath}/makefile.in
+ }
+configure.args --with-all --with-unroll --with-munroll
+post-build {
+ system "cd ${worksrcpath} && make torture"
+}
+destroot {
+ file mkdir ${destroot}${prefix}/include/meschach
+ eval xinstall -m 644 [glob ${worksrcpath}/*.h] ${destroot}${prefix}/include/meschach
+ eval xinstall [glob ${worksrcpath}/*.a] ${destroot}${prefix}/lib
+ eval xinstall [glob ${worksrcpath}/*.dylib] ${destroot}${prefix}/lib
+ ln -s ${prefix}/lib/libmeschach.${branch}.dylib ${destroot}${prefix}/lib/libmeschach.dylib
+ ln -s ${prefix}/lib/libmeschach.${branch}.dylib ${destroot}${prefix}/lib/libmeschach.${major}.dylib
+ system "cd ${worksrcpath} && ./torture"
+}
Property changes on: trunk/dports/math/meschach/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/math/meschach/files/meschach.diff
===================================================================
--- trunk/dports/math/meschach/files/meschach.diff (rev 0)
+++ trunk/dports/math/meschach/files/meschach.diff 2010-01-24 05:03:20 UTC (rev 63033)
@@ -0,0 +1,11 @@
+--- meschach-1.2b/makefile.in.org 2009-08-20 21:46:39.000000000 -0400
++++ meschach-1.2b/makefile.in 2009-08-20 21:51:15.000000000 -0400
+@@ -115,7 +115,7 @@
+ # $(CC) -shared -o libmeschach.so $(OLDLIST)
+
+ shared: $(ALL_LISTS)
+- $(CC) -shared -o libmeschach.so $(ALL_LISTS) -lc -lm -Wl,-soname -Wl,libmeschach.so.$(vers)
++ $(CC) -dynamiclib -o libmeschach. at VERSION@.dylib $(ALL_LISTS) -lc -lm -install_name @PREFIX@/lib/libmeschach.1.dylib -compatibility_version @VERSION@ -current_version @VERSION@
+
+ static: $(ALL_LISTS)
+ ar ru libmeschach.a $(ALL_LISTS)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100123/deb9472b/attachment.html>
More information about the macports-changes
mailing list