Skip to content
Browse files

Adding cxsparse so that it can provide sparse matrix functionality fo…

…r octave.

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Andre Stechert
Andre Stechert committed Oct 30, 2006
1 parent f062e3a commit 324be707c610f4080c6eefcb51bc83bd7066e30b
Showing with 36 additions and 0 deletions.
  1. +36 −0 math/cxsparse/Portfile
@@ -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
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.

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

0 comments on commit 324be70

Please sign in to comment.
You can’t perform that action at this time.