# -*- 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 58961 2009-10-07 20:50:08Z ryandesign@macports.org $

PortSystem          1.0

name                facter
version             1.5.7
categories          sysutils
maintainers         explanatorygap.net:nigel openmaintainer

description         A cross-platform library for describing OS attributes.

long_description    A cross-platform library for describing OS attributes. \
                    Supports multiple resolution mechanisms, any of which \
                    can  be restricted to working only on certain operating \
                    systems or environments. Facter is especially useful for \
                    retrieving things like operating system names, \
                    IP  addresses, MAC addresses, and SSH keys.
                    
homepage            http://reductivelabs.com/products/facter/
platforms           darwin

master_sites        http://reductivelabs.com/downloads/facter/

checksums           md5     21db7b613fe14a54e72ef062f3d5e190 \
                    sha1    d904d1d02341d12df5ae8183f5552bd7fab18be6 \
                    rmd160  98855a5129868a3d695c45daf80f8badaa90c566

depends_lib         port:ruby

use_configure       no
build               {}
test.run            no
destroot.cmd        ${prefix}/bin/ruby ${worksrcpath}/install.rb \
                    --destdir=${destroot}
