# -*- 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       makefile 1.0

name            f77_diagram
version         0.0.2
revision        1
categories      devel
platforms       darwin
license         GPL-2
maintainers     {@kamischi web.de:karl-michael.schindler} openmaintainer
homepage        http://www.deater.net/weave/vmwprod/${name}
master_sites    ${homepage}
checksums       rmd160  4424ace98a8e0d6026875d75ce42fc7cfc10a26a \
                sha256  0413c60a0c54d4ba228b7e5eb783f13960f76933f6774c569ef46dc6a4d401fc \
                size    17444

description     Fortran 77 flowcharting utility

long_description \
    f77_diagram will create a flow-chart of (hopefully) any F77 FORTRAN program.

patchfiles      Makefile.patch

makefile.override \
                CFLAGS LDFLAGS

destroot {
    xinstall -m 0755 -W ${worksrcpath} f77_diagram  \
        ${destroot}${prefix}/bin
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 0644 -W ${worksrcpath} BUGS CHANGES COPYING README \
        ${destroot}${prefix}/share/doc/${name}
    xinstall -d ${destroot}${prefix}/share/examples/${name}
    xinstall -m 0644 -W ${worksrcpath} if_test.f prime.f \
        ${destroot}${prefix}/share/examples/${name}
}
