# -*- 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 71702 2010-09-20 22:23:51Z ryandesign@macports.org $

PortSystem          1.0

name                facter
version             1.5.8
categories          sysutils
maintainers         explanatorygap.net:nigel openmaintainer
supported_archs     noarch

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     4dd4daebc59fa985b8aa7eb247ac4030 \
                    sha1    056449d7cdbac4289de14e871da047c0fd081d96 \
                    rmd160  7b6405702980d1e9b19b47f46329ffab5660b3bd

depends_lib         port:ruby

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