Ignore:
Timestamp:
Feb 23, 2016, 11:37:00 PM (2 years ago)
Author:
dstrubbe@…
Message:

libctl: Use compilers portgroup for Fortran variants. Remove unnecessary use of autoreconf. Add livecheck.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/libctl/Portfile

    r129622 r145994  
    33
    44PortSystem          1.0
     5PortGroup           compilers 1.0
    56
    67name                libctl
     
    2829depends_lib         port:guile
    2930
    30 variant gcc45 conflicts gcc46 gcc47 gcc48 description {Compile with gcc 4.5} {
    31     configure.compiler  macports-gcc-4.5
    32 }
     31compilers.choose    f77
     32compilers.setup     require_fortran
    3333
    34 variant gcc46 conflicts gcc45 gcc47 gcc48 description {Compile with gcc 4.6} {
    35     configure.compiler  macports-gcc-4.6
    36 }
    37 
    38 variant gcc47 conflicts gcc45 gcc46 gcc48 description {Compile with gcc 4.7} {
    39     configure.compiler  macports-gcc-4.7
    40 }
    41 
    42 variant gcc48 conflicts gcc45 gcc46 gcc47 description {Compile with gcc 4.8} {
    43     configure.compiler  macports-gcc-4.8
    44 }
    45 
    46 if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
    47     default_variants +gcc48
    48 }
    49 
    50 use_autoreconf          yes
    51 autoreconf.args         -fvi
     34livecheck.type      regex
     35livecheck.url       ${homepage}
     36livecheck.regex     <b>${name} (\[0-9.\]+)</b> is the current version
Note: See TracChangeset for help on using the changeset viewer.