# -*- 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
# $Id: Portfile 90401 2012-03-04 20:24:46Z dports@macports.org $

PortSystem 1.0

name            ipmitool
version         1.8.11

categories      sysutils
license         BSD
maintainers     dports openmaintainer
description     Intelligent Platform Management Interface management utility
long_description \
  IPMItool is a utility for managing and configuring devices that \
  support the Intelligent Platform Management Interface (IPMI) version \
  1.5 and version 2.0 specifications. IPMI is an open standard for \
  monitoring, logging, recovery, inventory, and control of hardware that \
  is implemented independent of the main CPU, BIOS, and OS. The ipmitool \
  program provides a simple command-line interface to the Baseboard \
  Management Controller. It features the ability to read the sensor data \
  repository (SDR) and print sensor values, display the contents of the \
  System Event Log (SEL), print Field Replaceable Unit (FRU) inventory \
  information, read and set LAN configuration parameters, and perform \
  remote chassis power control.

platforms       darwin
homepage        http://ipmitool.sourceforge.net/
master_sites    sourceforge

depends_lib     port:openssl

checksums       sha1    4cb6ff3736fd3e166abc5303d6373672327a5db1 \
                rmd160  189b2232bcd148bc89c610dfae73c6f12f42fb36

# fix errors with clang
patchfiles      patch-fix-return-types.diff

configure.args  --mandir=${prefix}/share/man
