[34645] trunk/dports/math/fftw-3/Portfile

takeshi at macports.org takeshi at macports.org
Sat Mar 1 02:56:26 PST 2008


Revision: 34645
          http://trac.macosforge.org/projects/macports/changeset/34645
Author:   takeshi at macports.org
Date:     2008-03-01 02:56:25 -0800 (Sat, 01 Mar 2008)

Log Message:
-----------
test outside build and livecheck contributed by ram at macports.org

Modified Paths:
--------------
    trunk/dports/math/fftw-3/Portfile

Modified: trunk/dports/math/fftw-3/Portfile
===================================================================
--- trunk/dports/math/fftw-3/Portfile	2008-03-01 10:06:29 UTC (rev 34644)
+++ trunk/dports/math/fftw-3/Portfile	2008-03-01 10:56:25 UTC (rev 34645)
@@ -4,7 +4,7 @@
 
 name            fftw-3
 version         3.1.2
-revision        2
+revision        3
 categories      math
 platforms       darwin
 maintainers     takeshi at macports.org
@@ -50,9 +50,8 @@
 
 configure.cflags-append -fno-common
 
-post-build {
-	system "cd ${worksrcpath} && make check"
-}
+test.run     yes
+test.target  check
 
 variant fortran description {uses gfortran} conflicts g95 {
 	depends_lib-append    port:gcc42
@@ -67,3 +66,7 @@
 	configure.args-delete --disable-fortran
 	configure.args-append --enable-fortran
 }
+
+livecheck.check regex
+livecheck.url   ${homepage}
+livecheck.regex {FFTW ([0-9]+\.[0-9]+\.[0-9]+) is the latest}

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


More information about the macports-changes mailing list