# $Id$ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.8 5.10 5.12 5.14 5.16 perl5.setup ExtUtils-F77 1.17 license {Artistic-1 GPL} maintainers nomaintainer description Helper for linking C with Fortran subroutines long_description \ ExtUtils::F77 describes to the calling perl code how to link C programs \ with Fortran subroutines on the current system. platforms darwin checksums rmd160 6733b3e1da44a19c90454d02e6ac07d4e87ea97f \ sha256 b3919200443174ff348ed5567d461335e289fba047cb17432f31dea5a26cad3f if {${perl5.major} != ""} { supported_archs noarch platform darwin { set lib "" patchfiles-append patch-F77.pm.diff post-patch { reinplace "s|@@GCCLIB@@|${lib}|g" ${worksrcpath}/F77.pm reinplace "s|@@F77@@|${configure.f77}|g" ${worksrcpath}/F77.pm } } variant gcc43 conflicts gcc45 gcc46 gcc47 description {Build with GFortran 4.3} { configure.compiler macports-gcc-4.3 set lib ${prefix}/lib/gcc43 } variant gcc45 conflicts gcc43 gcc46 gcc47 description {Build with GFortran 4.5} { configure.compiler macports-gcc-4.5 set lib ${prefix}/lib/gcc45 } variant gcc46 conflicts gcc43 gcc45 gcc47 description {Build with GFortran 4.6} { configure.compiler macports-gcc-4.6 set lib ${prefix}/lib/gcc46 } variant gcc47 conflicts gcc43 gcc45 gcc46 description {Build with GFortran 4.7} { configure.compiler macports-gcc-4.7 set lib ${prefix}/lib/gcc47 } if {![variant_isset gcc43] && ![variant_isset gcc45] && ![variant_isset gcc46]} { default_variants +gcc47 } }