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

github.setup	    cavaliercoder dmidecode-osx 3.1 v
name                dmidecode

platforms           darwin
categories          sysutils
supported_archs     x86_64
license             GPL-2+

maintainers         {gmail.com:ndiscreet @chicagotripp} \
                    openmaintainer

description         Tool for dumping DMI (SMBIOS) contents in human-readable format.

long_description    dmidecode reports information about your system's hardware as described in your \
    system BIOS according to the SMBIOS/DMI standard. This information typically \
    includes system manufacturer, model name, serial number, BIOS version, asset tag \
    as well as a lot of other details of varying level of interest and reliability \
    depending on the manufacturer. This will often include usage status for the CPU \
    sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the \
    list of I/O ports (e.g. serial, parallel, USB).

homepage            http://www.nongnu.org/dmidecode

checksums           rmd160  cd2a93bf6b2bcb538e53c83cb1c33cd80d14e6ed \
                    sha256  e9a36b2eac6556a044e3aa8fbb47aebfa1637a0a01de16a5a02534081db746cd

patchfiles          patch-Makefile.diff

post-patch {
    reinplace "s|@@COMPILER@@|${configure.cc}|g" ${worksrcpath}/Makefile
}

use_configure       no

destroot.destdir    prefix=${destroot}${prefix}
