# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name libf2c version 20140711 revision 0 checksums rmd160 75e52410ad5d14abf8c4cd3a6b57301c872a1c94 \ sha256 ca404070e9ce0a9aaa6a71fc7d5489d014ade952c5d6de7efb88de8e24f2e8e0 \ size 129107 categories lang maintainers {ryandesign @ryandesign} openmaintainer description library to which you must link code you have converted from Fortran to C using f2c long_description ${name} is the ${description}. homepage https://netlib.org/f2c/ master_sites ${homepage} dist_subdir ${name}/${version} distname ${name} use_zip yes extract.mkdir yes patchfiles patch-makefile.u.diff use_configure no variant universal {} build.args -f makefile.u \ CC="${configure.cc} [get_canonical_archflags cc]" \ CFLAGS="${configure.cflags}" pre-build { system -W ${worksrcpath} "${build.cmd} [join ${build.args}] hadd" } destroot.args [join ${build.args}] destroot.destdir LIBDIR=${destroot}${prefix}/lib post-destroot { xinstall -m 0644 ${worksrcpath}/f2c.h ${destroot}${prefix}/include set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 ${worksrcpath}/Notice ${destroot}${docdir} } livecheck.type moddate livecheck.url [lindex ${master_sites} 0]${distfiles}