# -*- 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 90305 2012-03-01 18:19:12Z raimue@macports.org $

PortSystem          1.0

name                facter
version             1.6.2
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     c61f59864e8291fd85b37f474b514a92 \
                    sha1    b6f92c7dba0a1f11b96b53fc3cd90ca7da5eb28c \
                    rmd160  0421d242bed8d6d75ba176bec3eb65d6786f0817

depends_lib         port:ruby

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