# -*- 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                maxwell
version             0.5.1
categories          sysutils
platforms           darwin
license             MIT
maintainers         nomaintainer

description         Mac OS X SMART disk monitoring/reporting tool
long_description    Maxwell is a disk monitoring and reporting tool \
                    for Mac OS X. It uses the IOKit SMART api to check \
                    your ATA disks for signs of possible future \
                    failure. It can run tests on demand, print a \
                    report of the disks performance, or simply report \
                    a passing/failing status.
homepage            http://maxwell.sourceforge.net

master_sites        sourceforge
checksums           md5 ce5c354b2fed4e237524ad0bc59997a3

patchfiles          patch-maxwell.8.diff

use_configure       no

build.args          CC=${configure.cc}
build.env           "CFLAGS=${configure.cflags} ${configure.cc_archflags}"

destroot.destdir    DESTDIR=${destroot} prefix=${prefix} \
                    mandir=${prefix}/share/man \
                    datadir=${prefix}/share/doc/${name}
