# -*- 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 # $Id$ PortSystem 1.0 name libf2c version 20130913 categories lang platforms darwin maintainers 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 http://www.netlib.org/f2c/ master_sites ${homepage} dist_subdir ${name}/${version} distname ${name} use_zip yes checksums rmd160 ccd16eefd29dc6c32df0a2ff87bf0d7cec58eb0c \ sha256 5dff29c58b428fa00cd36b1220e2d71b9882a658fdec1aa094fb7e6e482d6765 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 644 ${worksrcpath}/f2c.h ${destroot}${prefix}/include } livecheck.type moddate livecheck.url [lindex ${master_sites} 0]${distfiles}