# -*- 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 PortGroup compilers 1.0 name flow version 3.0 revision 0 categories devel platforms darwin license Restrictive NoMirror maintainers {@kamischi web.de:karl-michael.schindler} openmaintainer homepage http://www.netlib.org/floppy/ master_sites ${homepage} distfiles ${name}3.tgz dist_subdir ${name}/${version} extract.mkdir yes description Fortran source code analyzer long_description \ The FLOW program takes the binary summary file produced by FLOPPY, and can \ produce various reports on the structure of the original FORTRAN program. checksums rmd160 7c496a8e3a6f14be360f85e97e025ebad1a8df28 \ sha256 45dd03359464b6a85754c88c30ab2b5578a9862f4eddc80e4a4f220bebfa1372 \ size 49364 post-patch { # set compiler and additional options reinplace -W ${worksrcpath} "s|f77|${configure.f77} -fdiagnostics-color=auto|g" makefile # fix typo l -> 1 reinplace -W ${worksrcpath} "s|floppy(l)|floppy(1)|g" flow.l } compilers.choose f77 compilers.setup require_fortran use_configure no build.target flow build.args -f makefile use_parallel_build no destroot { xinstall -m 0755 -W ${worksrcpath} flow \ ${destroot}${prefix}/bin xinstall -d ${destroot}${prefix}/share/man/man1 xinstall -m 0444 -W ${worksrcpath} flow.l \ ${destroot}${prefix}/share/man/man1/flow.1 xinstall -d ${destroot}${prefix}/share/doc/flow xinstall -m 0444 -W ${worksrcpath} copyright flow.ps readme \ ${destroot}${prefix}/share/doc/flow } livecheck.type none