Ticket #50368: Portfile-whatcheck.diff

File Portfile-whatcheck.diff, 1.7 KB (added by dstrubbe (David Strubbe), 9 years ago)
  • Portfile

     
    22# $Id$
    33
    44PortSystem          1.0
     5PortGroup           compilers 1.0
    56
    67name                whatcheck
    78version             8.1
    89revision            1
    910categories          science
    10 maintainers         gmail.com:howarth.at.macports
     11# license conditions: http://swift.cmbi.ru.nl/gv/whatcheck/
     12license             Restrictive
     13maintainers         gmail.com:howarth.at.macports openmaintainer
    1114
    1215description         Protein verification tools from WhatIf
    1316long_description    ${description}
     
    3437use_bzip2           yes
    3538extract.only        whatcheck.tar.bz2
    3639
    37 variant gcc44 conflicts gcc45 gcc46 gcc47 description {Build with GCC 4.4} {}
    38 variant gcc45 conflicts gcc44 gcc46 gcc47 description {Build with GCC 4.5} {}
    39 variant gcc46 conflicts gcc44 gcc45 gcc47 description {Build with GCC 4.6} {}
    40 variant gcc47 conflicts gcc44 gcc45 gcc46 description {Build with GCC 4.7} {}
     40compilers.choose    f77
     41compilers.setup     require_fortran
    4142
    42 if {[variant_isset gcc44]} {
    43     configure.compiler  macports-gcc-4.4
    44 } elseif {[variant_isset gcc45]} {
    45     configure.compiler  macports-gcc-4.5
    46 } elseif {[variant_isset gcc46]} {
    47     configure.compiler  macports-gcc-4.6
    48 } else {
    49     default_variants    +gcc47
    50     configure.compiler  macports-gcc-4.7
    51 }
    52 
    5343post-extract {
    5444    system "cd ${worksrcpath} && rm -fr *.o dbdata/fonts/.svn"
    5545    system "cd ${worksrcpath} && rm -fr dssp && unzip ${distpath}/dsspcmbi.zip"
     
    9282
    9383livecheck.type      regex
    9484livecheck.url       ${homepage}WCHECK_misc.html
    95 livecheck.regex     {Version ([0-9.]+) \(stable\)}
     85livecheck.regex     {Version ([0-9.]+)}