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

name                maloc
version             1.5
revision            6
categories          devel math
maintainers         nomaintainer
platforms           darwin
license             GPL

description         MALOC, Minimal Abstraction Layer for Object-oriented C
long_description    MALOC (Minimal Abstraction Layer for Object-oriented \
                    C) is a small, portable, abstract C environment \
                    library for object-oriented C programming. MALOC is \
                    used as the foundation layer for a number of \
                    scientific applications, including MC, SG, and APBS. \
                    MALOC can be used as a small stand-alone abstraction \
                    environment for writing portable C programs which \
                    need access to resources which are typically \
                    architecture-dependent, such as INET sockets, timing \
                    routines, and so on. MALOC provides abstract \
                    datatypes, memory management routines, timing \
                    routines, machine epsilon, access to UNIX and INET \
                    sockets, MPI, and so on.
homepage            http://www.fetk.org/codes/maloc/index.html

master_sites        http://www.fetk.org/codes/download/
checksums           rmd160  23f51192a15c3b713d55091cee60c3653be84948 \
                    sha256  58e1197fcd4c74d3cbb1d39d712eb0a3c5886a1e6629f22c5c78ce2bac983fc0

worksrcdir          ${name}

patchfiles          patch-Makefile.in.diff \
                    patch-doc-doxygen-Makefile.in.diff \
                    patch-aaa_lib-Makefile.in.diff

depends_build       path:bin/doxygen:doxygen \
                    path:bin/dot:graphviz
license_noconflict  graphviz
depends_lib         port:ncurses \
                    port:readline

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     ${name}-(\[0-9.\]+)\\.tar\\.gz
