[20242] trunk/dports/math

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 30 02:17:33 PST 2006


Revision: 20242
          http://trac.macosforge.org/projects/macports/changeset/20242
Author:   stechert at macports.org
Date:     2006-10-30 02:17:33 -0800 (Mon, 30 Oct 2006)

Log Message:
-----------
Adding cxsparse so that it can provide sparse matrix functionality for octave.

Added Paths:
-----------
    trunk/dports/math/cxsparse/
    trunk/dports/math/cxsparse/Portfile

Added: trunk/dports/math/cxsparse/Portfile
===================================================================
--- trunk/dports/math/cxsparse/Portfile	                        (rev 0)
+++ trunk/dports/math/cxsparse/Portfile	2006-10-30 10:17:33 UTC (rev 20242)
@@ -0,0 +1,36 @@
+# $Id: Portfile,v 1.20 2006/06/21 21:27:45 mww Exp $
+
+PortSystem 1.0
+name		cxsparse
+version		2.0.2
+revision	0
+categories	math science
+maintainers     andre at splunk.com
+platforms	darwin
+description	Sparse matrix routines
+long_description \
+		CXSparse is an extended version of CSparse, with support for \
+		double or complex matrices, with int or long integers. The \
+		conversion from CSparse was originally written by David \
+		Bateman, Motorola, and then modified by Tim Davis.
+
+
+homepage	http://www.cise.ufl.edu/research/sparse/CXSparse/
+master_sites	http://www.cise.ufl.edu/research/sparse/CXSparse/
+distname	CXSparse
+
+depends_build	port:ufconfig
+
+checksums	md5 93a3dc25b724e72c6164ab42a7647a0b
+
+pre-configure	{
+	reinplace "s#-I../../UFconfig#-I${prefix}/include#" ${worksrcpath}/Source/Makefile
+	reinplace "s#-I../../UFconfig#-I${prefix}/include#" ${worksrcpath}/Demo/Makefile
+	reinplace "s#f77#gfortran-dp-4.2#" ${worksrcpath}/Demo/Makefile
+}
+
+use_configure	no
+
+destroot	{
+	xinstall -m 644 ${worksrcpath}/Source/libcxsparse.a ${destroot}${prefix}/lib
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061030/0ea8b986/attachment.html


More information about the macports-changes mailing list