[145075] trunk/dports/science/whatcheck/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Mon Jan 25 08:05:19 PST 2016


Revision: 145075
          https://trac.macports.org/changeset/145075
Author:   dstrubbe at macports.org
Date:     2016-01-25 08:05:19 -0800 (Mon, 25 Jan 2016)
Log Message:
-----------
whatcheck: Use compilers portgroup for Fortran variants. Give some info on license. Fix livecheck. Add openmaintainer since maintainer is not a committer. (Maintainer timeout, #50368)

Modified Paths:
--------------
    trunk/dports/science/whatcheck/Portfile

Modified: trunk/dports/science/whatcheck/Portfile
===================================================================
--- trunk/dports/science/whatcheck/Portfile	2016-01-25 16:02:22 UTC (rev 145074)
+++ trunk/dports/science/whatcheck/Portfile	2016-01-25 16:05:19 UTC (rev 145075)
@@ -2,12 +2,15 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           compilers 1.0
 
 name                whatcheck
 version             8.1
 revision            1
 categories          science
-maintainers         gmail.com:howarth.at.macports
+# license conditions: http://swift.cmbi.ru.nl/gv/whatcheck/
+license             Restrictive
+maintainers         gmail.com:howarth.at.macports openmaintainer
 
 description         Protein verification tools from WhatIf
 long_description    ${description}
@@ -34,22 +37,9 @@
 use_bzip2           yes
 extract.only        whatcheck.tar.bz2
 
-variant gcc44 conflicts gcc45 gcc46 gcc47 description {Build with GCC 4.4} {}
-variant gcc45 conflicts gcc44 gcc46 gcc47 description {Build with GCC 4.5} {}
-variant gcc46 conflicts gcc44 gcc45 gcc47 description {Build with GCC 4.6} {}
-variant gcc47 conflicts gcc44 gcc45 gcc46 description {Build with GCC 4.7} {}
+compilers.choose    f77
+compilers.setup     require_fortran
 
-if {[variant_isset gcc44]} {
-    configure.compiler  macports-gcc-4.4
-} elseif {[variant_isset gcc45]} {
-    configure.compiler  macports-gcc-4.5
-} elseif {[variant_isset gcc46]} {
-    configure.compiler  macports-gcc-4.6
-} else {
-    default_variants    +gcc47
-    configure.compiler  macports-gcc-4.7
-}
-
 post-extract {
     system "cd ${worksrcpath} && rm -fr *.o dbdata/fonts/.svn"
     system "cd ${worksrcpath} && rm -fr dssp && unzip ${distpath}/dsspcmbi.zip"
@@ -92,4 +82,4 @@
 
 livecheck.type      regex
 livecheck.url       ${homepage}WCHECK_misc.html
-livecheck.regex     {Version ([0-9.]+) \(stable\)}
+livecheck.regex     {Version ([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160125/71aa8856/attachment.html>


More information about the macports-changes mailing list