[105685] trunk/dports/science
ryandesign at macports.org
ryandesign at macports.org
Wed May 1 16:21:02 PDT 2013
Revision: 105685
https://trac.macports.org/changeset/105685
Author: ryandesign at macports.org
Date: 2013-05-01 16:21:02 -0700 (Wed, 01 May 2013)
Log Message:
-----------
sparskit: new port, version 2 (#38977)
Added Paths:
-----------
trunk/dports/science/sparskit/
trunk/dports/science/sparskit/Portfile
Added: trunk/dports/science/sparskit/Portfile
===================================================================
--- trunk/dports/science/sparskit/Portfile (rev 0)
+++ trunk/dports/science/sparskit/Portfile 2013-05-01 23:21:02 UTC (rev 105685)
@@ -0,0 +1,56 @@
+# -*- 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 sparskit
+version 2
+categories science
+platforms darwin
+maintainers gmail.com:dstrubbe
+license LGPL-2.1+
+
+description A basic tool-kit for sparse matrix computations
+
+long_description A basic tool-kit for sparse matrix computations: programs \
+ for converting data structures, printing simple \
+ statistics on a matrix, plotting a matrix profile, \
+ performing basic linear algebra operations with sparse \
+ matrices and so on.
+
+homepage http://www-users.cs.umn.edu/~saad/software/SPARSKIT
+master_sites ${homepage}
+distname SPARSKIT${version}
+
+checksums rmd160 95554593896300d7823f40956a428e8e7c57bb78 \
+ sha1 702bb646024f62fafbd827aa29d4f8994a74b90a
+
+use_configure no
+
+pre-build {
+ build.args F77=${configure.f90} OPT="-c -O3"
+}
+
+use_parallel_build yes
+
+destroot {
+ xinstall ${worksrcpath}/libskit.a ${destroot}${prefix}/lib/
+}
+
+variant gcc46 conflicts gcc47 description {Build with GCC 4.6} {
+ configure.compiler macports-gcc-4.6
+ depends_lib-append port:gcc46
+}
+
+variant gcc47 conflicts gcc46 description {Build with GCC 4.7} {
+ configure.compiler macports-gcc-4.7
+ depends_lib-append port:gcc47
+}
+
+if {![variant_isset gcc46]} {
+ default_variants +gcc47
+}
+
+livecheck.type regex
+livecheck.url [lindex ${master_sites} 0]
+livecheck.regex SPARSKIT(\[0-9.\]+)${extract.suffix}
Property changes on: trunk/dports/science/sparskit/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130501/a77e815c/attachment.html>
More information about the macports-changes
mailing list