# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem 1.0

name                di
version             4.47.2
revision            0
categories          sysutils
platforms           darwin
maintainers         {mps @Schamschula} openmaintainer
license             zlib
description         disk information utility
long_description    di is a disk information utility, displaying everything \
                    (and more) than the classic df command does.

homepage            https://gentoo.com/di/
master_sites        sourceforge:project/diskinfo-di

checksums           rmd160  af220420c96f2b841573c4f01de63d37f6579331 \
                    sha256  2205b86f68e054dbe61806f288d94207eddadef7f71a0a27c553db0fc5bd27bd \
                    size    221092

depends_lib         port:gettext

use_configure       no

build.target
build.args          prefix=${prefix} CC="${configure.cc}" CFLAGS="${configure.cflags}"

destroot.args       prefix=${destroot}${prefix}

livecheck.type      regex
livecheck.url       https://sourceforge.net/projects/diskinfo-di/files/
livecheck.regex     ${name}-(\[0-9.\]+)\\.tar