[141428] trunk/dports/math

nicos at macports.org nicos at macports.org
Sat Dec 12 01:29:25 PST 2015


Revision: 141428
          https://trac.macports.org/changeset/141428
Author:   nicos at macports.org
Date:     2015-10-18 07:01:59 -0700 (Sun, 18 Oct 2015)
Log Message:
-----------
OpenBLAS: move *-devel port as a subport
correct installed files
*-devel: update to latest commit

Modified Paths:
--------------
    trunk/dports/math/OpenBLAS/Portfile

Removed Paths:
-------------
    trunk/dports/math/OpenBLAS-devel/

Modified: trunk/dports/math/OpenBLAS/Portfile
===================================================================
--- trunk/dports/math/OpenBLAS/Portfile	2015-10-18 08:20:27 UTC (rev 141427)
+++ trunk/dports/math/OpenBLAS/Portfile	2015-10-18 14:01:59 UTC (rev 141428)
@@ -5,10 +5,7 @@
 PortGroup           github 1.0
 PortGroup           muniversal 1.0
 
-github.setup        xianyi OpenBLAS 0.2.14 v
-revision            2
-
-conflicts           OpenBLAS-devel
+name                OpenBLAS
 categories          math science
 license             BSD
 maintainers         nicos openmaintainer
@@ -21,12 +18,27 @@
 archive_sites
 
 patchfiles          patch-libnoarch.diff \
-                    patch-linkLib.diff \
-                    patch-broadwell.diff \
-                    patch-deployTarget.diff
+                    patch-linkLib.diff
 
-checksums           rmd160  b8a5bbcdf1816a061e45aa086a9caa8540a45f6d \
+subport OpenBLAS-devel {}
+if {[string first "-devel" $subport] > 0} {
+    github.setup    xianyi OpenBLAS 3684706a121f
+    name            ${github.project}-devel
+    version         20151008
+    conflicts       OpenBLAS
+
+    fetch.type      git
+    livecheck.url   ${github.homepage}/commits/develop.atom
+} else {
+    github.setup    xianyi OpenBLAS 0.2.14 v
+    revision        3
+    conflicts       OpenBLAS-devel
+
+    checksums       rmd160  b8a5bbcdf1816a061e45aa086a9caa8540a45f6d \
                     sha256  aba5088534719cefd77e4155c281c56a3accd3eea218574c2c3d236952bb632b
+    patchfiles-append     patch-broadwell.diff \
+                          patch-deployTarget.diff
+}
 
 variant gcc45 conflicts gcc46 gcc47 gcc48 gcc49 clang \
     description "Use Gcc45 as compiler" { 
@@ -164,7 +176,7 @@
     system "install_name_tool -id \
         ${prefix}/lib/libopenblas-r${version}.dylib \
         ${destroot}${prefix}/lib/libopenblas-r${version}.dylib"
-    file delete ${destroot}/${prefix}/cmake/OpenBLASConfig.cmake
+    delete file ${destroot}/${prefix}/lib/cmake
     if {[variant_isset lapack]} {
         #Install lapacke headers too
         xinstall -m 755 ${worksrcpath}/lapack-netlib/lapacke/include/lapacke_config.h \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/7275b951/attachment.html>


More information about the macports-changes mailing list