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

name                facter
version             1.7.6
categories          sysutils
license             Apache-2 MIT
maintainers         nomaintainer
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://puppetlabs.com/facter
platforms           any

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

checksums           rmd160  0d14a90567c61d5b9377cc9280dd068f3e2b3359 \
                    sha256  43ce147cedb3e38692d29000c86d207e936d80739361af2a06e3c465fa3e1d89

depends_lib         port:ruby

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

livecheck.type      regex
livecheck.url       http://puppetlabs.com/misc/download-options
livecheck.regex     {The latest 1.x release is ([0-9.]+)}
